FoundryGtk.SourceBuffer¶
- Subclasses:
None
Methods¶
- Inherited:
GtkSource.Buffer (28), Gtk.TextBuffer (73), GObject.Object (37), Foundry.TextBuffer (10)
- Structs:
|
|
|
|
|
|
|
|
|
|
|
Virtual Methods¶
Properties¶
- Inherited:
GtkSource.Buffer (6), Gtk.TextBuffer (7), Foundry.TextBuffer (2)
Name |
Type |
Flags |
Short Description |
|---|---|---|---|
r/w/en |
Signals¶
- Inherited:
GtkSource.Buffer (4), Gtk.TextBuffer (15), GObject.Object (1)
Fields¶
- Inherited:
GtkSource.Buffer (4), Gtk.TextBuffer (15), GObject.Object (1)
Class Details¶
- class FoundryGtk.SourceBuffer(**kwargs)¶
- Bases:
- Abstract:
No
- Structure:
- comment(begin, end)¶
- Parameters:
begin (
Gtk.TextIter) – start of the text range to commentend (
Gtk.TextIter) – end of the text range to comment
Comments the specified text range using the appropriate comment syntax for the current language.
New in version 1.1.
- dup_context()¶
- Returns:
a [class`Foundry`.Context]
- Return type:
- dup_override_syntax()¶
-
Gets the syntax to be used, overriding any language guessing.
NULLindicates to use the default guessed syntax.
- uncomment(begin, end)¶
- Parameters:
begin (
Gtk.TextIter) – start of the text range to uncommentend (
Gtk.TextIter) – end of the text range to uncomment
Removes comment markers from the specified text range.
New in version 1.1.
Property Details¶
- FoundryGtk.SourceBuffer.props.override_syntax¶
- Name:
override-syntax- Type:
- Default Value:
- Flags:
The
GtkSource.Languageidentifier of the syntax to use, ignoring any guessed language.