C# Class ScintillaNET.Scintilla

Inheritance: System.Windows.Forms.Control, INativeScintilla, ISupportInitialize
Show file Open project: NekoProject/NekoKun Class Usage Examples

Private Properties

Property Type Description
CreateAnnotationsInstance AnnotationCollection
CreateLineWrappingInstance LineWrapping
DirectMessage IntPtr
FireAutoCSelection void
FireCallTipClick void
FireCallTipClick void
FireCharAdded void
FireDoubleClick void
FireDwellEnd void
FireDwellStart void
FireIndicatorClick void
FireIndicatorRelease void
FireKey void
FireKeyDown void
FireMacroRecord void
FireMarginClick void
FireMarginClick void
FireModified void
FireModifyAttemptRO void
FireNeedShown void
FirePainted void
FireSavePointLeft void
FireSavePointReached void
FireStyleNeeded void
FireUpdateUI void
FireUriDropped void
FireUserListSelection void
FireZoom void
HandleFileDrop void
INativeScintilla IntPtr
INativeScintilla IntPtr
INativeScintilla bool
INativeScintilla bool
INativeScintilla byte
INativeScintilla char
INativeScintilla char
INativeScintilla int
INativeScintilla int
INativeScintilla int
INativeScintilla int
INativeScintilla int
INativeScintilla int
INativeScintilla int
INativeScintilla int
INativeScintilla int
INativeScintilla int
INativeScintilla int
INativeScintilla int
INativeScintilla int
INativeScintilla int
INativeScintilla int
INativeScintilla int
INativeScintilla int
INativeScintilla int
INativeScintilla int
INativeScintilla int
INativeScintilla int
INativeScintilla int
INativeScintilla int
INativeScintilla int
INativeScintilla int
INativeScintilla int
INativeScintilla uint
INativeScintilla void
INativeScintilla void
INativeScintilla void
INativeScintilla void
INativeScintilla void
INativeScintilla void
INativeScintilla void
INativeScintilla void
INativeScintilla void
INativeScintilla void
INativeScintilla void
INativeScintilla void
INativeScintilla void
INativeScintilla void
LoadModule void
ManagedRangesInRange List
ResetCaption void
ResetMargins void
ResetStyles void
SafeBraceMatch int
ScnModified 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 void
WmReflectNotify void
WmScroll void
ZeroTerminated string
ZoomOut void
paintRanges void

Public Methods

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

Protected Methods

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.

Private Methods

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

Method Details

AddLastLineEnd() public method

Adds a line _end marker to the _end of the document
public AddLastLineEnd ( ) : void
return void

AppendText() public method

Appends a copy of the specified string to the _end of this instance.
public AppendText ( string text ) : ScintillaNET.Range
text string The to append.
return ScintillaNET.Range

BeginInit() public method

public BeginInit ( ) : void
return void

CharAt() public method

public CharAt ( int position ) : char
position int
return char

Dispose() protected method

Overridden. Releases the unmanaged resources used by the Control and its child controls and optionally releases the managed resources.
protected Dispose ( bool disposing ) : void
disposing bool true to release both managed and unmanaged resources; false to release only unmanaged resources.
return void

EndInit() public method

public EndInit ( ) : void
return void

ExportHtml() public method

Exports a HTML representation of the current document.
Only ASCII documents are supported. Other encoding types have undefined behavior.
public ExportHtml ( ) : string
return string

ExportHtml() public method

Exports a HTML representation of the current document.
Only ASCII documents are supported. Other encoding types have undefined behavior.
public ExportHtml ( TextWriter writer, string title, bool allStyles ) : void
writer TextWriter The with which to write.
title string The title of the HTML document.
allStyles bool /// true to output all styles including those not /// used in the document; otherwise, false. ///
return void

FindColumn() public method

public FindColumn ( int line, int column ) : int
line int
column int
return int

GetColumn() public method

public GetColumn ( int position ) : int
position int
return int

GetCurrentLine() public method

Gets the text of the line containing the caret.
public GetCurrentLine ( ) : string
return string

GetCurrentLine() public method

Gets the text of the line containing the caret and the current caret position within that line.
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

GetRange() public method

public GetRange ( ) : Range
return Range

GetRange() public method

public GetRange ( int position ) : Range
position int
return Range

GetRange() public method

public GetRange ( int startPosition, int endPosition ) : Range
startPosition int
endPosition int
return Range

GetWordFromPosition() public method

Gets a word from the specified position
public GetWordFromPosition ( int position ) : string
position int
return string

InsertText() public method

Inserts text at the given position
public InsertText ( int position, string text ) : Range
position int The position to insert text in
text string Text to insert
return Range

InsertText() public method

Inserts text at the current cursor position
public InsertText ( string text ) : Range
text string Text to insert
return Range

IsInputKey() protected method

Overridden. See Control.IsInputKey.
protected IsInputKey ( Keys keyData ) : bool
keyData Keys
return bool

OnAnnotationChanged() protected method

Raises the AnnotationChanged event.
protected OnAnnotationChanged ( AnnotationChangedEventArgs e ) : void
e AnnotationChangedEventArgs An that contains the event data.
return void

OnAutoCompleteAccepted() protected method

Raises the AutoCompleteAccepted event.
protected OnAutoCompleteAccepted ( AutoCompleteAcceptedEventArgs e ) : void
e AutoCompleteAcceptedEventArgs An that contains the event data.
return void

OnBackColorChanged() protected method

Raises the BackColorChanged event.
protected OnBackColorChanged ( EventArgs e ) : void
e EventArgs An that contains the event data.
return void

OnBeforeTextDelete() protected method

Raises the BeforeTextDelete event.
protected OnBeforeTextDelete ( TextModifiedEventArgs e ) : void
e TextModifiedEventArgs An that contains the event data.
return void

OnBeforeTextInsert() protected method

Raises the BeforeTextInsert event.
protected OnBeforeTextInsert ( TextModifiedEventArgs e ) : void
e TextModifiedEventArgs An that contains the event data.
return void

OnBorderStyleChanged() protected method

Raises the BorderStyleChanged event.
protected OnBorderStyleChanged ( EventArgs e ) : void
e EventArgs An that contains the event data.
return void

OnCallTipClick() protected method

Raises the CallTipClick event.
protected OnCallTipClick ( CallTipClickEventArgs e ) : void
e CallTipClickEventArgs An that contains the event data.
return void

OnCharAdded() protected method

Raises the CharAdded event.
protected OnCharAdded ( CharAddedEventArgs e ) : void
e CharAddedEventArgs An that contains the event data.
return void

OnCreateControl() protected method

Overridden. See Control.OnCreateControl.
protected OnCreateControl ( ) : void
return void

OnDocumentChange() protected method

Raises the DocumentChange event.
protected OnDocumentChange ( NativeScintillaEventArgs e ) : void
e NativeScintillaEventArgs An that contains the event data.
return void

OnDoubleClick() protected method

Provides the support for code block selection
protected OnDoubleClick ( EventArgs e ) : void
e EventArgs
return void

OnDropMarkerCollect() protected method

Raises the DropMarkerCollect event.
protected OnDropMarkerCollect ( DropMarkerCollectEventArgs e ) : void
e DropMarkerCollectEventArgs An that contains the event data.
return void

OnDwellEnd() protected method

Raises the DwellEnd event.
protected OnDwellEnd ( ScintillaMouseEventArgs e ) : void
e ScintillaMouseEventArgs An that contains the event data.
return void

OnDwellStart() protected method

Raises the DwellStart event.
protected OnDwellStart ( ScintillaMouseEventArgs e ) : void
e ScintillaMouseEventArgs An that contains the event data.
return void

OnFileDrop() protected method

Raises the FileDrop event.
protected OnFileDrop ( FileDropEventArgs e ) : void
e FileDropEventArgs An that contains the event data.
return void

OnFoldChanged() protected method

Raises the FoldChanged event.
protected OnFoldChanged ( FoldChangedEventArgs e ) : void
e FoldChangedEventArgs An that contains the event data.
return void

OnFontChanged() protected method

Raises the FontChanged event.
protected OnFontChanged ( EventArgs e ) : void
e EventArgs An that contains the event data.
return void

OnForeColorChanged() protected method

Raises the ForeColorChanged event.
protected OnForeColorChanged ( EventArgs e ) : void
e EventArgs An that contains the event data.
return void

OnGotFocus() protected method

Overridden. See Control.OnGotFocus.
protected OnGotFocus ( EventArgs e ) : void
e EventArgs
return void

OnHandleCreated() protected method

Overridden. Raises the Control.HandleCreated event.
protected OnHandleCreated ( EventArgs e ) : void
e EventArgs An that contains the event data.
return void

OnHotspotClick() protected method

Raises the HotspotClick event.
protected OnHotspotClick ( HotspotClickEventArgs e ) : void
e HotspotClickEventArgs A that contains the event data.
return void

OnHotspotDoubleClick() protected method

Raises the HotspotDoubleClick event.
protected OnHotspotDoubleClick ( HotspotClickEventArgs e ) : void
e HotspotClickEventArgs A that contains the event data.
return void

OnHotspotReleaseClick() protected method

Raises the HotspotReleaseClick event.
protected OnHotspotReleaseClick ( HotspotClickEventArgs e ) : void
e HotspotClickEventArgs A that contains the event data.
return void

OnIndicatorClick() protected method

Raises the IndicatorClick event.
protected OnIndicatorClick ( ScintillaMouseEventArgs e ) : void
e ScintillaMouseEventArgs An that contains the event data.
return void

OnKeyDown() protected method

Overridden. See Control.OnKeyDown.
protected OnKeyDown ( KeyEventArgs e ) : void
e KeyEventArgs
return void

OnKeyPress() protected method

Overridden. See Control.OnKeyPress.
protected OnKeyPress ( KeyPressEventArgs e ) : void
e KeyPressEventArgs
return void

OnLinesNeedShown() protected method

Raises the LinesNeedShown event.
protected OnLinesNeedShown ( LinesNeedShownEventArgs e ) : void
e LinesNeedShownEventArgs An that contains the event data.
return void

OnLoad() protected method

Raises the Load event.
protected OnLoad ( EventArgs e ) : void
e EventArgs An that contains the event data.
return void

OnLostFocus() protected method

Overridden. See Control.OnLostFocus.
protected OnLostFocus ( EventArgs e ) : void
e EventArgs
return void

OnMacroRecord() protected method

Raises the MacroRecord event.
protected OnMacroRecord ( MacroRecordEventArgs e ) : void
e MacroRecordEventArgs An that contains the event data.
return void

OnMarginClick() protected method

Raises the MarginClick event.
protected OnMarginClick ( MarginClickEventArgs e ) : void
e MarginClickEventArgs An that contains the event data.
return void

OnMarkerChanged() protected method

Raises the MarkerChanged event.
protected OnMarkerChanged ( MarkerChangedEventArgs e ) : void
e MarkerChangedEventArgs An that contains the event data.
return void

OnModifiedChanged() protected method

Raises the ModifiedChanged event.
protected OnModifiedChanged ( EventArgs e ) : void
e EventArgs An that contains the event data.
return void

OnPaint() protected method

Overridden. See Control.OnPaint.
protected OnPaint ( PaintEventArgs e ) : void
e PaintEventArgs
return void

OnReadOnlyModifyAttempt() protected method

Raises the ReadOnlyModifyAttempt event.
protected OnReadOnlyModifyAttempt ( EventArgs e ) : void
e EventArgs An that contains the event data.
return void

OnScroll() protected method

Raises the Scroll event.
protected OnScroll ( ScrollEventArgs e ) : void
e ScrollEventArgs An that contains the event data.
return void

OnSelectionChanged() protected method

Raises the SelectionChanged event.
protected OnSelectionChanged ( EventArgs e ) : void
e EventArgs An that contains the event data.
return void

OnStyleNeeded() protected method

Raises the StyleNeeded event.
protected OnStyleNeeded ( StyleNeededEventArgs e ) : void
e StyleNeededEventArgs An that contains the event data.
return void

OnTextDeleted() protected method

Raises the TextDeleted event.
protected OnTextDeleted ( TextModifiedEventArgs e ) : void
e TextModifiedEventArgs An that contains the event data.
return void

OnTextInserted() protected method

Raises the TextInserted event.
protected OnTextInserted ( TextModifiedEventArgs e ) : void
e TextModifiedEventArgs An that contains the event data.
return void

OnZoomChanged() protected method

Raises the ZoomChanged event.
protected OnZoomChanged ( EventArgs e ) : void
e EventArgs An that contains the event data.
return void

PointXFromPosition() public method

public PointXFromPosition ( int position ) : int
position int
return int

PointYFromPosition() public method

public PointYFromPosition ( int position ) : int
position int
return int

PositionFromPoint() public method

public PositionFromPoint ( int x, int y ) : int
x int
y int
return int

PositionFromPointClose() public method

public PositionFromPointClose ( int x, int y ) : int
x int
y int
return int

PositionIsOnComment() public method

Checks that if the specified position is on comment.
public PositionIsOnComment ( int position ) : bool
position int
return bool

PositionIsOnComment() public method

Checks that if the specified position is on comment.
public PositionIsOnComment ( int position, Lexer lexer ) : bool
position int
lexer Lexer
return bool

ProcessKeyMessage() protected method

Overridden. See Control.ProcessKeyMessage.
protected ProcessKeyMessage ( Message &m ) : bool
m Message
return bool

Scintilla() public method

public Scintilla ( ) : System
return System

SetModuleName() public static method

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.
The is null. The is an empty string. This method was called after the first control was created.
public static SetModuleName ( string moduleName ) : void
moduleName string The native Scintilla module name.
return void

ShouldSerializeUndoRedo() public method

public ShouldSerializeUndoRedo ( ) : bool
return bool

WndProc() protected method

Overridden. Processes Windows messages.
protected WndProc ( Message &m ) : void
m Message The Windows to process.
return void

ZoomIn() public method

public ZoomIn ( ) : void
return void