358 Commits

Author SHA1 Message Date
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
Nick Treleaven
c6c19ad5b3 Add a space after 'while' for do...while statement.
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@4785 ea778897-0a13-0410-b9d1-a72fbfd435f5
2010-03-25 13:51:07 +00:00
Nick Treleaven
8e9bfdf16a Set default for wrapped lines to show marker at end of line only
(more expected and doesn't change line alignment - closes #2972386).



git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@4771 ea778897-0a13-0410-b9d1-a72fbfd435f5
2010-03-18 12:35:16 +00:00
Enrico Tröger
39c12b0aff Update keywords for the R language (patch by Jon Senior, thanks).
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@4695 ea778897-0a13-0410-b9d1-a72fbfd435f5
2010-02-22 22:29:20 +00:00
Enrico Tröger
d65b205df7 Update primary keywords for the R language (patch by Jon Senior, thanks).
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@4687 ea778897-0a13-0410-b9d1-a72fbfd435f5
2010-02-21 18:09:16 +00:00
Dominic Hopf
ce1f704f6a correct the keyword list for javascript (thanks to Jonas!)
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@4677 ea778897-0a13-0410-b9d1-a72fbfd435f5
2010-02-20 14:19:50 +00:00
Enrico Tröger
bb84ffb515 Adjust style for secondary keywords to be less aggressive.
Add Python 2.5 builtins keywords.

git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@4642 ea778897-0a13-0410-b9d1-a72fbfd435f5
2010-02-06 16:14:41 +00:00
Enrico Tröger
d461084743 Add new special template wildcard "{command:...}" to use the output of a command in templates.
Adjust template functions to mostly work with GeanyDocuments.
Minor cleanups in the template code.

git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@4539 ea778897-0a13-0410-b9d1-a72fbfd435f5
2010-01-24 14:52:46 +00:00
Enrico Tröger
9f9ceb1953 Add new style to change foreground and background colours for calltips (patch by Dimitar Zhekov, thanks, closes #2919229).
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@4513 ea778897-0a13-0410-b9d1-a72fbfd435f5
2009-12-29 18:45:21 +00:00
Enrico Tröger
6505997e2d Add the default comment character sequence for reStructuredText.
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@4511 ea778897-0a13-0410-b9d1-a72fbfd435f5
2009-12-29 18:40:39 +00:00
Frank Lanitz
c0a243c43d Remove LaTeX tags from SVN. Can be found at http://download.geany.org/contrib/tags/ if needed.
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@4502 ea778897-0a13-0410-b9d1-a72fbfd435f5
2009-12-20 20:46:29 +00:00
Nick Treleaven
f88e526476 Add custom filetype Genie.
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@4480 ea778897-0a13-0410-b9d1-a72fbfd435f5
2009-12-08 12:51:10 +00:00
Nick Treleaven
603d46398e Add custom filetype Genie.
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@4479 ea778897-0a13-0410-b9d1-a72fbfd435f5
2009-12-08 12:40:42 +00:00
Nick Treleaven
4648a1be25 Fix using common style colours for Verilog.
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@4476 ea778897-0a13-0410-b9d1-a72fbfd435f5
2009-12-07 18:10:39 +00:00
Nick Treleaven
5f28284cb1 Apply patch from Kelvin Gardiner to add Verilog filetype (thanks).
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@4474 ea778897-0a13-0410-b9d1-a72fbfd435f5
2009-12-07 17:51:37 +00:00
Nick Treleaven
9d804ba543 Use lexer_filetype=C configuration file key instead of duplicate
styleset functions for C++, C#, GLSL, Vala.



git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@4468 ea778897-0a13-0410-b9d1-a72fbfd435f5
2009-12-03 16:22:33 +00:00
Nick Treleaven
066fb07e5a Remove now unnecessary "styling_within_preprocessor" C style key.
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@4467 ea778897-0a13-0410-b9d1-a72fbfd435f5
2009-12-03 16:08:06 +00:00
Nick Treleaven
4318e0dcd0 Move C-like filetype properties into configuration files.
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@4466 ea778897-0a13-0410-b9d1-a72fbfd435f5
2009-12-03 13:43:37 +00:00
Frank Lanitz
87b4d32c9a Add a couple of commands for latex beamer to default tags list
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@4458 ea778897-0a13-0410-b9d1-a72fbfd435f5
2009-11-30 21:56:51 +00:00
Nick Treleaven
f92a31b59c Replace filetypes.xml html_asp_default_language key with
filetypes.html asp.default.language property in [lexer_properties]
group.



git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@4433 ea778897-0a13-0410-b9d1-a72fbfd435f5
2009-11-18 17:07:12 +00:00
Nick Treleaven
c877db21df Use filetypes.foo [lexer_properties] group instead of hardcoding
lexer properties (more flexible e.g. for custom filetypes).



git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@4432 ea778897-0a13-0410-b9d1-a72fbfd435f5
2009-11-18 16:48:17 +00:00
Frank Lanitz
9fd485f204 Set English for default babel language
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@4324 ea778897-0a13-0410-b9d1-a72fbfd435f5
2009-10-15 19:20:12 +00:00
Nick Treleaven
f41037f219 Remove another wrong escape.
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@4313 ea778897-0a13-0410-b9d1-a72fbfd435f5
2009-10-14 12:45:06 +00:00
Nick Treleaven
fb7d31512f Fix wrong escaping (patch by dmaphy, thanks - closes 2878138).
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@4312 ea778897-0a13-0410-b9d1-a72fbfd435f5
2009-10-14 12:43:51 +00:00
Frank Lanitz
59971e7929 Don't escape \ on LaTeX template
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@4306 ea778897-0a13-0410-b9d1-a72fbfd435f5
2009-10-12 17:45:47 +00:00
Nick Treleaven
d884a37164 Remove extra blank line.
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@4298 ea778897-0a13-0410-b9d1-a72fbfd435f5
2009-10-12 11:13:39 +00:00
Frank Lanitz
f70c4ff9d5 Remove empty line on start of LaTeX template
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@4292 ea778897-0a13-0410-b9d1-a72fbfd435f5
2009-10-04 21:17:57 +00:00
Nick Treleaven
7bb57aca2b Move filetype template defaults into custom file template files.
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@4273 ea778897-0a13-0410-b9d1-a72fbfd435f5
2009-09-30 17:40:10 +00:00