Top |
GFlags ╰── TeplGutterRendererFoldsState GObject ╰── GInitiallyUnowned ╰── GtkSourceGutterRenderer ╰── TeplGutterRendererFolds
TeplGutterRendererFolds is a basic gutter renderer for code folding. It handles only the drawing, and has a flat view of the folding tree.
GtkSourceGutterRenderer *
tepl_gutter_renderer_folds_new (void
);
Since: 1.0
void tepl_gutter_renderer_folds_set_state (TeplGutterRendererFolds *self
,TeplGutterRendererFoldsState state
);
Sets the folding state of the next cell to be drawn.
This function is intended to be called from a subclass' draw method before chaining-up to its parent's draw method.
Since: 1.0
The folding state at a certain line in the GtkTextBuffer.
Since TeplGutterRendererFolds has a flat view of the folding tree, some
states can be combined; for example, TEPL_GUTTER_RENDERER_FOLDS_STATE_END
and TEPL_GUTTER_RENDERER_FOLDS_STATE_CONTINUE
.
No code folding here. |
||
Start of currently folded fold region. |
||
Start of currently opened fold region. |
||
Fold region continues. |
||
End of fold region. |
Since: 1.0