Core Features
GtkSourceView provides many features typical of a source code editor, including
- Accurate syntax highlighting for most popular programming languages (C, C++, Java, C#, Fortran, etc.), scripting languages (sh, Python, Perl, Ruby, PHP, TCL, etc.), markup languages (XML, HTML, DocBook, LaTeX, etc.) and many others
- Unlimited Undo/Redo
- Printing through easy integration with the GtkPrintOperation API
- Current line highlighting
- Matching bracket highlighting
- Line numbers
- Extensible completion framework
- Line marks (useful for bookmarks, breakpoints, etc.)
- Right margin
- Customizable visual style using style schemes
- Extended keyboard navigation (smart HOME/END, auto indentation, line moving, etc.)
Language Bindings
GtkSourceView can be used from many programming languages. Thanks to GObject Introspection, automatic bindings are available for JavaScript, Python, Vala and others.
There are also manual bindings for the following languages, but they are perhaps outdated: