Represents a gutter within a TextEditor.
See TextEditor::addGutter for information on creating a gutter.
Destroys the gutter.
Calls your callback when the gutter’s visibility changes.
| Argument | Description |
|---|---|
|
|
|
|
|
The gutter whose visibility changed. |
| Return values |
|---|
|
Returns a Disposable on which |
Calls your callback when the gutter is destroyed.
| Argument | Description |
|---|---|
|
|
| Return values |
|---|
|
Returns a Disposable on which |
Hide the gutter.
Show the gutter.
Add a decoration that tracks a DisplayMarker. When the marker moves, is invalidated, or is destroyed, the decoration will be updated to reflect the marker’s state.
| Argument | Description |
|---|---|
|
|
A DisplayMarker you want this decoration to follow. |
|
|
An Object representing the decoration. It is passed to TextEditor::decorateMarker as its |
|
|
Caveat: set to |
| Return values |
|---|
|
Returns a Decoration object |