gtksourceview4
« Back to VersTracker
Description:
Text view with syntax, undo/redo, and text marks
Type: Formula  |  Tracked Since: Dec 28, 2025
Links: Homepage  |  @gnome  |  formulae.brew.sh
Category: Developer tools
Tags: gtk gui text-editor library gnome development
Install: brew install gtksourceview4
About:
Gtksourceview4 is a GNOME library that extends the standard GTK text view widget. It provides advanced features for text editing, including syntax highlighting for multiple programming languages, an undo/redo framework, and support for text marks and annotations. This makes it an essential component for building sophisticated code editors and IDEs on Linux.
Key Features:
  • Syntax highlighting for various programming and markup languages
  • Built-in undo/redo manager for text buffers
  • Support for text marks, annotations, and code folding
  • Language specification files for easy grammar definition
Use Cases:
  • Developing text editors or Integrated Development Environments (IDEs)
  • Adding syntax highlighting to any GTK-based application
  • Creating rich text or code-aware user interface components
Alternatives:
  • Scintilla – A mature, cross-platform text editing component, but is not native to the GTK ecosystem.
  • Qt's QScintilla – The Qt binding for Scintilla, suitable for applications built with the Qt framework.
Version History
Detected Version Rev Change Commit
Sep 14, 2025 11:24pm 1 VERSION_BUMP cfe5d8b8
Sep 12, 2024 4:08pm 1 VERSION_BUMP 4071cec3