Version

IsSignificantForIndent Method

Indicates whether the specified token is significant to the indenting logic.
Syntax
'Declaration
 
Function IsSignificantForIndent( _
   ByVal token As Token _
) As Nullable(Of Boolean)
Nullable<bool> IsSignificantForIndent( 
   Token token
)

Parameters

token
The token to check for significance.

Return Value

True if the token is significant to the indenting logic; False if the token is insignificant; Null to use the default logic.
Remarks

This will get called when edits are made to the last token on a line. If True is returned, it will cause CalculateLineIndent to be called. False will prevent the call and null will indicate that the default significance checking logic should be used.

Requirements

Target Platforms: Windows 10, Windows 8.1, Windows 8, Windows 7, Windows Server 2012, Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

See Also