Constructor CodeSnippetRange
- Namespace
- Alternet.Editor.TextSource
- Assembly
- Alternet.Editor.v9.dll
CodeSnippetRange(Point, Point)
Initializes a new instance of the CodeSnippetRange
class with specified parameters.
public CodeSnippetRange(Point start, Point end)
Parameters
CodeSnippetRange(Point, Point, string, string, bool)
Initializes a new instance of the SnippetRange
class with specified parameter.
public CodeSnippetRange(Point start, Point end, string id, string tooltip, bool isEditable)
Parameters
start
PointSpecifies start position of the code snippet.
end
PointSpecifies end position of the code snippet.
id
stringSpecifies id of the code snippet.
tooltip
stringSpecifies short description of the code snippet.
isEditable
boolSpecifies whether code snippet can be edited.
CodeSnippetRange(Point, Point, string, string, bool, bool)
Initializes a new instance of the SnippetRange
class with specified parameter.
public CodeSnippetRange(Point start, Point end, string id, string tooltip, bool isEditable, bool supportsCode)
Parameters
start
PointSpecifies start position of the code snippet.
end
PointSpecifies end position of the code snippet.
id
stringSpecifies id of the code snippet.
tooltip
stringSpecifies short description of the code snippet.
isEditable
boolSpecifies whether code snippet can be edited.
supportsCode
boolSpecifies whether code snippet supports code.
CodeSnippetRange(Point, Point, string, string, bool, bool, bool)
Initializes a new instance of the SnippetRange
class with specified parameter.
public CodeSnippetRange(Point start, Point end, string id, string tooltip, bool isEditable, bool supportsCode, bool visible)
Parameters
start
PointSpecifies start position of the code snippet.
end
PointSpecifies end position of the code snippet.
id
stringSpecifies id of the code snippet.
tooltip
stringSpecifies short description of the code snippet.
isEditable
boolSpecifies whether code snippet can be edited.
supportsCode
boolSpecifies whether code snippet supports code.
visible
boolSpecifies whether code snippet should be highlighted.