- 17 May, 2022 1 commit
-
-
Christian Hergert authored
For a number of languages, we can help text editors choose a reasonable suffix for the filename using metadata properties. GNOME Text Editor, for example, will use this to prime the save changes dialog. Use gtk_source_language_get_property(lang, "suggested-name") first to get the suggested name, and if that is NULL, use "suggested-suffix" with a generated prefix (or leave it empty with the cursor set before the suffix in the filename entry).
-
- 29 Mar, 2022 1 commit
-
-
- 29 Sep, 2021 1 commit
-
-
Rico Tzschichholz authored
-
- 09 Sep, 2017 1 commit
-
-
- 06 Sep, 2017 1 commit
-
-
swilmet authored
Keep only the _section translatable, those make sense to translate. The language names (e.g. Swift, Kotlin, Maxima) should not be translated, for example if Maxima is translated the user will certainly be confused… The style names are not very useful to translate, because the user never sees those strings! It is used for example by a gedit plugin to create/edit style schemes. The style names are probably hard to translate anyway, and I'm sure that it was often translated in a way that the user didn't understand what it means… So, since those strings are extremely rarely used, and since they are hard to translate without context, it is better to not translate them at all. It's like GObject properties. Also, the *.lang file format doesn't support well translatable strings. Ideally each translatable string should have its own tag, with the translatable="yes" property, the possibility to add a context, etc.
-
- 25 Dec, 2016 1 commit
-
-
swilmet authored
It's much more convenient to open a web browser and go to gnu.org than writing to the FSF. It is legally correct to do this change, see: https://mail.gnome.org/archives/foundation-list/2016-September/msg00003.html "Re: GPLv2/LGPLv2.1: link to gnu.org instead of FSF address?" Done with the smart-c-comment-substitution and multi-line-substitution scripts available at: https://github.com/swilmet/gnome-c-utils
-
- 07 Feb, 2016 1 commit
-
-
Tobias Schönberg authored
The current lang file for vala is missing a context for regular expressions. This patch adds the regex definition from the javascript file which is an existing and very mature implementation. https://bugzilla.gnome.org/show_bug.cgi?id=697054 Fixes #697054
-
- 05 Feb, 2014 1 commit
-
-
- 25 Apr, 2011 1 commit
-
-
* Added extension support to *.vapi files * Support for verbatim strings (triple quoted strings) * Dropped standard string support since Vala supports multiline strings by default * Support for string templates highlighting Each string starting with @" is now parsed for variable references (using the $ prefix) or for expressions (using the $(expr) container) * Dropped support for strings with single quote (they are char's!) * Support for directives (#if, #else, #elif, #endif) * Support for #if 0, #if false comments * Support for @identifiers: they aren't highlighted now * Added async modifier keyword * Use void as a type * Support for Vala attributes * Support for types declaration highlighting * Support for gtk-doc syntax in comments * Fallback to c implementations for decimal, hexadecimal, float, octal and char (before not supported)
-
- 08 Jun, 2010 2 commits
-
-
Garrett Regier authored
Converted all package references that used gtksourceview to GtkSourceView.
-
Garrett Regier authored
-
- 18 May, 2010 1 commit
-
-
Garrett Regier authored
This also moves the styles from language-specs/ to styles/
-
- 31 Dec, 2009 1 commit
-
-
Jesse van den Kieboom authored
-
- 15 Jul, 2009 1 commit
-
-
Ignacio Casal Quinteiro authored
-
- 19 Dec, 2008 1 commit
-
-
Jürg Billeter authored
2008-12-19 Jürg Billeter <j@bitron.ch> * gtksourceview/language-specs/vala.lang: add owned, unowned, yield, and yields to keyword list svn path=/trunk/; revision=2109
-
- 09 Dec, 2008 1 commit
-
-
Ignacio Casal Quinteiro authored
2008-12-08 Ignacio Casal Quinteiro <nacho.resa@gmail.com> * gtksourceview/language-specs/vala.lang: * gtksourceview/language-specs/xslt.lang: Mark string for translation. svn path=/trunk/; revision=2098
-
- 25 Apr, 2008 1 commit
-
-
Jürg Billeter authored
2008-04-25 Juerg Billeter <j@bitron.ch> * gtksourceview/language-specs/vala.lang: update keyword list to match Vala 0.3.1 svn path=/trunk/; revision=1947
-
- 04 Sep, 2007 1 commit
-
-
Jürg Billeter authored
2007-09-04 Juerg Billeter <j@bitron.ch> * gtksourceview/language-specs/Makefile.am: * gtksourceview/language-specs/vala.lang: * po/POTFILES.in: Add syntax highlighting file for Vala. Fixes #471058. svn path=/trunk/; revision=1676
-
- 29 Jul, 2007 1 commit
-
-
Paolo Borelli authored
2007-07-29 Paolo Borelli <pborelli@katamail.com> * gtksourceview/language-specs/csharp.lang: highlight numbers. svn path=/trunk/; revision=1551
-
- 27 Jul, 2007 1 commit
-
-
Paolo Borelli authored
2007-07-27 Paolo Borelli <pborelli@katamail.com> * gtksourceview/language-specs/*.lang: Replace all uses of def:data-type with the new def:type and remove def:data-type from def.lang. Note that this is a plain search and replace it doesn't fix some lang file from abusing the type style. svn path=/trunk/; revision=1538
-
- 21 Jun, 2007 2 commits
-
-
Yevgen Muntyan authored
2007-06-20 Yevgen Muntyan <muntyan@tamu.edu> * gtksourceview/language-specs/csharp.lang: * gtksourceview/language-specs/desktop.lang: LGPL'ed. svn path=/trunk/; revision=1432
-
Yevgen Muntyan authored
2007-06-20 Yevgen Muntyan <muntyan@tamu.edu> Removed leftovers (broken) of /regex/opts syntax in lang files; removed dot-match-all (doing nothing) regex option. Made default-regex-options element use attributes instead of content like "xi". svn path=/trunk/; revision=1431
-
- 18 Jun, 2007 1 commit
-
-
Yevgen Muntyan authored
2007-06-17 Yevgen Muntyan <muntyan@tamu.edu> Continuing great relicensing. * README: updated the paragraph about licenses. * gtksourceview/language-specs/*: Added authors, contributors and license texts. svn path=/trunk/; revision=1412
-
- 25 May, 2007 1 commit
-
-
Steve Frécinaux authored
svn path=/trunk/; revision=1380
-
- 13 Dec, 2006 1 commit
-
-
Paolo Maggi authored
2006-12-13 Paolo Maggi <paolo@gnome.org> * gtksourceview/language-specs/ada.lang: * gtksourceview/language-specs/c.lang: * gtksourceview/language-specs/cpp.lang: * gtksourceview/language-specs/csharp.lang: * gtksourceview/language-specs/desktop.lang: * gtksourceview/language-specs/diff.lang: * gtksourceview/language-specs/javascript.lang: * gtksourceview/language-specs/perl.lang: * gtksourceview/language-specs/php.lang: * gtksourceview/language-specs/po.lang: * gtksourceview/language-specs/python.lang: * gtksourceview/language-specs/ruby.lang: * gtksourceview/language-specs/sh.lang: * gtksourceview/language-specs/tcl.lang: * gtksourceview/language-specs/xml.lang: mime-types cleanup (see bug #352549)
-
- 03 Aug, 2005 1 commit
-
-
Paolo Maggi authored
2005-08-03 Paolo Maggi <paolo@gnome.org> Fixed bug #307456: Multiline string literals in C# break syntax highlighting at end of line * gtksourceview/language-specs/csharp.lang: added support for @"" strings. Patch by Brion Vibber <brion@pobox.com>
-
- 05 Mar, 2004 1 commit
-
-
Paolo Maggi authored
2004-03-05 Paolo Maggi <paolo.maggi@polito.it> * gtksourceview/language-specs/csharp.lang: updated mime-types to work with the new shared-mime-info database (patch by Tim Vismor <tvismor@acm.org>).
-
- 21 Feb, 2004 1 commit
-
-
Gustavo Giráldez authored
2004-02-20 Gustavo Giráldez <gustavo.giraldez@gmx.net> * autogen.sh: * configure.in: Set DEPRECATED_FLAGS variable and compiler warnings according to maintainer mode (i.e. full deprecated flags and error compiler warnings if maintainer mode is on). * gtksourceview/Makefile.am: * tests/Makefile.am: Use DEPRECATED_FLAGS. * gtksourceview/language-specs/csharp.lang: Highlight "value" in C# (bug #134405, algol@firenze.linux.it). * gtksourceview/gtksourceregex.h: * gtksourceview/gtksourceregex.c (gtk_source_regex_search) (gtk_source_regex_match): Added options to disable beginning and end of line anchor matching at string ends. * gtksourceview/gtksourcebuffer.c (get_syntax_start) (get_syntax_end, next_syntax_region) (build_syntax_regions_table, update_syntax_regions) (search_patterns, check_pattern, highlight_region): Determine if the slice of text being analyzed starts at the beginning of a line or ends at the end of lin...
-
- 12 Feb, 2004 1 commit
-
-
Jeroen Zwartepoorte authored
2004-02-12 Jeroen Zwartepoorte <jeroen@xs4all.nl> * gtksourceview/language-specs/csharp.lang: Added an escape character to properly highlight things like strings-in-strings.
-
- 11 Dec, 2003 1 commit
-
-
Gustavo Giraldez authored
2003-12-10 Gustavo Giraldez <gustavo.giraldez@gmx.net> * gtksourceview/language-specs/csharp.lang: Support for C# highlighting (file from John Luke, bug 115040). * gtksourceview/language-specs/msil.lang: MSIL hightlighting spec (file from Antonio Ognio Cesti, bug 125252). * gtksourceview/language-specs/Makefile.am: Distribute csharp.lang and msil.lang.
-