No description
  • C 91.5%
  • TypeScript 2.2%
  • JavaScript 1.2%
  • Meson 0.8%
  • Objective-J 0.7%
  • Other 2.4%
Find a file
2026-07-05 04:39:25 +03:00
.gitlab-ci .gitlab-ci: update to Fedora 37 2023-01-10 15:21:34 -08:00
data php.lang: highlight php 8.0 attributes 2025-10-08 15:42:44 +02:00
docs Rename HACKING to CONTRIBUTING.md 2025-06-25 07:58:56 +02:00
gtksourceview use pango units when calculating tab width instead of pixels 2026-07-05 04:39:25 +03:00
po Update German translation 2026-06-23 20:01:17 +00:00
subprojects meson: Update pcre2 wrap 2022-09-10 12:52:13 -04:00
tests php.lang: highlight php 8.0 attributes 2025-10-08 15:42:44 +02:00
testsuite security: centralize file loader arithmetic checks 2026-05-15 16:15:59 +02:00
.editorconfig .editorconfig: config for *.lang 2023-02-26 18:18:12 +01:00
.gitignore .gitignore: add .flatpak-builder 2023-05-17 12:41:43 -07:00
.gitlab-ci.yml ci: Add basic-ci component 2025-08-11 20:05:59 -07:00
AUTHORS Update my email address 2024-07-26 15:35:07 +02:00
CONTRIBUTING.md CONTRIBUTING.md: convert to Markdown 2025-06-25 08:03:37 +02:00
COPYING Get rid of GPL, GtkSourceView is fully relicensed to LGPL 2014-07-21 14:33:15 +02:00
gtksourceview.doap docs: update project description 2024-07-27 20:49:57 +02:00
meson.build Bump verison for development 2026-05-15 16:15:58 +02:00
meson_options.txt build: minor: fix an option description 2025-06-22 14:56:47 +02:00
NEWS Release 5.20.0 2026-03-16 13:22:41 -07:00
org.gnome.GtkSourceView.TestWidget.json build: add -Dbuild-testsuite configuration option 2024-01-15 15:56:39 -08:00
README.md build: bump to GLib 2.76 for g_set_str() 2025-07-02 16:53:28 -07:00
README.win32.md README.win32.md: Use UNIX line endings 2022-06-24 18:36:35 +00:00

GtkSourceView

GtkSourceView is a GNOME library that extends GtkTextView, the standard GTK widget for multiline text editing. GtkSourceView adds support for syntax highlighting, file loading and saving, search and replace, code completion, snippets, Vim emulation, printing, displaying line numbers, and other features typical of a source code editor.

The GtkSourceView library is free software and is released under the terms of the GNU Lesser General Public License, see the COPYING file for more details.

Dependencies

  • GLib >= 2.76
  • GTK >= 4.17
  • libxml2 >= 2.6
  • fribidi >= 0.19.7
  • libpcre2-8 >= 10.21

Installation

Simple install procedure from a tarball:

  $ meson setup build .
  $ cd build
  $ ninja install

To run the test suite:

  $ ninja test

To build the latest version of GtkSourceView plus its dependencies from Git, JHBuild is recommended.

How to contribute

See the CONTRIBUTING.md file.