Collapse All Expand All Code: All Code: Multiple Code: C# Code: Visual Basic

C#
Visual Basic

Azuki 1.7 Documentation
IUserInterface..::..UsesStickyCaret Property
IUserInterface Interface See Also Send Feedback

Gets or sets whether caret behavior is 'sticky' or not.

Namespace: Sgry.Azuki
Assembly: Azuki (in Azuki.dll) Version: 1.7.13.40248

# Syntax

C#
    bool UsesStickyCaret { get; set; }

Visual Basic
    Property UsesStickyCaret As Boolean
    	Get
    	Set

#### Property Value

Type: Boolean

# Remarks

This property determines whether the caret behaves 'sticky' or not.

Sticky caret tries to keep its desired column position unless user explicitly changes it (by hitting right or left key, for instance.) Non-sticky caret updates 'desired column position' everytime you type so moving up or down the caret never changes column position of the caret. On the other hand, sticky caret does not update desired column position by typing text (because user does not 'explicitly' changed it,) so moving up or down the caret restores the column position of it to the place where you start typing text.

# See Also

IUserInterface Interface
IUserInterface..::..IUserInterface Members
Sgry.Azuki Namespace