C# Класс ScintillaNET.Scintilla

Наследование: System.Windows.Forms.Control, INativeScintilla, ISupportInitialize
Показать файл Открыть проект Примеры использования класса

Private Properties

Свойство Тип Описание
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

Открытые методы

Метод Описание
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

Защищенные методы

Метод Описание
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.

Приватные методы

Метод Описание
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

Описание методов

AddLastLineEnd() публичный Метод

Adds a line _end marker to the _end of the document
public AddLastLineEnd ( ) : void
Результат void

AppendText() публичный Метод

Appends a copy of the specified string to the _end of this instance.
public AppendText ( string text ) : ScintillaNET.Range
text string The to append.
Результат ScintillaNET.Range

BeginInit() публичный Метод

public BeginInit ( ) : void
Результат void

CharAt() публичный Метод

public CharAt ( int position ) : char
position int
Результат char

Dispose() защищенный Метод

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.
Результат void

EndInit() публичный Метод

public EndInit ( ) : void
Результат void

ExportHtml() публичный Метод

Exports a HTML representation of the current document.
Only ASCII documents are supported. Other encoding types have undefined behavior.
public ExportHtml ( ) : string
Результат string

ExportHtml() публичный Метод

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. ///
Результат void

FindColumn() публичный Метод

public FindColumn ( int line, int column ) : int
line int
column int
Результат int

GetColumn() публичный Метод

public GetColumn ( int position ) : int
position int
Результат int

GetCurrentLine() публичный Метод

Gets the text of the line containing the caret.
public GetCurrentLine ( ) : string
Результат string

GetCurrentLine() публичный Метод

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.
Результат string

GetRange() публичный Метод

public GetRange ( ) : Range
Результат Range

GetRange() публичный Метод

public GetRange ( int position ) : Range
position int
Результат Range

GetRange() публичный Метод

public GetRange ( int startPosition, int endPosition ) : Range
startPosition int
endPosition int
Результат Range

GetWordFromPosition() публичный Метод

Gets a word from the specified position
public GetWordFromPosition ( int position ) : string
position int
Результат string

InsertText() публичный Метод

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
Результат Range

InsertText() публичный Метод

Inserts text at the current cursor position
public InsertText ( string text ) : Range
text string Text to insert
Результат Range

IsInputKey() защищенный Метод

Overridden. See Control.IsInputKey.
protected IsInputKey ( Keys keyData ) : bool
keyData Keys
Результат bool

OnAnnotationChanged() защищенный Метод

Raises the AnnotationChanged event.
protected OnAnnotationChanged ( AnnotationChangedEventArgs e ) : void
e AnnotationChangedEventArgs An that contains the event data.
Результат void

OnAutoCompleteAccepted() защищенный Метод

Raises the AutoCompleteAccepted event.
protected OnAutoCompleteAccepted ( AutoCompleteAcceptedEventArgs e ) : void
e AutoCompleteAcceptedEventArgs An that contains the event data.
Результат void

OnBackColorChanged() защищенный Метод

Raises the BackColorChanged event.
protected OnBackColorChanged ( EventArgs e ) : void
e EventArgs An that contains the event data.
Результат void

OnBeforeTextDelete() защищенный Метод

Raises the BeforeTextDelete event.
protected OnBeforeTextDelete ( TextModifiedEventArgs e ) : void
e TextModifiedEventArgs An that contains the event data.
Результат void

OnBeforeTextInsert() защищенный Метод

Raises the BeforeTextInsert event.
protected OnBeforeTextInsert ( TextModifiedEventArgs e ) : void
e TextModifiedEventArgs An that contains the event data.
Результат void

OnBorderStyleChanged() защищенный Метод

Raises the BorderStyleChanged event.
protected OnBorderStyleChanged ( EventArgs e ) : void
e EventArgs An that contains the event data.
Результат void

OnCallTipClick() защищенный Метод

Raises the CallTipClick event.
protected OnCallTipClick ( CallTipClickEventArgs e ) : void
e CallTipClickEventArgs An that contains the event data.
Результат void

OnCharAdded() защищенный Метод

Raises the CharAdded event.
protected OnCharAdded ( CharAddedEventArgs e ) : void
e CharAddedEventArgs An that contains the event data.
Результат void

OnCreateControl() защищенный Метод

Overridden. See Control.OnCreateControl.
protected OnCreateControl ( ) : void
Результат void

OnDocumentChange() защищенный Метод

Raises the DocumentChange event.
protected OnDocumentChange ( NativeScintillaEventArgs e ) : void
e NativeScintillaEventArgs An that contains the event data.
Результат void

OnDoubleClick() защищенный Метод

Provides the support for code block selection
protected OnDoubleClick ( EventArgs e ) : void
e EventArgs
Результат void

OnDropMarkerCollect() защищенный Метод

Raises the DropMarkerCollect event.
protected OnDropMarkerCollect ( DropMarkerCollectEventArgs e ) : void
e DropMarkerCollectEventArgs An that contains the event data.
Результат void

OnDwellEnd() защищенный Метод

Raises the DwellEnd event.
protected OnDwellEnd ( ScintillaMouseEventArgs e ) : void
e ScintillaMouseEventArgs An that contains the event data.
Результат void

OnDwellStart() защищенный Метод

Raises the DwellStart event.
protected OnDwellStart ( ScintillaMouseEventArgs e ) : void
e ScintillaMouseEventArgs An that contains the event data.
Результат void

OnFileDrop() защищенный Метод

Raises the FileDrop event.
protected OnFileDrop ( FileDropEventArgs e ) : void
e FileDropEventArgs An that contains the event data.
Результат void

OnFoldChanged() защищенный Метод

Raises the FoldChanged event.
protected OnFoldChanged ( FoldChangedEventArgs e ) : void
e FoldChangedEventArgs An that contains the event data.
Результат void

OnFontChanged() защищенный Метод

Raises the FontChanged event.
protected OnFontChanged ( EventArgs e ) : void
e EventArgs An that contains the event data.
Результат void

OnForeColorChanged() защищенный Метод

Raises the ForeColorChanged event.
protected OnForeColorChanged ( EventArgs e ) : void
e EventArgs An that contains the event data.
Результат void

OnGotFocus() защищенный Метод

Overridden. See Control.OnGotFocus.
protected OnGotFocus ( EventArgs e ) : void
e EventArgs
Результат void

OnHandleCreated() защищенный Метод

Overridden. Raises the Control.HandleCreated event.
protected OnHandleCreated ( EventArgs e ) : void
e EventArgs An that contains the event data.
Результат void

OnHotspotClick() защищенный Метод

Raises the HotspotClick event.
protected OnHotspotClick ( HotspotClickEventArgs e ) : void
e HotspotClickEventArgs A that contains the event data.
Результат void

OnHotspotDoubleClick() защищенный Метод

Raises the HotspotDoubleClick event.
protected OnHotspotDoubleClick ( HotspotClickEventArgs e ) : void
e HotspotClickEventArgs A that contains the event data.
Результат void

OnHotspotReleaseClick() защищенный Метод

Raises the HotspotReleaseClick event.
protected OnHotspotReleaseClick ( HotspotClickEventArgs e ) : void
e HotspotClickEventArgs A that contains the event data.
Результат void

OnIndicatorClick() защищенный Метод

Raises the IndicatorClick event.
protected OnIndicatorClick ( ScintillaMouseEventArgs e ) : void
e ScintillaMouseEventArgs An that contains the event data.
Результат void

OnKeyDown() защищенный Метод

Overridden. See Control.OnKeyDown.
protected OnKeyDown ( KeyEventArgs e ) : void
e KeyEventArgs
Результат void

OnKeyPress() защищенный Метод

Overridden. See Control.OnKeyPress.
protected OnKeyPress ( KeyPressEventArgs e ) : void
e KeyPressEventArgs
Результат void

OnLinesNeedShown() защищенный Метод

Raises the LinesNeedShown event.
protected OnLinesNeedShown ( LinesNeedShownEventArgs e ) : void
e LinesNeedShownEventArgs An that contains the event data.
Результат void

OnLoad() защищенный Метод

Raises the Load event.
protected OnLoad ( EventArgs e ) : void
e EventArgs An that contains the event data.
Результат void

OnLostFocus() защищенный Метод

Overridden. See Control.OnLostFocus.
protected OnLostFocus ( EventArgs e ) : void
e EventArgs
Результат void

OnMacroRecord() защищенный Метод

Raises the MacroRecord event.
protected OnMacroRecord ( MacroRecordEventArgs e ) : void
e MacroRecordEventArgs An that contains the event data.
Результат void

OnMarginClick() защищенный Метод

Raises the MarginClick event.
protected OnMarginClick ( MarginClickEventArgs e ) : void
e MarginClickEventArgs An that contains the event data.
Результат void

OnMarkerChanged() защищенный Метод

Raises the MarkerChanged event.
protected OnMarkerChanged ( MarkerChangedEventArgs e ) : void
e MarkerChangedEventArgs An that contains the event data.
Результат void

OnModifiedChanged() защищенный Метод

Raises the ModifiedChanged event.
protected OnModifiedChanged ( EventArgs e ) : void
e EventArgs An that contains the event data.
Результат void

OnPaint() защищенный Метод

Overridden. See Control.OnPaint.
protected OnPaint ( PaintEventArgs e ) : void
e PaintEventArgs
Результат void

OnReadOnlyModifyAttempt() защищенный Метод

Raises the ReadOnlyModifyAttempt event.
protected OnReadOnlyModifyAttempt ( EventArgs e ) : void
e EventArgs An that contains the event data.
Результат void

OnScroll() защищенный Метод

Raises the Scroll event.
protected OnScroll ( ScrollEventArgs e ) : void
e ScrollEventArgs An that contains the event data.
Результат void

OnSelectionChanged() защищенный Метод

Raises the SelectionChanged event.
protected OnSelectionChanged ( EventArgs e ) : void
e EventArgs An that contains the event data.
Результат void

OnStyleNeeded() защищенный Метод

Raises the StyleNeeded event.
protected OnStyleNeeded ( StyleNeededEventArgs e ) : void
e StyleNeededEventArgs An that contains the event data.
Результат void

OnTextDeleted() защищенный Метод

Raises the TextDeleted event.
protected OnTextDeleted ( TextModifiedEventArgs e ) : void
e TextModifiedEventArgs An that contains the event data.
Результат void

OnTextInserted() защищенный Метод

Raises the TextInserted event.
protected OnTextInserted ( TextModifiedEventArgs e ) : void
e TextModifiedEventArgs An that contains the event data.
Результат void

OnZoomChanged() защищенный Метод

Raises the ZoomChanged event.
protected OnZoomChanged ( EventArgs e ) : void
e EventArgs An that contains the event data.
Результат void

PointXFromPosition() публичный Метод

public PointXFromPosition ( int position ) : int
position int
Результат int

PointYFromPosition() публичный Метод

public PointYFromPosition ( int position ) : int
position int
Результат int

PositionFromPoint() публичный Метод

public PositionFromPoint ( int x, int y ) : int
x int
y int
Результат int

PositionFromPointClose() публичный Метод

public PositionFromPointClose ( int x, int y ) : int
x int
y int
Результат int

PositionIsOnComment() публичный Метод

Checks that if the specified position is on comment.
public PositionIsOnComment ( int position ) : bool
position int
Результат bool

PositionIsOnComment() публичный Метод

Checks that if the specified position is on comment.
public PositionIsOnComment ( int position, Lexer lexer ) : bool
position int
lexer Lexer
Результат bool

ProcessKeyMessage() защищенный Метод

Overridden. See Control.ProcessKeyMessage.
protected ProcessKeyMessage ( Message &m ) : bool
m Message
Результат bool

Scintilla() публичный Метод

public Scintilla ( ) : System
Результат System

SetModuleName() публичный статический Метод

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.
Результат void

ShouldSerializeUndoRedo() публичный Метод

public ShouldSerializeUndoRedo ( ) : bool
Результат bool

WndProc() защищенный Метод

Overridden. Processes Windows messages.
protected WndProc ( Message &m ) : void
m Message The Windows to process.
Результат void

ZoomIn() публичный Метод

public ZoomIn ( ) : void
Результат void