gtksourceview-4 Reference Manual
Packages
gtksourceview-4
Gtk
Gtk.SourceUtils
gtksourceview-4
Description:
Content:
Namespaces:
Gtk
Interfaces:
SourceCompletionProposal
-
Interface for completion proposals.
SourceCompletionProvider
-
Completion provider interface.
SourceStyleSchemeChooser
-
Interface implemented by widgets for choosing style schemes.
SourceUndoManager
Classes:
SourceBuffer
-
Subclass of [class@Gtk.
SourceCompletion
-
Main Completion Object.
SourceCompletionContext
-
The context of a completion.
SourceCompletionInfo
SourceCompletionItem
SourceCompletionWords
-
A [ iface@CompletionProvider] for the completion of words.
SourceEncoding
-
Character encoding.
SourceFile
-
On-disk representation of a [class@Buffer ].
SourceFileLoader
-
Load a file into a GtkSourceBuffer.
SourceFileSaver
-
Save a [class@Buffer] into a file.
SourceGutter
-
Gutter object for [class@View].
SourceGutterRenderer
-
Gutter cell renderer.
SourceGutterRendererPixbuf
-
Renders a pixbuf in the gutter.
SourceGutterRendererText
-
Renders text in the gutter.
SourceLanguage
-
Represents a syntax highlighted language.
SourceLanguageManager
-
Provides access to [class@Language]s.
SourceMap
-
Widget that displays a map for a specific [ class@View].
SourceMark
-
Mark object for [class@Buffer].
SourceMarkAttributes
-
The source mark attributes object.
SourcePrintCompositor
-
Compose a [ class@Buffer] for printing.
SourceRegion
-
Region utility.
SourceSearchContext
-
Search context.
SourceSearchSettings
-
Search settings.
SourceSpaceDrawer
-
Represent white space characters with symbols.
SourceStyle
-
Represents a style.
SourceStyleScheme
-
Controls the appearance of [class@View].
SourceStyleSchemeChooserButton
-
A button to launch a style scheme selection dialog.
SourceStyleSchemeChooserWidget
-
A widget for choosing style schemes.
SourceStyleSchemeManager
-
Provides access to [class@StyleScheme]s.
SourceTag
-
A tag that can be applied to text in a [ class@Buffer].
SourceView
-
Subclass of [class@Gtk.
Structs:
SourceRegionIter
-
An opaque datatype.
Enums:
SourceBackgroundPatternType
SourceBracketMatchType
SourceChangeCaseType
SourceCompletionActivation
SourceCompressionType
SourceFileSaverFlags
-
Flags to define the behavior of a [flags@FileSaverFlags].
SourceGutterRendererAlignmentMode
-
The alignment mode of the renderer, when a cell spans multiple lines (due to text wrapping).
SourceGutterRendererState
SourceNewlineType
SourceSmartHomeEndType
SourceSortFlags
SourceSpaceLocationFlags
-
SourceSpaceLocationFlags
contains flags for white space locations.
SourceSpaceTypeFlags
-
SourceSpaceTypeFlags
contains flags for white space types.
SourceViewGutterPosition
Error domains:
SourceCompletionError
-
An error code used with
gtk_source_completion_error
in a
Error
returned from a completion-related function.
SourceFileLoaderError
-
An error code used with the
gtk_source_file_loader_error
domain.
SourceFileSaverError
-
An error code used with the
gtk_source_file_saver_error
domain.
Methods:
public
void
Sourcefinalize
()
Free the resources allocated by GtkSourceView.
public
void
Sourceinit
()
Initializes the GtkSourceView library (e.
SourceUtils
Methods:
public
string
escape_search_text
(
string
text)
Use this function to escape the following characters: `\n`, `\r`, `\t` and `\`.
public
string
unescape_search_text
(
string
text)
Use this function before [method@SearchSettings.