Class orion.textview.FoldingAnnotation
This object represents a folding annotation.
Defined in: </shared/eclipse/e4/orion/I201301232230/plugins/org.eclipse.orion.client.editor/web/orion/textview/annotations.js>.
Constructor Attributes | Constructor Name and Description |
---|---|
orion.textview.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.textview.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.textview.ProjectionTextModel} projectionModel
- The projection text model.
Method Detail
collapse()
Collapses the annotation.
expand()
Expands the annotation.