Share via


VisibleWhitespace Property

Home Page (Objects)OverviewFAQReference

Applies to: TextEditor object

Gets or sets the visibility of tabs and spaces in all open text documents.

Syntax

object**.VisibleWhitespace** [=boolean]

Parameters

object

An expression that evaluates to an TextEditor object.

boolean

A Boolean that sets the visibility of tabs and spaces. Possible values are:

  • True   Makes tabs and spaces visible.

  • False   Makes tabs and spaces invisible.

Remarks

The VisibleWhitespace property has the Boolean type.

Example

The following example makes tabs and spaces visible in all open text documents:

TextEditor.VisibleWhitespace = True

See Also   IndentSize property, Tabify method, TabSize property, Untabify method.