C# Class ScintillaNET.Scintilla

Inheritance: System.Windows.Forms.Control, INativeScintilla, ISupportInitialize
Afficher le fichier Open project: NekoProject/NekoKun Class Usage Examples

Private Properties

Свойство 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

Méthodes publiques

Méthode 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

Méthodes protégées

Méthode 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

Méthode 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 méthode

Adds a line _end marker to the _end of the document
public AddLastLineEnd ( ) : void
Résultat void

AppendText() public méthode

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

BeginInit() public méthode

public BeginInit ( ) : void
Résultat void

CharAt() public méthode

public CharAt ( int position ) : char
position int
Résultat char

Dispose() protected méthode

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.
Résultat void

EndInit() public méthode

public EndInit ( ) : void
Résultat void

ExportHtml() public méthode

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

ExportHtml() public méthode

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. ///
Résultat void

FindColumn() public méthode

public FindColumn ( int line, int column ) : int
line int
column int
Résultat int

GetColumn() public méthode

public GetColumn ( int position ) : int
position int
Résultat int

GetCurrentLine() public méthode

Gets the text of the line containing the caret.
public GetCurrentLine ( ) : string
Résultat string

GetCurrentLine() public méthode

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.
Résultat string

GetRange() public méthode

public GetRange ( ) : Range
Résultat Range

GetRange() public méthode

public GetRange ( int position ) : Range
position int
Résultat Range

GetRange() public méthode

public GetRange ( int startPosition, int endPosition ) : Range
startPosition int
endPosition int
Résultat Range

GetWordFromPosition() public méthode

Gets a word from the specified position
public GetWordFromPosition ( int position ) : string
position int
Résultat string

InsertText() public méthode

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
Résultat Range

InsertText() public méthode

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

IsInputKey() protected méthode

Overridden. See Control.IsInputKey.
protected IsInputKey ( Keys keyData ) : bool
keyData Keys
Résultat bool

OnAnnotationChanged() protected méthode

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

OnAutoCompleteAccepted() protected méthode

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

OnBackColorChanged() protected méthode

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

OnBeforeTextDelete() protected méthode

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

OnBeforeTextInsert() protected méthode

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

OnBorderStyleChanged() protected méthode

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

OnCallTipClick() protected méthode

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

OnCharAdded() protected méthode

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

OnCreateControl() protected méthode

Overridden. See Control.OnCreateControl.
protected OnCreateControl ( ) : void
Résultat void

OnDocumentChange() protected méthode

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

OnDoubleClick() protected méthode

Provides the support for code block selection
protected OnDoubleClick ( EventArgs e ) : void
e EventArgs
Résultat void

OnDropMarkerCollect() protected méthode

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

OnDwellEnd() protected méthode

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

OnDwellStart() protected méthode

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

OnFileDrop() protected méthode

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

OnFoldChanged() protected méthode

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

OnFontChanged() protected méthode

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

OnForeColorChanged() protected méthode

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

OnGotFocus() protected méthode

Overridden. See Control.OnGotFocus.
protected OnGotFocus ( EventArgs e ) : void
e EventArgs
Résultat void

OnHandleCreated() protected méthode

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

OnHotspotClick() protected méthode

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

OnHotspotDoubleClick() protected méthode

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

OnHotspotReleaseClick() protected méthode

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

OnIndicatorClick() protected méthode

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

OnKeyDown() protected méthode

Overridden. See Control.OnKeyDown.
protected OnKeyDown ( KeyEventArgs e ) : void
e KeyEventArgs
Résultat void

OnKeyPress() protected méthode

Overridden. See Control.OnKeyPress.
protected OnKeyPress ( KeyPressEventArgs e ) : void
e KeyPressEventArgs
Résultat void

OnLinesNeedShown() protected méthode

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

OnLoad() protected méthode

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

OnLostFocus() protected méthode

Overridden. See Control.OnLostFocus.
protected OnLostFocus ( EventArgs e ) : void
e EventArgs
Résultat void

OnMacroRecord() protected méthode

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

OnMarginClick() protected méthode

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

OnMarkerChanged() protected méthode

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

OnModifiedChanged() protected méthode

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

OnPaint() protected méthode

Overridden. See Control.OnPaint.
protected OnPaint ( PaintEventArgs e ) : void
e PaintEventArgs
Résultat void

OnReadOnlyModifyAttempt() protected méthode

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

OnScroll() protected méthode

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

OnSelectionChanged() protected méthode

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

OnStyleNeeded() protected méthode

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

OnTextDeleted() protected méthode

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

OnTextInserted() protected méthode

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

OnZoomChanged() protected méthode

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

PointXFromPosition() public méthode

public PointXFromPosition ( int position ) : int
position int
Résultat int

PointYFromPosition() public méthode

public PointYFromPosition ( int position ) : int
position int
Résultat int

PositionFromPoint() public méthode

public PositionFromPoint ( int x, int y ) : int
x int
y int
Résultat int

PositionFromPointClose() public méthode

public PositionFromPointClose ( int x, int y ) : int
x int
y int
Résultat int

PositionIsOnComment() public méthode

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

PositionIsOnComment() public méthode

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

ProcessKeyMessage() protected méthode

Overridden. See Control.ProcessKeyMessage.
protected ProcessKeyMessage ( Message &m ) : bool
m Message
Résultat bool

Scintilla() public méthode

public Scintilla ( ) : System
Résultat System

SetModuleName() public static méthode

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.
Résultat void

ShouldSerializeUndoRedo() public méthode

public ShouldSerializeUndoRedo ( ) : bool
Résultat bool

WndProc() protected méthode

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

ZoomIn() public méthode

public ZoomIn ( ) : void
Résultat void