Enrico Tröger
243e8d0c3c
Fix typo in 'pseudo_elements' keyword type name.
...
Change style for pseudo elements to bold and italic.
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@3135 ea778897-0a13-0410-b9d1-a72fbfd435f5
2008-10-20 17:23:48 +00:00
Enrico Tröger
0267132ec9
Update CSS keyword lists and a few styles (patch by Jason Oster, thanks).
...
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@3123 ea778897-0a13-0410-b9d1-a72fbfd435f5
2008-10-18 17:00:29 +00:00
Enrico Tröger
e25677a1c3
Add new styles and keyword types for filetype CSS.
...
Remove default keywords from highlighting.c.
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@3122 ea778897-0a13-0410-b9d1-a72fbfd435f5
2008-10-18 17:00:03 +00:00
Enrico Tröger
4551e62064
Add new style 'Changed' to filetype Diff.
...
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@3115 ea778897-0a13-0410-b9d1-a72fbfd435f5
2008-10-18 10:56:35 +00:00
Enrico Tröger
aebe1b346c
Fix again colouring for filetype None.
...
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@3098 ea778897-0a13-0410-b9d1-a72fbfd435f5
2008-10-15 14:14:48 +00:00
Enrico Tröger
ca464c2c8b
Fix regression: clear all styles for filetype None to not break the 'invert_all' option.
...
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@3071 ea778897-0a13-0410-b9d1-a72fbfd435f5
2008-10-12 17:51:38 +00:00
Nick Treleaven
75f2386eeb
Remove unused argument ft_id from styleset_common().
...
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@3031 ea778897-0a13-0410-b9d1-a72fbfd435f5
2008-10-01 17:26:15 +00:00
Nick Treleaven
604a981482
Fix using common styleset for filetype None.
...
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@3030 ea778897-0a13-0410-b9d1-a72fbfd435f5
2008-10-01 17:17:33 +00:00
Enrico Tröger
d60ae9bbf1
Fix syntax highlighting for filetype R, synchronise the colours with those other filetypes.
...
Add two more keyword types and add many many more keywords.
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@3023 ea778897-0a13-0410-b9d1-a72fbfd435f5
2008-09-29 18:10:42 +00:00
Enrico Tröger
7ba3f99488
Don't use hard-coded stylebits values for different lexers, query the correct value from Scintilla and use it (this fixes a display problem with Perl code like 'sub test()').
...
Add missing styles for filetype Perl.
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@3019 ea778897-0a13-0410-b9d1-a72fbfd435f5
2008-09-28 18:07:08 +00:00
Enrico Tröger
087872260f
Add new filetype 'Gettext translation file' ( closes #2131985 ).
...
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@3018 ea778897-0a13-0410-b9d1-a72fbfd435f5
2008-09-28 16:32:49 +00:00
Nick Treleaven
59cb3b2cce
Apply patch from Andrew Rowland to add support for the R language
...
(thanks, #2121502 ).
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@3004 ea778897-0a13-0410-b9d1-a72fbfd435f5
2008-09-26 12:23:59 +00:00
Enrico Tröger
83d6c2e8e2
Fix using direct Scintilla access in document.c and callbacks.
...
Add wrapper functions instead.
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@3000 ea778897-0a13-0410-b9d1-a72fbfd435f5
2008-09-25 18:29:53 +00:00
Enrico Tröger
a6ce9b8a6d
Replace the usage of the old Scintilla indicator API by the new modern API and remove old hacks (patch by Jason Oster, thanks).
...
Add new sci_indic_clear() function to the plugin API.
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@2966 ea778897-0a13-0410-b9d1-a72fbfd435f5
2008-09-17 18:05:27 +00:00
Enrico Tröger
46d790cdeb
Add missing 'directive' style to filetype CSS (patch from Jason Oster, #2114697 , thanks).
...
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@2962 ea778897-0a13-0410-b9d1-a72fbfd435f5
2008-09-17 18:00:37 +00:00
Enrico Tröger
d860305049
Add missing HTML attribute 'xml:lang'.
...
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@2932 ea778897-0a13-0410-b9d1-a72fbfd435f5
2008-09-10 11:28:33 +00:00
Nick Treleaven
6ce421f141
Add OpenGL Shader Language (GLSL) filetype (patch from Colomban
...
Wendling, thanks; closes #2060961 ).
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@2908 ea778897-0a13-0410-b9d1-a72fbfd435f5
2008-08-27 12:44:54 +00:00
Nick Treleaven
a2fbc3a949
Rename HighlightingStyle to GeanyLexerStyle.
...
Add dox for highlighting_get_style(), GeanyLexerStyle, mentioning
SCI_STYLEGETFORE.
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@2903 ea778897-0a13-0410-b9d1-a72fbfd435f5
2008-08-26 12:43:46 +00:00
Nick Treleaven
346967c112
Add assert statements to check that the StyleSet styling arrays are
...
not exceeded.
(Also make highlighting_get_style() work with all filetypes, but
probably we should remove this from the API; plugins could just use
the SCI_STYLEGET* functions instead).
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@2902 ea778897-0a13-0410-b9d1-a72fbfd435f5
2008-08-26 09:48:18 +00:00
Enrico Tröger
ee3db9554a
Add some keywords for filetype SQL (patch by Felipe Pena, thanks).
...
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@2850 ea778897-0a13-0410-b9d1-a72fbfd435f5
2008-08-01 15:56:37 +00:00
Enrico Tröger
7cd303af3f
Add four new PHP 5.3 keywords (patch by Felipe Pena, thanks).
...
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@2846 ea778897-0a13-0410-b9d1-a72fbfd435f5
2008-08-01 15:52:42 +00:00
Enrico Tröger
56de0f6641
Add missing "error" and heredoc styles to filetype Shellscript (related to #2026853 ).
...
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@2814 ea778897-0a13-0410-b9d1-a72fbfd435f5
2008-07-25 09:48:55 +00:00
Enrico Tröger
ed016dc093
Split filetype Fortran into Fortran 77 and Fortran 90.
...
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@2777 ea778897-0a13-0410-b9d1-a72fbfd435f5
2008-07-14 18:27:20 +00:00
Enrico Tröger
1a1361db57
In templates_free_templates() destroy also file template menu items.
...
Add reload argument to filetypes_load_config() to allow re-reading of the settings.
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@2737 ea778897-0a13-0410-b9d1-a72fbfd435f5
2008-06-30 15:59:00 +00:00
Enrico Tröger
340dccfb73
Remove hotspot code as it was never really used.
...
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@2572 ea778897-0a13-0410-b9d1-a72fbfd435f5
2008-05-12 12:28:34 +00:00
Enrico Tröger
abfbc59c3f
Use Javascript styles for any VBScript and ASP code embedded in a HTML file.
...
Use Python styles for embedded Python code.
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@2570 ea778897-0a13-0410-b9d1-a72fbfd435f5
2008-05-12 12:20:49 +00:00
Nick Treleaven
00c722966c
Rename GEANY_FILETYPES_ALL GEANY_FILETYPES_NONE.
...
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/branches/custom-filetypes@2556 ea778897-0a13-0410-b9d1-a72fbfd435f5
2008-05-07 13:54:21 +00:00
Nick Treleaven
67316db4c5
Remove GEANY_MAX_FILE_TYPES and replace most uses of it with
...
filetypes_array->len.
Highlighting and templates now use GEANY_MAX_BUILT_IN_FILETYPES.
Move print_filetypes() out of parse_command_line_options();
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/branches/custom-filetypes@2553 ea778897-0a13-0410-b9d1-a72fbfd435f5
2008-05-07 11:34:38 +00:00
Enrico Tröger
cec6e18c61
Unify the embedded JavaScript styles with the styles of the JavaScript filetype for a more consistent styling of JavaScript in general.
...
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@2525 ea778897-0a13-0410-b9d1-a72fbfd435f5
2008-04-24 14:17:11 +00:00
Enrico Tröger
86c710e612
Update PHP keywords ( closes #1939931 ).
...
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@2473 ea778897-0a13-0410-b9d1-a72fbfd435f5
2008-04-11 15:59:44 +00:00
Enrico Tröger
5c01fffbc8
Add styles to customize line and search marker and add translucency setting.
...
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@2387 ea778897-0a13-0410-b9d1-a72fbfd435f5
2008-03-23 14:57:53 +00:00
Enrico Tröger
d8f028f888
Add additional keyword group for python and slightly change the foreground colour for style "word2".
...
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@2357 ea778897-0a13-0410-b9d1-a72fbfd435f5
2008-03-17 17:22:24 +00:00
Enrico Tröger
820c09ecfa
Add opton to style "caret" to change the caret into a block caret.
...
Add new styles "translucency", "line_wrap_visuals" and "line_wrap_indent" to filetypes.common (#1905141 ).
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@2312 ea778897-0a13-0410-b9d1-a72fbfd435f5
2008-03-07 15:42:46 +00:00
Enrico Tröger
b7bfb2743a
Replace all C++-style comments with usual C-like multi-line comments.
...
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@2287 ea778897-0a13-0410-b9d1-a72fbfd435f5
2008-02-27 13:17:29 +00:00
Nick Treleaven
d705dde953
Move symbols_global_tags_loaded() out of styleset_common().
...
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@2285 ea778897-0a13-0410-b9d1-a72fbfd435f5
2008-02-26 17:11:02 +00:00
Enrico Tröger
85f73129c0
Apply patch from Daniel Richard G. to fix to fix several compiler warnings, C89 violations and minor code problems (thanks).
...
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@2267 ea778897-0a13-0410-b9d1-a72fbfd435f5
2008-02-20 11:24:23 +00:00
Enrico Tröger
012622a209
Add two missing highlight styles to filetype Ruby.
...
Enable comment/uncomment for POD-like comments for filetypes Ruby and Perl.
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@2179 ea778897-0a13-0410-b9d1-a72fbfd435f5
2008-01-17 14:30:40 +00:00
Enrico Tröger
e3201062c6
Update copyright information and change format of email addresses in source files.
...
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@2150 ea778897-0a13-0410-b9d1-a72fbfd435f5
2008-01-06 18:11:57 +00:00
Enrico Tröger
639e23effa
Use pluginmacros.h (for classbuilder and htmlchars plugins).
...
Add highlighting_get_style().
Add highlighting_get_style() to the plugin API.
Rename DocumentFuncs field in GeanyData struct to avoid name clashes.
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@2103 ea778897-0a13-0410-b9d1-a72fbfd435f5
2007-12-16 11:27:59 +00:00
Enrico Tröger
9edb496fb9
Don't change control char symbol in Scintilla.
...
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@2046 ea778897-0a13-0410-b9d1-a72fbfd435f5
2007-11-13 14:46:58 +00:00
Enrico Tröger
4b43e762d0
Rename "Contruct autocompletion" to "Snippets".
...
Allow changing height of the symbol completion list even if automatic symbol is disabled, it still can be forced by keybinding.
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@2044 ea778897-0a13-0410-b9d1-a72fbfd435f5
2007-11-12 09:27:43 +00:00
Nick Treleaven
046d5ef796
Fix bug with using the default extension, not the user set one, if
...
'New with template' is used before any documents of the same filetype
are open.
Load filetype keyfiles from filetypes_load_config(), not from
styleset_foo_init().
Add highlighting_init_styles(), highlighting_set_styles(),
simplifying a lot of styleset function code.
Remove filetype::style_func_ptr field.
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@2011 ea778897-0a13-0410-b9d1-a72fbfd435f5
2007-11-02 17:44:05 +00:00
Enrico Tröger
7419f18f88
Fix wrong colouring of type keywords of tags from different filetypes.
...
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@1934 ea778897-0a13-0410-b9d1-a72fbfd435f5
2007-10-09 12:04:15 +00:00
Nick Treleaven
d58addc900
Undo last commit, because it makes selecting text with the mouse
...
include all trailing lines with no wordchars on them.
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@1846 ea778897-0a13-0410-b9d1-a72fbfd435f5
2007-08-31 12:01:22 +00:00
Nick Treleaven
94dd025c04
Include \n\r newline chars in Scintilla whitespace chars.
...
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@1845 ea778897-0a13-0410-b9d1-a72fbfd435f5
2007-08-31 11:42:58 +00:00
Nick Treleaven
719c2131cf
Fix wrong brace formatting.
...
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@1819 ea778897-0a13-0410-b9d1-a72fbfd435f5
2007-08-24 11:31:27 +00:00
Nick Treleaven
ef1399e000
Rename MyApp -> GeanyApp.
...
Move most GeanyApp fields into:
GeanyPrefs for (most) Preferences dialog fields;
UIPrefs for non-Prefs dialog visual settings;
UIWidgets for less commonly used widgets such as menuitems and
dialogs;
GeanyStatus for various states the application can be in.
Move some GeanyApp fields into EditorPrefs (and one into each of
CommandLineOptions and SidebarTreeviews).
Add plugin API prefs field.
Move disabling build widgets on Windows to build_init().
Make build callbacks static.
Add treeviews_init() to prepare popup menus and open files treeview.
Replace treeviews_find_node() with treeviews_select_openfiles_item().
Make utils_isbrace() and utils_is_opening_brace() take an
'include_angles' argument (to separate from editor_prefs).
Make 'Goto matching brace' keybinding include <> angle brackets.
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@1815 ea778897-0a13-0410-b9d1-a72fbfd435f5
2007-08-23 11:34:06 +00:00
Nick Treleaven
57561a1ebb
Ignore whitespace_chars for Haxe.
...
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@1746 ea778897-0a13-0410-b9d1-a72fbfd435f5
2007-07-26 12:03:14 +00:00
Enrico Tröger
75c74284f8
Add filetype Haxe (patch by blackdog, thank you).
...
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@1744 ea778897-0a13-0410-b9d1-a72fbfd435f5
2007-07-26 09:50:12 +00:00
Nick Treleaven
8dbbe603c9
Add custom wordchars and whitespace_chars support for Python & Ruby.
...
Group setting lexer, wordchars, autocompletion height together in
apply_filetype_properties().
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@1688 ea778897-0a13-0410-b9d1-a72fbfd435f5
2007-07-11 15:01:24 +00:00