Package org.gnome.gtksourceview
package org.gnome.gtksourceview
A text editor widget for code editing
The following native libraries are required and will be loaded: libgtksourceview-5.so
For namespace-global declarations, refer to the GtkSource class documentation.
Utils
Utility functions.-
ClassDescriptionRepresents an annotation added to
View, it has aAnnotation:lineproperty,Annotation:description, icon and a style.Annotation.Builder<B extends Annotation.Builder<B>>Inner class implementing a builder pattern to construct a GObject with properties.It is used to provide annotations and display them onViewand also populateHoverDisplaywhen the user hovers over an annotation.AnnotationProvider.Builder<B extends AnnotationProvider.Builder<B>>Inner class implementing a builder pattern to construct a GObject with properties.Functional interface declaration of theChangedCallbackcallback.Use this object to manageAnnotations.Annotations.Builder<B extends Annotations.Builder<B>>Inner class implementing a builder pattern to construct a GObject with properties.Functional interface declaration of theChangedCallbackcallback.Subclass ofTextBuffer.Functional interface declaration of theBracketMatchedCallbackcallback.Buffer.Builder<B extends Buffer.Builder<B>>Inner class implementing a builder pattern to construct a GObject with properties.Functional interface declaration of theCursorMovedCallbackcallback.Functional interface declaration of theHighlightUpdatedCallbackcallback.Functional interface declaration of theSourceMarkUpdatedCallbackcallback.Main Completion Object.Completion.Builder<B extends Completion.Builder<B>>Inner class implementing a builder pattern to construct a GObject with properties.Functional interface declaration of theHideCallbackcallback.Functional interface declaration of theProviderAddedCallbackcallback.Functional interface declaration of theProviderRemovedCallbackcallback.Functional interface declaration of theShowCallbackcallback.Widget for single cell of completion proposal.CompletionCell.Builder<B extends CompletionCell.Builder<B>>Inner class implementing a builder pattern to construct a GObject with properties.CompletionContext<T extends GObject>The context of a completion.CompletionContext.Builder<B extends CompletionContext.Builder<B>>Inner class implementing a builder pattern to construct a GObject with properties.CompletionContext.CompletionContextClass<T extends GObject>Functional interface declaration of theProviderModelChangedCallbackcallback.Interface for completion proposals.The CompletionProposal$Impl type represents a native instance of the CompletionProposal interface.Completion provider interface.The CompletionProvider$Impl type represents a native instance of the CompletionProvider interface.ACompletionProviderfor the completion of snippets.CompletionSnippets.Builder<B extends CompletionSnippets.Builder<B>>Inner class implementing a builder pattern to construct a GObject with properties.ACompletionProviderfor the completion of words.CompletionWords.Builder<B extends CompletionWords.Builder<B>>Inner class implementing a builder pattern to construct a GObject with properties.Character encoding.On-disk representation of aBuffer.File.Builder<B extends File.Builder<B>>Inner class implementing a builder pattern to construct a GObject with properties.Load a file into a GtkSourceBuffer.FileLoader.Builder<B extends FileLoader.Builder<B>>Inner class implementing a builder pattern to construct a GObject with properties.An error code used with theGTK_SOURCE_FILE_LOADER_ERRORdomain.Save aBufferinto a file.FileSaver.Builder<B extends FileSaver.Builder<B>>Inner class implementing a builder pattern to construct a GObject with properties.An error code used with theGTK_SOURCE_FILE_SAVER_ERRORdomain.Flags to define the behavior of aFileSaverFlags.Constants and functions that are declared in the global GtkSource namespace.Gutter object forView.Gutter.Builder<B extends Gutter.Builder<B>>Inner class implementing a builder pattern to construct a GObject with properties.Collected information about visible lines.GutterLines.Builder<B extends GutterLines.Builder<B>>Inner class implementing a builder pattern to construct a GObject with properties.Gutter cell renderer.Functional interface declaration of theActivateCallbackcallback.GutterRenderer.Builder<B extends GutterRenderer.Builder<B>>Inner class implementing a builder pattern to construct a GObject with properties.The GutterRenderer$Impl type represents a native instance of the abstract GutterRenderer class.Functional interface declaration of theQueryActivatableCallbackcallback.Functional interface declaration of theQueryDataCallbackcallback.The alignment mode of the renderer, when a cell spans multiple lines (due to text wrapping).Renders a pixbuf in the gutter.GutterRendererPixbuf.Builder<B extends GutterRendererPixbuf.Builder<B>>Inner class implementing a builder pattern to construct a GObject with properties.Renders text in the gutter.GutterRendererText.Builder<B extends GutterRendererText.Builder<B>>Inner class implementing a builder pattern to construct a GObject with properties.Interactive tooltips.Hover.Builder<B extends Hover.Builder<B>>Inner class implementing a builder pattern to construct a GObject with properties.Context for populatingHoverDisplaycontents.HoverContext.Builder<B extends HoverContext.Builder<B>>Inner class implementing a builder pattern to construct a GObject with properties.Display for interactive tooltips.HoverDisplay.Builder<B extends HoverDisplay.Builder<B>>Inner class implementing a builder pattern to construct a GObject with properties.Interface to populate interactive tooltips.The HoverProvider$Impl type represents a native instance of the HoverProvider interface.Auto-indentation interface.The Indenter$Impl type represents a native instance of the Indenter interface.The virtual function table forGtkSourceIndenter.Represents a syntax highlighted language.Language.Builder<B extends Language.Builder<B>>Inner class implementing a builder pattern to construct a GObject with properties.Provides access toLanguages.LanguageManager.Builder<B extends LanguageManager.Builder<B>>Inner class implementing a builder pattern to construct a GObject with properties.Widget that displays a map for a specificView.Map.Builder<B extends Map.Builder<B>>Inner class implementing a builder pattern to construct a GObject with properties.Mark object forBuffer.Mark.Builder<B extends Mark.Builder<B>>Inner class implementing a builder pattern to construct a GObject with properties.The source mark attributes object.MarkAttributes.Builder<B extends MarkAttributes.Builder<B>>Inner class implementing a builder pattern to construct a GObject with properties.Functional interface declaration of theQueryTooltipMarkupCallbackcallback.Functional interface declaration of theQueryTooltipTextCallbackcallback.Functional interface declaration of theMountOperationFactorycallback.Compose aBufferfor printing.PrintCompositor.Builder<B extends PrintCompositor.Builder<B>>Inner class implementing a builder pattern to construct a GObject with properties.Region utility.Region.Builder<B extends Region.Builder<B>>Inner class implementing a builder pattern to construct a GObject with properties.An opaque datatype.Functional interface declaration of theSchedulerCallbackcallback.Search context.SearchContext.Builder<B extends SearchContext.Builder<B>>Inner class implementing a builder pattern to construct a GObject with properties.Search settings.SearchSettings.Builder<B extends SearchSettings.Builder<B>>Inner class implementing a builder pattern to construct a GObject with properties.Quick insertion code snippets.Snippet.Builder<B extends Snippet.Builder<B>>Inner class implementing a builder pattern to construct a GObject with properties.A chunk of text within the source snippet.SnippetChunk.Builder<B extends SnippetChunk.Builder<B>>Inner class implementing a builder pattern to construct a GObject with properties.Context for expandingSnippetChunk.SnippetContext.Builder<B extends SnippetContext.Builder<B>>Inner class implementing a builder pattern to construct a GObject with properties.Functional interface declaration of theChangedCallbackcallback.Provides access toSnippet.SnippetManager.Builder<B extends SnippetManager.Builder<B>>Inner class implementing a builder pattern to construct a GObject with properties.Represent white space characters with symbols.SpaceDrawer.Builder<B extends SpaceDrawer.Builder<B>>Inner class implementing a builder pattern to construct a GObject with properties.GtkSourceSpaceLocationFlagscontains flags for white space locations.GtkSourceSpaceTypeFlagscontains flags for white space types.Represents a style.Style.Builder<B extends Style.Builder<B>>Inner class implementing a builder pattern to construct a GObject with properties.Controls the appearance ofView.StyleScheme.Builder<B extends StyleScheme.Builder<B>>Inner class implementing a builder pattern to construct a GObject with properties.Interface implemented by widgets for choosing style schemes.StyleSchemeChooser.Builder<B extends Builder<B>>The StyleSchemeChooser$Impl type represents a native instance of the StyleSchemeChooser interface.A button to launch a style scheme selection dialog.Inner class implementing a builder pattern to construct a GObject with properties.A widget for choosing style schemes.Inner class implementing a builder pattern to construct a GObject with properties.Provides access toStyleSchemes.StyleSchemeManager.Builder<B extends StyleSchemeManager.Builder<B>>Inner class implementing a builder pattern to construct a GObject with properties.A preview widget forStyleScheme.Functional interface declaration of theActivateCallbackcallback.StyleSchemePreview.Builder<B extends StyleSchemePreview.Builder<B>>Inner class implementing a builder pattern to construct a GObject with properties.A tag that can be applied to text in aBuffer.Tag.Builder<B extends Tag.Builder<B>>Inner class implementing a builder pattern to construct a GObject with properties.Subclass ofTextView.View.Builder<B extends View.Builder<B>>Inner class implementing a builder pattern to construct a GObject with properties.Functional interface declaration of theChangeCaseCallbackcallback.Functional interface declaration of theChangeNumberCallbackcallback.Functional interface declaration of theJoinLinesCallbackcallback.Functional interface declaration of theLineMarkActivatedCallbackcallback.Functional interface declaration of theMoveLinesCallbackcallback.Functional interface declaration of theMoveToMatchingBracketCallbackcallback.Functional interface declaration of theMoveWordsCallbackcallback.Functional interface declaration of thePushSnippetCallbackcallback.Functional interface declaration of theShowCompletionCallbackcallback.Functional interface declaration of theSmartHomeEndCallbackcallback.Vim emulation.VimIMContext.Builder<B extends VimIMContext.Builder<B>>Inner class implementing a builder pattern to construct a GObject with properties.Functional interface declaration of theEditCallbackcallback.Functional interface declaration of theExecuteCommandCallbackcallback.Functional interface declaration of theFormatTextCallbackcallback.Functional interface declaration of theWriteCallbackcallback.