The SourceBuffer class is the model for GtkSourceView.SourceView widgets. It extends the Gtk.TextBuffer class by adding features necessary to display and edit source code: syntax highlighting, bracket matching and markers. It also implements support for undo/redo operations.
By default highlighting is enabled, but you can disable it with SourceBuffer.Highlight. This can be useful if you're not using GtkSourceView.SourceLanguage classes to set the highlighting patterns, and instead you're manually adding GtkSourceView.SourceTag classes to the buffer's tag table.
Namespace: GtkSourceView Assembly: gtksourceview-sharp (in gtksourceview-sharp.dll) Assembly Versions: 0.0.0.0