C# Class ARCed.Scintilla.AnnotationCollection

Inheritance: IEnumerable
Show file Open project: borisblizzard/arcreator Class Usage Examples

Private Properties

Property Type Description
CreateAnnotationInstance Annotation
ShouldSerialize bool

Public Methods

Method Description
ClearAll ( ) : void

Removes all annotations from the document.

This is equivalent to setting the Annotation.Text property to null for each line.

GetEnumerator ( ) : IEnumerator

Returns an enumerator for the AnnotationCollection.

this ( int lineIndex ) : Annotation

Gets the annotation at the specified line index.

Protected Methods

Method Description
AnnotationCollection ( Scintilla scintilla ) : System

Initializes a new instance of the AnnotationCollection class.

Private Methods

Method Description
CreateAnnotationInstance ( int lineIndex ) : Annotation
ShouldSerialize ( ) : bool

Method Details

AnnotationCollection() protected method

Initializes a new instance of the AnnotationCollection class.
protected AnnotationCollection ( Scintilla scintilla ) : System
scintilla Scintilla The control that created this object.
return System

ClearAll() public method

Removes all annotations from the document.
This is equivalent to setting the Annotation.Text property to null for each line.
public ClearAll ( ) : void
return void

GetEnumerator() public method

Returns an enumerator for the AnnotationCollection.
public GetEnumerator ( ) : IEnumerator
return IEnumerator

this() public method

Gets the annotation at the specified line index.
/// is less than zero. -or- /// is equal to or greater than . ///
public this ( int lineIndex ) : Annotation
lineIndex int The zero-based document line index of the annotation to get.
return Annotation