Crate sourceview5
source ·Expand description
Re-exports§
pub use ffi;
Modules§
- Traits intended for creating custom types.
Structs§
- Subclass of
gtk::TextBuffer
. - Main Completion Object.
- Widget for single cell of completion proposal.
- The context of a completion.
- Interface for completion proposals.
- Completion provider interface.
- A
CompletionProvider
for the completion of snippets. - A
CompletionProvider
for the completion of words. - Character encoding.
- On-disk representation of a
Buffer
. - Load a file into a GtkSourceBuffer.
- Save a
Buffer
into a file. - Flags to define the behavior of a
FileSaverFlags
. - Gutter object for
View
. - Collected information about visible lines.
- Gutter cell renderer.
- Renders a pixbuf in the gutter.
- Renders text in the gutter.
- Interactive tooltips.
- Context for populating
HoverDisplay
contents. - Display for interactive tooltips.
- Interface to populate interactive tooltips.
- Auto-indentation interface.
- Represents a syntax highlighted language.
- Provides access to
Language
s. - Widget that displays a map for a specific
View
. - Mark object for
Buffer
. - The source mark attributes object.
- Compose a
Buffer
for printing. - Region utility.
- An opaque datatype.
- Search context.
- Search settings.
- Quick insertion code snippets.
- A chunk of text within the source snippet.
- Context for expanding
SnippetChunk
. - Provides access to
Snippet
. - Represent white space characters with symbols.
- #GtkSourceSpaceLocationFlags contains flags for white space locations.
- #GtkSourceSpaceTypeFlags contains flags for white space types.
- Represents a style.
- Controls the appearance of
View
. - Interface implemented by widgets for choosing style schemes.
- A button to launch a style scheme selection dialog.
- A widget for choosing style schemes.
- Provides access to
StyleScheme
s. - A preview widget for
StyleScheme
. - A tag that can be applied to text in a
Buffer
. - Subclass of
gtk::TextView
. - Vim emulation.
Enums§
- An error code used with the
GTK_SOURCE_FILE_LOADER_ERROR
domain. - An error code used with the
GTK_SOURCE_FILE_SAVER_ERROR
domain. - The alignment mode of the renderer, when a cell spans multiple lines (due to text wrapping).
Functions§
- Like GTK_SOURCE_CHECK_VERSION, but the check for gtk_source_check_version is at runtime instead of compile time. This is useful for compiling against older versions of GtkSourceView, but using features from newer versions.
- Free the resources allocated by GtkSourceView. For example it unrefs the singleton objects.
- Initializes the GtkSourceView library (e.g. for the internationalization).
- Returns the major version number of the GtkSourceView library. (e.g. in GtkSourceView version 3.20.0 this is 3.)
- Returns the micro version number of the GtkSourceView library. (e.g. in GtkSourceView version 3.20.0 this is 0.)
- Returns the minor version number of the GtkSourceView library. (e.g. in GtkSourceView version 3.20.0 this is 20.)
- Simplified version of
scheduler_add_full()
. - Adds a new callback that will be executed as time permits on the main thread.
- Removes a scheduler callback previously registered with
scheduler_add()
orscheduler_add_full()
. - Use this function to escape the following characters:
\n
,\r
,\t
and\
. - Use this function before
SearchSettingsExt::set_search_text()
, to unescape the following sequences of characters:\n
,\r
,\t
and\\
. The purpose is to easily write those characters in a search entry.