AvalonEdit
SnippetCaretElement Constructor (setCaretOnlyIfTextIsSelected)
NamespacesICSharpCode.AvalonEdit.SnippetsSnippetCaretElementSnippetCaretElement(Boolean)
Creates a new SnippetCaretElement.
Declaration Syntax
C#Visual BasicVisual C++
public SnippetCaretElement(
	bool setCaretOnlyIfTextIsSelected
)
Public Sub New ( _
	setCaretOnlyIfTextIsSelected As Boolean _
)
public:
SnippetCaretElement(
	bool setCaretOnlyIfTextIsSelected
)
Parameters
setCaretOnlyIfTextIsSelected (Boolean)
If set to true, the caret is set only when some text was selected. This is useful when both SnippetCaretElement and SnippetSelectionElement are used in the same snippet.

Assembly: ICSharpCode.AvalonEdit (Module: ICSharpCode.AvalonEdit.dll) Version: 5.0.0.4238