C# Class ARCed.Scintilla.TextModifiedEventArgs

Provices data for the TextModified event
TextModifiedEventHandler is used as an abstracted subset of the SCN_MODIFIED notification message. It's used whenever the SCNotification's modificationType flags are SC_MOD_INSERTTEXT ,SC_MOD_DELETETEXT, SC_MOD_BEFOREINSERT and SC_MOD_BEFORE_DELETE. They all use a TextModifiedEventArgs which corresponds to a subset of the SCNotification struct having to do with these modification types.
Inheritance: ModifiedEventArgs
显示文件 Open project: borisblizzard/arcreator Class Usage Examples

Public Methods

Method Description
TextModifiedEventArgs ( int modificationType, bool isUserChange, int markerChangedLine, int position, int length, int linesAddedCount, string text ) : System

Initializes a new instance of the TextModifiedEventArgs class.

ToString ( ) : string

Overridden.

Method Details

TextModifiedEventArgs() public method

Initializes a new instance of the TextModifiedEventArgs class.
public TextModifiedEventArgs ( int modificationType, bool isUserChange, int markerChangedLine, int position, int length, int linesAddedCount, string text ) : System
modificationType int Specifies the modification type
isUserChange bool true if the change was a direct result of user interaction
markerChangedLine int the line # of where the marker change occured (if applicable)
position int document position where the change occured
length int _length of the change occured
linesAddedCount int the # of lines added or removed as a result of the change
text string affected text of the change
return System

ToString() public method

Overridden.
public ToString ( ) : string
return string