메소드 | 설명 | |
---|---|---|
Clear ( ) : void |
Removes all text and styles associated with the annotation.
|
|
Equals ( |
Determines whether the specified Annotation is equal to the current Annotation.
|
|
Equals ( object obj ) : bool |
Overridden. Determines whether the specified object is equal to the current object.
|
|
GetHashCode ( ) : int |
Overridden. Serves as a hash function for a particular type.
|
|
GetStyles ( ) : IEnumerable |
Returns a StyleRun enumerable representing the individual character styling of the annotation text.
|
|
SetStyles ( IEnumerable |
Uses the enumerable StyleRun specified to individually style characters in the annotation text. The Text property must be set prior to styling and the sum length of all runs should match the text length. |
|
operator ( ) : bool |
Tests whether two Annotation object differ in location or content.
|
메소드 | 설명 | |
---|---|---|
Annotation ( Scintilla scintilla, int lineIndex ) : System |
Initializes a new instance of the Annotation class.
|
메소드 | 설명 | |
---|---|---|
CheckInvalid ( ) : void |
protected Annotation ( Scintilla scintilla, int lineIndex ) : System | ||
scintilla | Scintilla | The |
lineIndex | int | The zero-based index of the document line containing the annotation. |
리턴 | System |
public Equals ( |
||
a | The annotation to compare with the current annotation. | |
리턴 | bool |
public Equals ( object obj ) : bool | ||
obj | object | The object to compare with the current object. |
리턴 | bool |
public SetStyles ( IEnumerable |
||
styles | IEnumerable |
/// The enumerable |
리턴 | void |