Class orion.editor.FoldingAnnotation
This object represents a folding annotation.
Defined in: </shared/eclipse/e4/orion/I201404012230/bundles/org.eclipse.orion.client.editor/web/orion/editor/annotations.js>.
Constructor Attributes | Constructor Name and Description |
---|---|
orion.editor.FoldingAnnotation(start, end, projectionModel)
Constructs a new folding annotation.
|
Method Attributes | Method Name and Description |
---|---|
collapse()
Collapses the annotation.
|
|
expand()
Expands the annotation.
|
Class Detail
orion.editor.FoldingAnnotation(start, end, projectionModel)
Constructs a new folding annotation.
- Parameters:
- {Number} start
- The start offset of the annotation in the text model.
- {Number} end
- The end offset of the annotation in the text model.
- {orion.editor.ProjectionTextModel} projectionModel
- The projection text model.
Method Detail
collapse()
Collapses the annotation.
expand()
Expands the annotation.