Method | Description | |
---|---|---|
AddLastLineEnd ( ) : void |
Adds a line _end marker to the _end of the document
|
|
AppendText ( string text ) : ScintillaNET.Range |
Appends a copy of the specified string to the _end of this instance.
|
|
BeginInit ( ) : void | ||
CharAt ( int position ) : char | ||
EndInit ( ) : void | ||
ExportHtml ( ) : string |
Exports a HTML representation of the current document. Only ASCII documents are supported. Other encoding types have undefined behavior. |
|
ExportHtml ( TextWriter writer, string title, bool allStyles ) : void |
Exports a HTML representation of the current document. Only ASCII documents are supported. Other encoding types have undefined behavior. |
|
FindColumn ( int line, int column ) : int | ||
GetColumn ( int position ) : int | ||
GetCurrentLine ( ) : string |
Gets the text of the line containing the caret.
|
|
GetCurrentLine ( int &caretPosition ) : string |
Gets the text of the line containing the caret and the current caret position within that line.
|
|
GetRange ( ) : Range | ||
GetRange ( int position ) : Range | ||
GetRange ( int startPosition, int endPosition ) : Range | ||
GetWordFromPosition ( int position ) : string |
Gets a word from the specified position
|
|
InsertText ( int position, string text ) : Range |
Inserts text at the given position
|
|
InsertText ( string text ) : Range |
Inserts text at the current cursor position
|
|
PointXFromPosition ( int position ) : int | ||
PointYFromPosition ( int position ) : int | ||
PositionFromPoint ( int x, int y ) : int | ||
PositionFromPointClose ( int x, int y ) : int | ||
PositionIsOnComment ( int position ) : bool |
Checks that if the specified position is on comment.
|
|
PositionIsOnComment ( int position, Lexer lexer ) : bool |
Checks that if the specified position is on comment.
|
|
Scintilla ( ) : System | ||
SetModuleName ( string moduleName ) : void |
Sets the application-wide default module name of the native Scintilla library. This method must be called prior to the first Scintilla control being created. |
|
ShouldSerializeUndoRedo ( ) : bool | ||
ZoomIn ( ) : void |
Method | Description | |
---|---|---|
Dispose ( bool disposing ) : void |
Overridden. Releases the unmanaged resources used by the Control and its child controls and optionally releases the managed resources.
|
|
IsInputKey ( Keys keyData ) : bool |
Overridden. See Control.IsInputKey.
|
|
OnAnnotationChanged ( AnnotationChangedEventArgs e ) : void |
Raises the AnnotationChanged event.
|
|
OnAutoCompleteAccepted ( AutoCompleteAcceptedEventArgs e ) : void |
Raises the AutoCompleteAccepted event.
|
|
OnBackColorChanged ( EventArgs e ) : void |
Raises the BackColorChanged event.
|
|
OnBeforeTextDelete ( TextModifiedEventArgs e ) : void |
Raises the BeforeTextDelete event.
|
|
OnBeforeTextInsert ( TextModifiedEventArgs e ) : void |
Raises the BeforeTextInsert event.
|
|
OnBorderStyleChanged ( EventArgs e ) : void |
Raises the BorderStyleChanged event.
|
|
OnCallTipClick ( CallTipClickEventArgs e ) : void |
Raises the CallTipClick event.
|
|
OnCharAdded ( CharAddedEventArgs e ) : void |
Raises the CharAdded event.
|
|
OnCreateControl ( ) : void |
Overridden. See Control.OnCreateControl.
|
|
OnDocumentChange ( NativeScintillaEventArgs e ) : void |
Raises the DocumentChange event.
|
|
OnDoubleClick ( EventArgs e ) : void |
Provides the support for code block selection
|
|
OnDropMarkerCollect ( DropMarkerCollectEventArgs e ) : void |
Raises the DropMarkerCollect event.
|
|
OnDwellEnd ( ScintillaMouseEventArgs e ) : void |
Raises the DwellEnd event.
|
|
OnDwellStart ( ScintillaMouseEventArgs e ) : void |
Raises the DwellStart event.
|
|
OnFileDrop ( FileDropEventArgs e ) : void |
Raises the FileDrop event.
|
|
OnFoldChanged ( FoldChangedEventArgs e ) : void |
Raises the FoldChanged event.
|
|
OnFontChanged ( EventArgs e ) : void |
Raises the FontChanged event.
|
|
OnForeColorChanged ( EventArgs e ) : void |
Raises the ForeColorChanged event.
|
|
OnGotFocus ( EventArgs e ) : void |
Overridden. See Control.OnGotFocus.
|
|
OnHandleCreated ( EventArgs e ) : void |
Overridden. Raises the Control.HandleCreated event.
|
|
OnHotspotClick ( HotspotClickEventArgs e ) : void |
Raises the HotspotClick event.
|
|
OnHotspotDoubleClick ( HotspotClickEventArgs e ) : void |
Raises the HotspotDoubleClick event.
|
|
OnHotspotReleaseClick ( HotspotClickEventArgs e ) : void |
Raises the HotspotReleaseClick event.
|
|
OnIndicatorClick ( ScintillaMouseEventArgs e ) : void |
Raises the IndicatorClick event.
|
|
OnKeyDown ( KeyEventArgs e ) : void |
Overridden. See Control.OnKeyDown.
|
|
OnKeyPress ( KeyPressEventArgs e ) : void |
Overridden. See Control.OnKeyPress.
|
|
OnLinesNeedShown ( LinesNeedShownEventArgs e ) : void |
Raises the LinesNeedShown event.
|
|
OnLoad ( EventArgs e ) : void |
Raises the Load event.
|
|
OnLostFocus ( EventArgs e ) : void |
Overridden. See Control.OnLostFocus.
|
|
OnMacroRecord ( MacroRecordEventArgs e ) : void |
Raises the MacroRecord event.
|
|
OnMarginClick ( MarginClickEventArgs e ) : void |
Raises the MarginClick event.
|
|
OnMarkerChanged ( MarkerChangedEventArgs e ) : void |
Raises the MarkerChanged event.
|
|
OnModifiedChanged ( EventArgs e ) : void |
Raises the ModifiedChanged event.
|
|
OnPaint ( PaintEventArgs e ) : void |
Overridden. See Control.OnPaint.
|
|
OnReadOnlyModifyAttempt ( EventArgs e ) : void |
Raises the ReadOnlyModifyAttempt event.
|
|
OnScroll ( ScrollEventArgs e ) : void |
Raises the Scroll event.
|
|
OnSelectionChanged ( EventArgs e ) : void |
Raises the SelectionChanged event.
|
|
OnStyleNeeded ( StyleNeededEventArgs e ) : void |
Raises the StyleNeeded event.
|
|
OnTextDeleted ( TextModifiedEventArgs e ) : void |
Raises the TextDeleted event.
|
|
OnTextInserted ( TextModifiedEventArgs e ) : void |
Raises the TextInserted event.
|
|
OnZoomChanged ( EventArgs e ) : void |
Raises the ZoomChanged event.
|
|
ProcessKeyMessage ( Message &m ) : bool |
Overridden. See Control.ProcessKeyMessage.
|
|
WndProc ( Message &m ) : void |
Overridden. Processes Windows messages.
|
Method | Description | |
---|---|---|
CreateAnnotationsInstance ( ) : AnnotationCollection | ||
CreateLineWrappingInstance ( ) : LineWrapping | ||
DirectMessage ( int msg, IntPtr wParam, IntPtr lParam ) : IntPtr | ||
FireAutoCSelection ( NativeScintillaEventArgs ea ) : void | ||
FireCallTipClick ( NativeScintillaEventArgs ea ) : void | ||
FireCallTipClick ( int arrow ) : void | ||
FireCharAdded ( NativeScintillaEventArgs ea ) : void | ||
FireDoubleClick ( NativeScintillaEventArgs ea ) : void | ||
FireDwellEnd ( NativeScintillaEventArgs ea ) : void | ||
FireDwellStart ( NativeScintillaEventArgs ea ) : void | ||
FireIndicatorClick ( NativeScintillaEventArgs ea ) : void | ||
FireIndicatorRelease ( NativeScintillaEventArgs ea ) : void | ||
FireKey ( NativeScintillaEventArgs ea ) : void | ||
FireKeyDown ( KeyEventArgs e ) : void | ||
FireMacroRecord ( NativeScintillaEventArgs ea ) : void | ||
FireMarginClick ( NativeScintillaEventArgs ea ) : void | ||
FireMarginClick ( SCNotification n ) : void | ||
FireModified ( NativeScintillaEventArgs ea ) : void | ||
FireModifyAttemptRO ( NativeScintillaEventArgs ea ) : void | ||
FireNeedShown ( NativeScintillaEventArgs ea ) : void | ||
FirePainted ( NativeScintillaEventArgs ea ) : void | ||
FireSavePointLeft ( NativeScintillaEventArgs ea ) : void | ||
FireSavePointReached ( NativeScintillaEventArgs ea ) : void | ||
FireStyleNeeded ( NativeScintillaEventArgs ea ) : void | ||
FireUpdateUI ( NativeScintillaEventArgs ea ) : void | ||
FireUriDropped ( NativeScintillaEventArgs ea ) : void | ||
FireUserListSelection ( NativeScintillaEventArgs ea ) : void | ||
FireZoom ( NativeScintillaEventArgs ea ) : void | ||
HandleFileDrop ( IntPtr hDrop ) : void | ||
INativeScintilla ( ) : IntPtr | ||
INativeScintilla ( uint msg, IntPtr wParam, IntPtr lParam ) : IntPtr |
This is the primary Native communication method with Scintilla used by this control. All the other overloads call into this one.
|
|
INativeScintilla ( ) : bool | ||
INativeScintilla ( int line ) : bool | ||
INativeScintilla ( int position ) : byte | ||
INativeScintilla ( ) : char | ||
INativeScintilla ( int position ) : char | ||
INativeScintilla ( ) : int | ||
INativeScintilla ( TextRange &tr ) : int | ||
INativeScintilla ( bool bDraw, RangeToFormat &pfr ) : int | ||
INativeScintilla ( int displayLine ) : int | ||
INativeScintilla ( int searchFlags, TextToFind &ttf ) : int | ||
INativeScintilla ( int position, bool onlyWordCharacters ) : int | ||
INativeScintilla ( int pos, int maxReStyle ) : int | ||
INativeScintilla ( int line, string &text ) : int | ||
INativeScintilla ( int lineStart, uint markerMask ) : int | ||
INativeScintilla ( string &s ) : int | ||
INativeScintilla ( string key, int @default ) : int | ||
INativeScintilla ( string utf8, string &encoded ) : int | ||
INativeScintilla ( uint msg ) : int |
Handles Scintilla Call Style: (,)
|
|
INativeScintilla ( uint msg, IntPtr wParam, string &text, int length ) : int |
Handles Scintilla Call Style: (?) Notes: Helper method to wrap all calls to messages that take a char* in the wParam and set a regular .NET String in the lParam. Both the _length of the string and an additional wParam are used so that various string Message styles can be acommodated.
|
|
INativeScintilla ( uint msg, VOID wParam, int lParam ) : int |
Handles Scintilla Call Style: (,int)
|
|
INativeScintilla ( uint msg, VOID NULL, string lParam ) : int |
Handles Scintilla Call Style: (,string) Notes: This helper method handles all messages that take const char* as an input string in the lParam. In some messages Scintilla expects a NULL terminated string and in others it depends on the string _length passed in as wParam. This method handles both situations and will NULL terminate the string either way.
|
|
INativeScintilla ( uint msg, bool wParam ) : int |
Handles Scintilla Call Style: (bool,)
|
|
INativeScintilla ( uint msg, bool wParam, int lParam ) : int |
Handles Scintilla Call Style: (bool,int)
|
|
INativeScintilla ( uint msg, int wParam ) : int |
Handles Scintilla Call Style: (int,)
|
|
INativeScintilla ( uint msg, int wParam, bool lParam ) : int |
Handles Scintilla Call Style: (int,bool)
|
|
INativeScintilla ( uint msg, int wParam, int lParam ) : int |
Handles Scintilla Call Style: (int,int)
|
|
INativeScintilla ( uint msg, int wParam, string &text ) : int |
Handles Scintilla Call Style: (int,stringresult) Notes: Helper method to wrap all calls to messages that take a char* in the lParam and returns a regular .NET String. This overload assumes there will be no wParam and obtains the string _length by calling the message with a 0 lParam.
|
|
INativeScintilla ( uint msg, int wParam, uint lParam ) : int |
Handles Scintilla Call Style: (int,uint)
|
|
INativeScintilla ( uint msg, string &text ) : int |
Handles Scintilla Call Style: (,stringresult) Notes: Helper method to wrap all calls to messages that take a char* in the lParam and returns a regular .NET String. This overload assumes there will be no wParam and obtains the string _length by calling the message with a 0 lParam.
|
|
INativeScintilla ( uint msg, string wParam, int lParam ) : int |
Handles Scintilla Call Style: (string,int)
|
|
INativeScintilla ( uint msg, string wParam, string lParam ) : int |
Handles Scintilla Call Style: (string,string) Notes: Used by SCI_SETPROPERTY
|
|
INativeScintilla ( int line ) : uint | ||
INativeScintilla ( ) : void | ||
INativeScintilla ( IntPtr pDoc ) : void | ||
INativeScintilla ( TextRange &tr ) : void | ||
INativeScintilla ( bool autoHide ) : void | ||
INativeScintilla ( bool useSetting, int colour ) : void | ||
INativeScintilla ( char separator ) : void | ||
INativeScintilla ( int bytes ) : void | ||
INativeScintilla ( int indicatorNumber, bool under ) : void | ||
INativeScintilla ( int length, byte s ) : void | ||
INativeScintilla ( int keyDefinition, int sciCommand ) : void | ||
INativeScintilla ( int length, string s ) : void | ||
INativeScintilla ( int line, uint markerMask ) : void | ||
INativeScintilla ( string select ) : void | ||
INativeScintilla ( string key, string &value ) : void | ||
LoadModule ( ) : void | ||
ManagedRangesInRange ( int firstPos, int lastPos ) : List |
||
ResetCaption ( ) : void | ||
ResetMargins ( ) : void | ||
ResetStyles ( ) : void | ||
SafeBraceMatch ( int position ) : int |
Custom way to find the matching brace when BraceMatch() does not work
|
|
ScnModified ( NativeMethods &scn ) : void | ||
ShouldSerializeAnnotations ( ) : bool | ||
ShouldSerializeAutoComplete ( ) : bool | ||
ShouldSerializeCallTip ( ) : bool | ||
ShouldSerializeCaption ( ) : bool | ||
ShouldSerializeCaret ( ) : bool | ||
ShouldSerializeClipboard ( ) : bool | ||
ShouldSerializeCommands ( ) : bool | ||
ShouldSerializeConfigurationManager ( ) : bool | ||
ShouldSerializeDocumentNavigation ( ) : bool | ||
ShouldSerializeDropMarkers ( ) : bool | ||
ShouldSerializeEndOfLine ( ) : bool | ||
ShouldSerializeFindReplace ( ) : bool | ||
ShouldSerializeFolding ( ) : bool | ||
ShouldSerializeHotspotStyle ( ) : bool | ||
ShouldSerializeIndentation ( ) : bool | ||
ShouldSerializeLexing ( ) : bool | ||
ShouldSerializeLineWrapping ( ) : bool | ||
ShouldSerializeLongLines ( ) : bool | ||
ShouldSerializeMargins ( ) : bool | ||
ShouldSerializeMarkers ( ) : bool | ||
ShouldSerializePrinting ( ) : bool | ||
ShouldSerializeScrolling ( ) : bool | ||
ShouldSerializeSelection ( ) : bool | ||
ShouldSerializeSnippets ( ) : bool | ||
ShouldSerializeStyles ( ) : bool | ||
WmReflectCommand ( Message &m ) : void | ||
WmReflectNotify ( Message &m ) : void | ||
WmScroll ( Message &m ) : void | ||
ZeroTerminated ( string param ) : string | ||
ZoomOut ( ) : void | ||
paintRanges ( Graphics g ) : void |
public AppendText ( string text ) : ScintillaNET.Range | ||
text | string | The |
return | ScintillaNET.Range |
protected Dispose ( bool disposing ) : void | ||
disposing | bool | |
return | void |
public ExportHtml ( TextWriter writer, string title, bool allStyles ) : void | ||
writer | TextWriter | The |
title | string | The title of the HTML document. |
allStyles | bool |
/// |
return | void |
public FindColumn ( int line, int column ) : int | ||
line | int | |
column | int | |
return | int |
public GetCurrentLine ( int &caretPosition ) : string | ||
caretPosition | int | When this method returns, contains the byte offset of the current caret position with the line. |
return | string |
public GetRange ( int startPosition, int endPosition ) : Range | ||
startPosition | int | |
endPosition | int | |
return | Range |
public GetWordFromPosition ( int position ) : string | ||
position | int | |
return | string |
public InsertText ( int position, string text ) : Range | ||
position | int | The position to insert text in |
text | string | Text to insert |
return | Range |
public InsertText ( string text ) : Range | ||
text | string | Text to insert |
return | Range |
protected OnAnnotationChanged ( AnnotationChangedEventArgs e ) : void | ||
e | AnnotationChangedEventArgs | An |
return | void |
protected OnAutoCompleteAccepted ( AutoCompleteAcceptedEventArgs e ) : void | ||
e | AutoCompleteAcceptedEventArgs | An |
return | void |
protected OnBackColorChanged ( EventArgs e ) : void | ||
e | EventArgs | An |
return | void |
protected OnBeforeTextDelete ( TextModifiedEventArgs e ) : void | ||
e | TextModifiedEventArgs | An |
return | void |
protected OnBeforeTextInsert ( TextModifiedEventArgs e ) : void | ||
e | TextModifiedEventArgs | An |
return | void |
protected OnBorderStyleChanged ( EventArgs e ) : void | ||
e | EventArgs | An |
return | void |
protected OnCallTipClick ( CallTipClickEventArgs e ) : void | ||
e | CallTipClickEventArgs | An |
return | void |
protected OnCharAdded ( CharAddedEventArgs e ) : void | ||
e | CharAddedEventArgs | An |
return | void |
protected OnDocumentChange ( NativeScintillaEventArgs e ) : void | ||
e | NativeScintillaEventArgs | An |
return | void |
protected OnDoubleClick ( EventArgs e ) : void | ||
e | EventArgs | |
return | void |
protected OnDropMarkerCollect ( DropMarkerCollectEventArgs e ) : void | ||
e | DropMarkerCollectEventArgs | An |
return | void |
protected OnDwellEnd ( ScintillaMouseEventArgs e ) : void | ||
e | ScintillaMouseEventArgs | An |
return | void |
protected OnDwellStart ( ScintillaMouseEventArgs e ) : void | ||
e | ScintillaMouseEventArgs | An |
return | void |
protected OnFileDrop ( FileDropEventArgs e ) : void | ||
e | FileDropEventArgs | An |
return | void |
protected OnFoldChanged ( FoldChangedEventArgs e ) : void | ||
e | FoldChangedEventArgs | An |
return | void |
protected OnFontChanged ( EventArgs e ) : void | ||
e | EventArgs | An |
return | void |
protected OnForeColorChanged ( EventArgs e ) : void | ||
e | EventArgs | An |
return | void |
protected OnHandleCreated ( EventArgs e ) : void | ||
e | EventArgs | An |
return | void |
protected OnHotspotClick ( HotspotClickEventArgs e ) : void | ||
e | HotspotClickEventArgs | A |
return | void |
protected OnHotspotDoubleClick ( HotspotClickEventArgs e ) : void | ||
e | HotspotClickEventArgs | A |
return | void |
protected OnHotspotReleaseClick ( HotspotClickEventArgs e ) : void | ||
e | HotspotClickEventArgs | A |
return | void |
protected OnIndicatorClick ( ScintillaMouseEventArgs e ) : void | ||
e | ScintillaMouseEventArgs | An |
return | void |
protected OnKeyDown ( KeyEventArgs e ) : void | ||
e | KeyEventArgs | |
return | void |
protected OnKeyPress ( KeyPressEventArgs e ) : void | ||
e | KeyPressEventArgs | |
return | void |
protected OnLinesNeedShown ( LinesNeedShownEventArgs e ) : void | ||
e | LinesNeedShownEventArgs | An |
return | void |
protected OnLoad ( EventArgs e ) : void | ||
e | EventArgs | An |
return | void |
protected OnMacroRecord ( MacroRecordEventArgs e ) : void | ||
e | MacroRecordEventArgs | An |
return | void |
protected OnMarginClick ( MarginClickEventArgs e ) : void | ||
e | MarginClickEventArgs | An |
return | void |
protected OnMarkerChanged ( MarkerChangedEventArgs e ) : void | ||
e | MarkerChangedEventArgs | An |
return | void |
protected OnModifiedChanged ( EventArgs e ) : void | ||
e | EventArgs | An |
return | void |
protected OnPaint ( PaintEventArgs e ) : void | ||
e | PaintEventArgs | |
return | void |
protected OnReadOnlyModifyAttempt ( EventArgs e ) : void | ||
e | EventArgs | An |
return | void |
protected OnScroll ( ScrollEventArgs e ) : void | ||
e | ScrollEventArgs | An |
return | void |
protected OnSelectionChanged ( EventArgs e ) : void | ||
e | EventArgs | An |
return | void |
protected OnStyleNeeded ( StyleNeededEventArgs e ) : void | ||
e | StyleNeededEventArgs | An |
return | void |
protected OnTextDeleted ( TextModifiedEventArgs e ) : void | ||
e | TextModifiedEventArgs | An |
return | void |
protected OnTextInserted ( TextModifiedEventArgs e ) : void | ||
e | TextModifiedEventArgs | An |
return | void |
protected OnZoomChanged ( EventArgs e ) : void | ||
e | EventArgs | An |
return | void |
public PointXFromPosition ( int position ) : int | ||
position | int | |
return | int |
public PointYFromPosition ( int position ) : int | ||
position | int | |
return | int |
public PositionFromPoint ( int x, int y ) : int | ||
x | int | |
y | int | |
return | int |
public PositionFromPointClose ( int x, int y ) : int | ||
x | int | |
y | int | |
return | int |
public PositionIsOnComment ( int position ) : bool | ||
position | int | |
return | bool |
public PositionIsOnComment ( int position, Lexer lexer ) : bool | ||
position | int | |
lexer | Lexer | |
return | bool |
protected ProcessKeyMessage ( Message &m ) : bool | ||
m | Message | |
return | bool |
public static SetModuleName ( string moduleName ) : void | ||
moduleName | string | The native Scintilla module name. |
return | void |
protected WndProc ( Message &m ) : void | ||
m | Message | The Windows |
return | void |