AvalonEdit
Create Method (textArea, segment)
NamespacesICSharpCode.AvalonEdit.EditingSelectionCreate(TextArea, ISegment)
Creates a new simple selection that selects the text in the specified segment.
Declaration Syntax
C#Visual BasicVisual C++
public static Selection Create(
	TextArea textArea,
	ISegment segment
)
Public Shared Function Create ( _
	textArea As TextArea, _
	segment As ISegment _
) As Selection
public:
static Selection^ Create(
	TextArea^ textArea, 
	ISegment^ segment
)
Parameters
textArea (TextArea)
segment (ISegment)

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