Map global types (read from tags files) to keyword style for filetype Java.

git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@4287 ea778897-0a13-0410-b9d1-a72fbfd435f5
This commit is contained in:
Enrico Tröger 2009-10-03 16:35:34 +00:00
parent a41e95b392
commit 62c474ffad
2 changed files with 6 additions and 0 deletions

View File

@ -6,6 +6,9 @@
* src/printing.c:
Enable embedded page setup properties in the (Unix) Print dialog
on newer GTK versions (closes #2870596).
* src/highlighting.c:
Map global types (read from tags files) to keyword style for
filetype Java.
2009-10-01 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>

View File

@ -1502,6 +1502,9 @@ static void styleset_java(ScintillaObject *sci)
sci_set_keywords(sci, 2, style_sets[GEANY_FILETYPES_JAVA].keywords[2]);
sci_set_keywords(sci, 4, style_sets[GEANY_FILETYPES_JAVA].keywords[3]);
/* assign global types, merge them with user defined keywords and set them */
assign_global_and_user_keywords(sci, style_sets[ft_id].keywords[1], filetypes[ft_id]->lang);
styleset_c_like(sci, GEANY_FILETYPES_JAVA);
}