635 Commits

Author SHA1 Message Date
Nick Treleaven
05394fdf27 Make filetype groups configurable using [Groups] in
filetype_extensions.conf.
Read filetype_extensions.conf when calling filetypes_init_types(),
don't require doclist initialization.



git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@5740 ea778897-0a13-0410-b9d1-a72fbfd435f5
2011-04-26 15:01:04 +00:00
Colomban Wendling
7a3530b3c6 Copy C styling rather than redefining the styles
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@5699 ea778897-0a13-0410-b9d1-a72fbfd435f5
2011-04-08 00:14:06 +00:00
Colomban Wendling
c3828e448c Highlight triple-quoted verbatims in Vala, Genie and Scala filtypes
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@5698 ea778897-0a13-0410-b9d1-a72fbfd435f5
2011-04-08 00:13:53 +00:00
Colomban Wendling
4e5e7cc1b4 Restore secondary keywords entry although it's empty (oops)
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@5628 ea778897-0a13-0410-b9d1-a72fbfd435f5
2011-03-25 16:49:18 +00:00
Colomban Wendling
8b3f99059b Update Vala keywords (based on a patch from Matthew Brush, thanks)
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@5627 ea778897-0a13-0410-b9d1-a72fbfd435f5
2011-03-25 15:34:21 +00:00
Colomban Wendling
441bab9d3b Add new filetype setting "comment_single"
This provides separated single-line and multiline comment support.

git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@5609 ea778897-0a13-0410-b9d1-a72fbfd435f5
2011-03-20 15:02:22 +00:00
Enrico Tröger
800a80b3f9 Add file template for Vala (patch by Mark Trompell, thanks).
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@5605 ea778897-0a13-0410-b9d1-a72fbfd435f5
2011-03-18 09:35:31 +00:00
Nick Treleaven
55336b6cd8 Add Scala custom filetype, based on file by werg (thanks).
(This uses the newly added [styling=C] syntax).



git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@5602 ea778897-0a13-0410-b9d1-a72fbfd435f5
2011-03-17 16:51:18 +00:00
Enrico Tröger
3a0a9d9a33 Add Markdown extension.
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@5588 ea778897-0a13-0410-b9d1-a72fbfd435f5
2011-03-13 13:49:29 +00:00
Nick Treleaven
731253b122 Fix detecting Matlab and Txt2Tags extensions by default.
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@5541 ea778897-0a13-0410-b9d1-a72fbfd435f5
2011-02-07 17:19:23 +00:00
Enrico Tröger
ec408fa4b9 Add filetype Cobol (based on a patch by Seth Keiper).
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@5533 ea778897-0a13-0410-b9d1-a72fbfd435f5
2011-01-30 15:03:51 +00:00
Enrico Tröger
f3b425fd64 Add and use secondary keywords for filetype JavaScript, update and sanitize JavaScript keyword lists (patch by Jason Oster, thank you).
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@5526 ea778897-0a13-0410-b9d1-a72fbfd435f5
2011-01-18 19:29:15 +00:00
Nick Treleaven
43dc30a5d1 Merge trunk to r5519.
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/branches/unstable@5520 ea778897-0a13-0410-b9d1-a72fbfd435f5
2011-01-10 13:58:12 +00:00
Enrico Tröger
c24980ab07 Disable preprocessor #define tracking for the CPP lexer (enabled by default in Scintilla).
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/branches/unstable@5444 ea778897-0a13-0410-b9d1-a72fbfd435f5
2010-11-28 15:27:43 +00:00
Nick Treleaven
9f2d03da07 Add *.latex pattern.
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@5435 ea778897-0a13-0410-b9d1-a72fbfd435f5
2010-11-24 13:22:49 +00:00
Enrico Tröger
f3914355aa Add 'instanceif' keyword for PHP (closes #3109330).
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@5420 ea778897-0a13-0410-b9d1-a72fbfd435f5
2010-11-21 17:40:08 +00:00
Nick Treleaven
118386a7d0 Enable XML tag autoindentation for PHP, Docbook and add docs for
this setting (patch by Eugene Arshinov, thanks).



git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@5402 ea778897-0a13-0410-b9d1-a72fbfd435f5
2010-11-11 17:58:21 +00:00
Nick Treleaven
cc98fdb528 Fix wrong named style.
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@5394 ea778897-0a13-0410-b9d1-a72fbfd435f5
2010-11-10 18:04:35 +00:00
Nick Treleaven
eba0571fb6 Add xml_indent_tags filetype setting for documents using the
HTML/XML lexers (patch by Eugene Arshinov, thanks).



git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@5392 ea778897-0a13-0410-b9d1-a72fbfd435f5
2010-11-10 17:47:55 +00:00
Nick Treleaven
bebd0dcd17 Rename word/word2 named styles to keyword/keyword2.
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@5384 ea778897-0a13-0410-b9d1-a72fbfd435f5
2010-11-08 13:27:32 +00:00
Nick Treleaven
99a2869c7d Add 2 missing keywords.
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@5358 ea778897-0a13-0410-b9d1-a72fbfd435f5
2010-11-02 17:06:32 +00:00
Frank Lanitz
28283e0d7b Fix comments for Ada. Thanks to Jonas Baggett for reporting.
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@5347 ea778897-0a13-0410-b9d1-a72fbfd435f5
2010-11-01 10:57:58 +00:00
Nick Treleaven
eab87560d8 Add named style 'extra', use for C-like filetypes.
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@5344 ea778897-0a13-0410-b9d1-a72fbfd435f5
2010-10-29 15:09:21 +00:00
Nick Treleaven
832d22d23f Re-add data attribute (oops).
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@5340 ea778897-0a13-0410-b9d1-a72fbfd435f5
2010-10-28 16:19:26 +00:00
Nick Treleaven
cf1a664692 Make Python use named styles for color scheme support - use
alt.conf color scheme if you want the old colors.
Add named style 'function'.



git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@5339 ea778897-0a13-0410-b9d1-a72fbfd435f5
2010-10-28 12:58:12 +00:00
Nick Treleaven
879ef25b09 Match data-* and aria-* as HTML attributes.
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@5338 ea778897-0a13-0410-b9d1-a72fbfd435f5
2010-10-28 12:06:53 +00:00
Nick Treleaven
076452006c Add HTML5 attributes (thanks to Ross McKay).
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@5324 ea778897-0a13-0410-b9d1-a72fbfd435f5
2010-10-25 17:29:52 +00:00
Nick Treleaven
a274363275 Move HTML automatic <table> tag completion into a 'table' snippet
so the user can decide when to use it (patch by Eugene Arshinov,
thanks).



git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@5320 ea778897-0a13-0410-b9d1-a72fbfd435f5
2010-10-25 16:07:15 +00:00
Nick Treleaven
975376db78 Add HTML5 element names (thanks to Ross McKay).
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@5319 ea778897-0a13-0410-b9d1-a72fbfd435f5
2010-10-22 16:51:32 +00:00
Nick Treleaven
a83ee579fa Move filetype comment_{open,close} defaults into data files.
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@5310 ea778897-0a13-0410-b9d1-a72fbfd435f5
2010-10-20 16:22:58 +00:00
Nick Treleaven
e28f5bc3ab Move filetype 'extension' default into data files.
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@5309 ea778897-0a13-0410-b9d1-a72fbfd435f5
2010-10-20 16:15:39 +00:00
Nick Treleaven
38e23095dd Add Erlang filetype (patch by Taylor Venable, thanks).
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@5308 ea778897-0a13-0410-b9d1-a72fbfd435f5
2010-10-20 15:45:25 +00:00
Nick Treleaven
c9f7afaf3a Add alternative color scheme based on Python colors.
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@5307 ea778897-0a13-0410-b9d1-a72fbfd435f5
2010-10-20 12:29:27 +00:00
Nick Treleaven
6994bf24dd Add missing C99 keyword 'restrict' (#3046716).
Add missing D1 keywords 'ref' and 'macro'.
Add D2 keywords.



git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@5300 ea778897-0a13-0410-b9d1-a72fbfd435f5
2010-10-18 11:32:33 +00:00
Nick Treleaven
2666668260 Sort by filetype name.
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@5290 ea778897-0a13-0410-b9d1-a72fbfd435f5
2010-10-07 13:52:35 +00:00
Nick Treleaven
b109889e5e Add Lisp filetype (patch by Mário Silva, thanks).
Note: Lisp lexer was taken from Scintilla instead.



git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@5286 ea778897-0a13-0410-b9d1-a72fbfd435f5
2010-10-06 17:10:15 +00:00
Nick Treleaven
1b6b5210eb Read snippet keybindings from system keyfile also.
Add keybinding example to default snippet.conf.



git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@5278 ea778897-0a13-0410-b9d1-a72fbfd435f5
2010-10-04 14:29:44 +00:00
Nick Treleaven
054afed310 Add Forth filetype (patch by Thomas Huth, thanks).
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@5266 ea778897-0a13-0410-b9d1-a72fbfd435f5
2010-09-30 16:59:22 +00:00
Nick Treleaven
d8dce113a2 Add symbol_list_sort_mode per-filetype setting, set to sort by line
number by default for Markdown, reStructuredText and Txt2Tags.
Add utils_get_setting() macro for reading a key from a home or
system keyfile.
Move GeanyFiletypePrivate to filetypesprivate.h.



git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@5262 ea778897-0a13-0410-b9d1-a72fbfd435f5
2010-09-30 13:50:33 +00:00
Enrico Tröger
9838d8e9bd Simplify Python Compile/Syntax Check command.
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@5260 ea778897-0a13-0410-b9d1-a72fbfd435f5
2010-09-26 18:09:13 +00:00
Enrico Tröger
c5867895f9 Add dummy entry for "do" snippet for Haskell to explicitly avoid the default completion.
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@5203 ea778897-0a13-0410-b9d1-a72fbfd435f5
2010-08-29 11:45:00 +00:00
Nick Treleaven
f847f1add6 Add lexer for Txt2Tags (patch by Forgeot Eric, #3020632).
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@5188 ea778897-0a13-0410-b9d1-a72fbfd435f5
2010-08-23 12:14:58 +00:00
Enrico Tröger
f425a75cbb Update list of Python builtins, based on Python 2.6.
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@5106 ea778897-0a13-0410-b9d1-a72fbfd435f5
2010-07-18 17:56:12 +00:00
Nick Treleaven
4d8c71d5ab Add filetypes.common fold_symbol_highlight color setting.
Add API macro foreach_range().



git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@5078 ea778897-0a13-0410-b9d1-a72fbfd435f5
2010-07-01 14:33:41 +00:00
Nick Treleaven
8be9c6aea8 Move general templates from source code into files.
Load general templates from system path instead of creating them in
the user's config dir.



git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/branches/unstable@5012 ea778897-0a13-0410-b9d1-a72fbfd435f5
2010-06-09 12:27:58 +00:00
Enrico Tröger
a94af233d9 Add new style "media" for filetype CSS.
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@5007 ea778897-0a13-0410-b9d1-a72fbfd435f5
2010-06-06 18:40:35 +00:00
Nick Treleaven
3f572f72ac Fix 'null' listed in both primary and secondary keyword lists.
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@4900 ea778897-0a13-0410-b9d1-a72fbfd435f5
2010-05-11 11:57:52 +00:00
Nick Treleaven
751f8be508 Support more folding icon styles: arrows, +/- and no lines
(#2935059).



git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@4854 ea778897-0a13-0410-b9d1-a72fbfd435f5
2010-04-22 17:16:46 +00:00
Enrico Tröger
26aeed1085 Add error_regex to parse error messages and warnings when performing syntax checks on Perl files.
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@4802 ea778897-0a13-0410-b9d1-a72fbfd435f5
2010-04-05 22:03:49 +00:00
Enrico Tröger
d6b15be3df Adjust Perl Compile command to use the -c command line option to perform a syntax check instead of using the deprecated ByteCompile module.
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@4801 ea778897-0a13-0410-b9d1-a72fbfd435f5
2010-04-05 21:48:33 +00:00