Свойство | Тип | Описание | |
---|---|---|---|
HeightTree | Mono.TextEditor.HeightTree |
Метод | Описание | |
---|---|---|
AddTooltipProvider ( Mono.TextEditor.TooltipProvider provider ) : void | ||
CanEdit ( int line ) : bool | ||
CenterTo ( Mono.TextEditor.DocumentLocation p ) : void | ||
CenterTo ( int offset ) : void | ||
CenterTo ( int line, int column ) : void | ||
CenterToCaret ( ) : void | ||
ClearSelection ( ) : void | ||
ClearTooltipProviders ( ) : void | ||
CreateImmutable ( string input, bool suppressHighlighting = true ) : |
Creates the a text editor data object which document can't be changed. This is useful for 'view' only documents. The Document itself is very fast because it uses a special case buffer and line splitter implementation. Additionally highlighting is turned off as default. |
|
DeleteSelectedText ( ) : void | ||
DeleteSelectedText ( bool clearSelection ) : void | ||
Dispose ( ) : void | ||
EnsureCaretIsNotVirtual ( ) : int |
Ensures the caret is not in a virtual position by adding whitespaces up to caret position. That method should always be called in an undo group.
|
|
ExtendSelectionTo ( Mono.TextEditor.DocumentLocation location ) : void | ||
ExtendSelectionTo ( int offset ) : void | ||
FindCurrentWordEnd ( int offset ) : int | ||
FindCurrentWordStart ( int offset ) : int | ||
FindNext ( bool setSelection ) : SearchResult | ||
FindNextSubwordOffset ( int offset ) : int | ||
FindNextWordOffset ( int offset ) : int | ||
FindPrevSubwordOffset ( int offset ) : int | ||
FindPrevWordOffset ( int offset ) : int | ||
FindPrevious ( bool setSelection ) : SearchResult | ||
FixVirtualIndentation ( ) : void |
Removes the indent on the caret line, if the indent mode is set to virtual and the indent matches the current virtual indent in that line.
|
|
FixVirtualIndentation ( int lineNumber ) : void | ||
FormatString ( Mono.TextEditor.DocumentLocation loc, string str ) : string | ||
FormatString ( int offset, string str ) : string | ||
GetCharAt ( Mono.TextEditor.DocumentLocation location ) : char | ||
GetCharAt ( int offset ) : char | ||
GetCharAt ( int line, int column ) : char | ||
GetChunks ( Mono.TextEditor.DocumentLine line, int offset, int length ) : IEnumerable |
||
GetIndentationString ( Mono.TextEditor.DocumentLocation loc ) : string | ||
GetIndentationString ( int offset ) : string | ||
GetIndentationString ( int lineNumber, int column ) : string | ||
GetLine ( int lineNumber ) : Mono.TextEditor.DocumentLine | ||
GetLineByOffset ( int offset ) : Mono.TextEditor.DocumentLine | ||
GetLineHeight ( Mono.TextEditor.DocumentLine line ) : double | ||
GetLineHeight ( int line ) : double | ||
GetLineIndent ( Mono.TextEditor.DocumentLine segment ) : string | ||
GetLineIndent ( int lineNumber ) : string | ||
GetLineText ( int line ) : string | ||
GetLineText ( int line, bool includeDelimiter ) : string | ||
GetMarkup ( int offset, int length, bool removeIndent, bool useColors = true, bool replaceTabs = true ) : string | ||
GetMatchAt ( int offset ) : SearchResult | ||
GetTextAt ( DocumentRegion region ) : string | ||
GetTextAt ( TextSegment segment ) : string | ||
GetTextAt ( int offset, int count ) : string | ||
GetTextBetween ( Mono.TextEditor.DocumentLocation start, Mono.TextEditor.DocumentLocation end ) : string | ||
GetTextBetween ( int startOffset, int endOffset ) : string | ||
GetTextBetween ( int startLine, int startColumn, int endLine, int endColumn ) : string | ||
GetVirtualIndentationColumn ( Mono.TextEditor.DocumentLocation loc ) : int | ||
GetVirtualIndentationColumn ( int offset ) : int | ||
GetVirtualIndentationColumn ( int lineNumber, int column ) : int | ||
Insert ( int offset, string value ) : int | ||
InsertAtCaret ( string text ) : void | ||
IsMatchAt ( int offset ) : bool | ||
LocationToOffset ( Mono.TextEditor.DocumentLocation location ) : int | ||
LocationToOffset ( int line, int column ) : int | ||
LogicalToVisualLine ( int logicalLine ) : int | ||
LogicalToVisualLocation ( Mono.TextEditor.DocumentLocation location ) : Mono.TextEditor.DocumentLocation | ||
LogicalToVisualLocation ( int line, int column ) : Mono.TextEditor.DocumentLocation | ||
OffsetToLineNumber ( int offset ) : int | ||
OffsetToLocation ( int offset ) : Mono.TextEditor.DocumentLocation | ||
OpenStream ( ) : Stream | ||
OpenUndoGroup ( ) : IDisposable | ||
OpenUndoGroup ( OperationType operationType ) : IDisposable | ||
PasteText ( int offset, string text, byte copyData, IDisposable &undoGroup ) : int | ||
RaiseUpdateAdjustmentsRequested ( ) : void | ||
Remove ( DocumentRegion region ) : void | ||
Remove ( TextSegment removeSegment ) : void | ||
Remove ( int offset, int count ) : void | ||
RemoveTooltipProvider ( Mono.TextEditor.TooltipProvider provider ) : void | ||
Replace ( int offset, int count, string value ) : int | ||
RequestRecenter ( ) : void | ||
ScrollTo ( Mono.TextEditor.DocumentLocation loc ) : void | ||
ScrollTo ( int offset ) : void | ||
ScrollTo ( int line, int column ) : void | ||
ScrollToCaret ( ) : void | ||
SearchBackward ( int fromOffset ) : SearchResult | ||
SearchForward ( int fromOffset ) : SearchResult | ||
SearchReplace ( string withPattern, bool setSelection ) : bool | ||
SearchReplaceAll ( string withPattern ) : int | ||
SetCaretTo ( int line, int column ) : void | ||
SetCaretTo ( int line, int column, bool highlight ) : void | ||
SetCaretTo ( int line, int column, bool highlight, bool centerCaret ) : void | ||
SetSelectLines ( int from, int to ) : void | ||
SetSelection ( Mono.TextEditor.DocumentLocation anchor, Mono.TextEditor.DocumentLocation lead ) : void | ||
SetSelection ( int anchorOffset, int leadOffset ) : void | ||
SetSelection ( int anchorLine, int anchorColumn, int leadLine, int leadColumn ) : void | ||
SetSkipChar ( int offset, char ch ) : void | ||
TextEditorData ( ) : System | ||
TextEditorData ( |
||
VisualToLogicalLine ( int visualLineNumber ) : int |
Метод | Описание | |
---|---|---|
OnSearchChanged ( |
||
OnSelectionChanged ( |
||
OnSelectionChanging ( |
||
OnUpdateAdjustmentsRequested ( |
Метод | Описание | |
---|---|---|
CaretPositionChanged ( object sender, Mono.TextEditor.DocumentLocationEventArgs args ) : void | ||
ConvertToPangoMarkup ( string str, bool replaceTabs = true ) : string | ||
DeleteSelection ( Selection selection ) : void | ||
DetachDocument ( ) : void | ||
DocumentHandleRedone ( object sender, |
||
DocumentHandleUndone ( object sender, |
||
EnsureIsNotVirtual ( Mono.TextEditor.DocumentLocation loc ) : int | ||
EnsureIsNotVirtual ( int line, int column ) : int | ||
HandleDocLineChanged ( object sender, Mono.TextEditor.LineEventArgs e ) : void | ||
HandleDocTextSet ( object sender, |
||
HandleFoldTreeUpdated ( object sender, |
||
HandleTextEditorDataDocumentFolded ( object sender, Mono.TextEditor.FoldSegmentEventArgs e ) : void | ||
HandleTextReplaced ( object sender, Mono.TextEditor.DocumentChangeEventArgs e ) : void | ||
OnBeginUndo ( object sender, |
||
OnEndUndo ( object sender, |
public AddTooltipProvider ( Mono.TextEditor.TooltipProvider provider ) : void | ||
provider | Mono.TextEditor.TooltipProvider | |
Результат | void |
public CenterTo ( Mono.TextEditor.DocumentLocation p ) : void | ||
p | Mono.TextEditor.DocumentLocation | |
Результат | void |
public CenterTo ( int line, int column ) : void | ||
line | int | |
column | int | |
Результат | void |
public static CreateImmutable ( string input, bool suppressHighlighting = true ) : |
||
input | string | |
suppressHighlighting | bool | |
Результат |
public DeleteSelectedText ( bool clearSelection ) : void | ||
clearSelection | bool | |
Результат | void |
public ExtendSelectionTo ( Mono.TextEditor.DocumentLocation location ) : void | ||
location | Mono.TextEditor.DocumentLocation | |
Результат | void |
public ExtendSelectionTo ( int offset ) : void | ||
offset | int | |
Результат | void |
public FindCurrentWordEnd ( int offset ) : int | ||
offset | int | |
Результат | int |
public FindCurrentWordStart ( int offset ) : int | ||
offset | int | |
Результат | int |
public FindNext ( bool setSelection ) : SearchResult | ||
setSelection | bool | |
Результат | SearchResult |
public FindNextSubwordOffset ( int offset ) : int | ||
offset | int | |
Результат | int |
public FindNextWordOffset ( int offset ) : int | ||
offset | int | |
Результат | int |
public FindPrevSubwordOffset ( int offset ) : int | ||
offset | int | |
Результат | int |
public FindPrevWordOffset ( int offset ) : int | ||
offset | int | |
Результат | int |
public FindPrevious ( bool setSelection ) : SearchResult | ||
setSelection | bool | |
Результат | SearchResult |
public FixVirtualIndentation ( int lineNumber ) : void | ||
lineNumber | int | |
Результат | void |
public FormatString ( Mono.TextEditor.DocumentLocation loc, string str ) : string | ||
loc | Mono.TextEditor.DocumentLocation | |
str | string | |
Результат | string |
public FormatString ( int offset, string str ) : string | ||
offset | int | |
str | string | |
Результат | string |
public GetCharAt ( Mono.TextEditor.DocumentLocation location ) : char | ||
location | Mono.TextEditor.DocumentLocation | |
Результат | char |
public GetCharAt ( int line, int column ) : char | ||
line | int | |
column | int | |
Результат | char |
public GetChunks ( Mono.TextEditor.DocumentLine line, int offset, int length ) : IEnumerable |
||
line | Mono.TextEditor.DocumentLine | |
offset | int | |
length | int | |
Результат | IEnumerable |
public GetIndentationString ( Mono.TextEditor.DocumentLocation loc ) : string | ||
loc | Mono.TextEditor.DocumentLocation | |
Результат | string |
public GetIndentationString ( int offset ) : string | ||
offset | int | |
Результат | string |
public GetIndentationString ( int lineNumber, int column ) : string | ||
lineNumber | int | |
column | int | |
Результат | string |
public GetLine ( int lineNumber ) : Mono.TextEditor.DocumentLine | ||
lineNumber | int | |
Результат | Mono.TextEditor.DocumentLine |
public GetLineByOffset ( int offset ) : Mono.TextEditor.DocumentLine | ||
offset | int | |
Результат | Mono.TextEditor.DocumentLine |
public GetLineHeight ( Mono.TextEditor.DocumentLine line ) : double | ||
line | Mono.TextEditor.DocumentLine | |
Результат | double |
public GetLineHeight ( int line ) : double | ||
line | int | |
Результат | double |
public GetLineIndent ( Mono.TextEditor.DocumentLine segment ) : string | ||
segment | Mono.TextEditor.DocumentLine | |
Результат | string |
public GetLineIndent ( int lineNumber ) : string | ||
lineNumber | int | |
Результат | string |
public GetLineText ( int line, bool includeDelimiter ) : string | ||
line | int | |
includeDelimiter | bool | |
Результат | string |
public GetMarkup ( int offset, int length, bool removeIndent, bool useColors = true, bool replaceTabs = true ) : string | ||
offset | int | |
length | int | |
removeIndent | bool | |
useColors | bool | |
replaceTabs | bool | |
Результат | string |
public GetMatchAt ( int offset ) : SearchResult | ||
offset | int | |
Результат | SearchResult |
public GetTextAt ( DocumentRegion region ) : string | ||
region | DocumentRegion | |
Результат | string |
public GetTextAt ( TextSegment segment ) : string | ||
segment | TextSegment | |
Результат | string |
public GetTextAt ( int offset, int count ) : string | ||
offset | int | |
count | int | |
Результат | string |
public GetTextBetween ( Mono.TextEditor.DocumentLocation start, Mono.TextEditor.DocumentLocation end ) : string | ||
start | Mono.TextEditor.DocumentLocation | |
end | Mono.TextEditor.DocumentLocation | |
Результат | string |
public GetTextBetween ( int startOffset, int endOffset ) : string | ||
startOffset | int | |
endOffset | int | |
Результат | string |
public GetTextBetween ( int startLine, int startColumn, int endLine, int endColumn ) : string | ||
startLine | int | |
startColumn | int | |
endLine | int | |
endColumn | int | |
Результат | string |
public GetVirtualIndentationColumn ( Mono.TextEditor.DocumentLocation loc ) : int | ||
loc | Mono.TextEditor.DocumentLocation | |
Результат | int |
public GetVirtualIndentationColumn ( int offset ) : int | ||
offset | int | |
Результат | int |
public GetVirtualIndentationColumn ( int lineNumber, int column ) : int | ||
lineNumber | int | |
column | int | |
Результат | int |
public Insert ( int offset, string value ) : int | ||
offset | int | |
value | string | |
Результат | int |
public InsertAtCaret ( string text ) : void | ||
text | string | |
Результат | void |
public LocationToOffset ( Mono.TextEditor.DocumentLocation location ) : int | ||
location | Mono.TextEditor.DocumentLocation | |
Результат | int |
public LocationToOffset ( int line, int column ) : int | ||
line | int | |
column | int | |
Результат | int |
public LogicalToVisualLine ( int logicalLine ) : int | ||
logicalLine | int | |
Результат | int |
public LogicalToVisualLocation ( Mono.TextEditor.DocumentLocation location ) : Mono.TextEditor.DocumentLocation | ||
location | Mono.TextEditor.DocumentLocation | |
Результат | Mono.TextEditor.DocumentLocation |
public LogicalToVisualLocation ( int line, int column ) : Mono.TextEditor.DocumentLocation | ||
line | int | |
column | int | |
Результат | Mono.TextEditor.DocumentLocation |
public OffsetToLineNumber ( int offset ) : int | ||
offset | int | |
Результат | int |
public OffsetToLocation ( int offset ) : Mono.TextEditor.DocumentLocation | ||
offset | int | |
Результат | Mono.TextEditor.DocumentLocation |
protected OnSearchChanged ( |
||
args | ||
Результат | void |
protected OnSelectionChanged ( |
||
args | ||
Результат | void |
protected OnSelectionChanging ( |
||
e | ||
Результат | void |
protected OnUpdateAdjustmentsRequested ( |
||
e | ||
Результат | void |
public OpenUndoGroup ( OperationType operationType ) : IDisposable | ||
operationType | OperationType | |
Результат | IDisposable |
public PasteText ( int offset, string text, byte copyData, IDisposable &undoGroup ) : int | ||
offset | int | |
text | string | |
copyData | byte | |
undoGroup | IDisposable | |
Результат | int |
public RaiseUpdateAdjustmentsRequested ( ) : void | ||
Результат | void |
public Remove ( DocumentRegion region ) : void | ||
region | DocumentRegion | |
Результат | void |
public Remove ( TextSegment removeSegment ) : void | ||
removeSegment | TextSegment | |
Результат | void |
public Remove ( int offset, int count ) : void | ||
offset | int | |
count | int | |
Результат | void |
public RemoveTooltipProvider ( Mono.TextEditor.TooltipProvider provider ) : void | ||
provider | Mono.TextEditor.TooltipProvider | |
Результат | void |
public Replace ( int offset, int count, string value ) : int | ||
offset | int | |
count | int | |
value | string | |
Результат | int |
public ScrollTo ( Mono.TextEditor.DocumentLocation loc ) : void | ||
loc | Mono.TextEditor.DocumentLocation | |
Результат | void |
public ScrollTo ( int line, int column ) : void | ||
line | int | |
column | int | |
Результат | void |
public SearchBackward ( int fromOffset ) : SearchResult | ||
fromOffset | int | |
Результат | SearchResult |
public SearchForward ( int fromOffset ) : SearchResult | ||
fromOffset | int | |
Результат | SearchResult |
public SearchReplace ( string withPattern, bool setSelection ) : bool | ||
withPattern | string | |
setSelection | bool | |
Результат | bool |
public SearchReplaceAll ( string withPattern ) : int | ||
withPattern | string | |
Результат | int |
public SetCaretTo ( int line, int column ) : void | ||
line | int | |
column | int | |
Результат | void |
public SetCaretTo ( int line, int column, bool highlight ) : void | ||
line | int | |
column | int | |
highlight | bool | |
Результат | void |
public SetCaretTo ( int line, int column, bool highlight, bool centerCaret ) : void | ||
line | int | |
column | int | |
highlight | bool | |
centerCaret | bool | |
Результат | void |
public SetSelectLines ( int from, int to ) : void | ||
from | int | |
to | int | |
Результат | void |
public SetSelection ( Mono.TextEditor.DocumentLocation anchor, Mono.TextEditor.DocumentLocation lead ) : void | ||
anchor | Mono.TextEditor.DocumentLocation | |
lead | Mono.TextEditor.DocumentLocation | |
Результат | void |
public SetSelection ( int anchorOffset, int leadOffset ) : void | ||
anchorOffset | int | |
leadOffset | int | |
Результат | void |
public SetSelection ( int anchorLine, int anchorColumn, int leadLine, int leadColumn ) : void | ||
anchorLine | int | |
anchorColumn | int | |
leadLine | int | |
leadColumn | int | |
Результат | void |
public SetSkipChar ( int offset, char ch ) : void | ||
offset | int | |
ch | char | |
Результат | void |
public TextEditorData ( |
||
doc | ||
Результат | System |
public VisualToLogicalLine ( int visualLineNumber ) : int | ||
visualLineNumber | int | |
Результат | int |