229 Commits

Author SHA1 Message Date
Nick Treleaven
676ef606c6 Make C++, D lexer filetypes use named styles (apart from uuid,
verbatim, regex styles).



git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@3870 ea778897-0a13-0410-b9d1-a72fbfd435f5
2009-06-17 11:17:07 +00:00
Nick Treleaven
60c7d9e5cf Fix segfault on parsing a filetypes.* style definition that has < 4
fields.
Allow style definitions to have missing fields to use the default
style fields.



git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@3843 ea778897-0a13-0410-b9d1-a72fbfd435f5
2009-06-05 15:59:58 +00:00
Enrico Tröger
2555d3ba1c Add build_settings section to allow executing Matlab scripts.
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@3839 ea778897-0a13-0410-b9d1-a72fbfd435f5
2009-06-05 15:35:47 +00:00
Frank Lanitz
1399439865 Added some more commands from unit.sty and moderncv.sty to LaTeX tags file
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@3793 ea778897-0a13-0410-b9d1-a72fbfd435f5
2009-05-13 17:11:41 +00:00
Enrico Tröger
a6fe1f46f0 Update Pascal styles as they changed in Scintilla.
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@3770 ea778897-0a13-0410-b9d1-a72fbfd435f5
2009-05-03 18:13:34 +00:00
Enrico Tröger
f9a5d444e8 Update/fix ActionScript keywords (patch by Chris Macksey, thanks).
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@3670 ea778897-0a13-0410-b9d1-a72fbfd435f5
2009-03-30 18:13:31 +00:00
Enrico Tröger
4122c1b138 Add filetype ActionScript (patch by Chris Macksey, thanks).
Update type keywords only for real C-like languages.
Fix wrong sorting of Assembler and Ada filetypes.

git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@3624 ea778897-0a13-0410-b9d1-a72fbfd435f5
2009-03-13 09:58:27 +00:00
Enrico Tröger
05e93ed2df Add keyword 'extends' and fix Fortran parser to support the 'extends' keyword (closes #2654492).
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@3620 ea778897-0a13-0410-b9d1-a72fbfd435f5
2009-03-05 13:03:25 +00:00
Enrico Tröger
3f31e16881 Update C tags for glibc 2.9.
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@3607 ea778897-0a13-0410-b9d1-a72fbfd435f5
2009-02-27 14:06:21 +00:00
Enrico Tröger
d0f2a8c5c6 Replace the last occurrences of %n% with \n\t. Sorry.
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@3555 ea778897-0a13-0410-b9d1-a72fbfd435f5
2009-02-05 20:16:35 +00:00
Enrico Tröger
f1bde0ead3 Fix another typo.
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@3554 ea778897-0a13-0410-b9d1-a72fbfd435f5
2009-02-05 20:05:07 +00:00
Enrico Tröger
60e751eaf2 Remove filetype O-Matrix (probably unused for years).
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@3482 ea778897-0a13-0410-b9d1-a72fbfd435f5
2009-01-18 18:18:38 +00:00
Enrico Tröger
a47b682f6f Remove GTK tags (data/global.tags).
Add C (C99) tags (data/c99.tags) and a script to generate them).

git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@3480 ea778897-0a13-0410-b9d1-a72fbfd435f5
2009-01-17 18:44:38 +00:00
Enrico Tröger
525678b4eb Update keywords lists.
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@3478 ea778897-0a13-0410-b9d1-a72fbfd435f5
2009-01-17 13:11:06 +00:00
Enrico Tröger
e65d0f2362 Add a format specification in global tags files and implement an additional fallback if the specification is missing.
Adjust code and scripts which generate global tags files to add the new format specification.
Update global tags files.
Add documentation for the two supported global tags files formats.

git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@3465 ea778897-0a13-0410-b9d1-a72fbfd435f5
2009-01-14 16:08:00 +00:00
Nick Treleaven
ddeb979e6f Add default build commands (other sections are commented out and
untested).



git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@3464 ea778897-0a13-0410-b9d1-a72fbfd435f5
2009-01-12 17:20:43 +00:00
Enrico Tröger
bd2d677d84 Support multiple %cursor% wildcards in Snippets. To switch between %cursor% wildcards, use the new keybinding 'Move cursor in snippet' (patch by Thomas Martitz, thanks).
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@3461 ea778897-0a13-0410-b9d1-a72fbfd435f5
2009-01-11 21:05:03 +00:00
Enrico Tröger
ffaa900b8b Update keyword list for Tcl/Tk 8.5.
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@3451 ea778897-0a13-0410-b9d1-a72fbfd435f5
2009-01-06 17:13:45 +00:00
Enrico Tröger
42578efd22 Add *.desktop as extension for the Conf filetype.
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@3445 ea778897-0a13-0410-b9d1-a72fbfd435f5
2009-01-04 18:24:50 +00:00
Enrico Tröger
d007adc71f Add filetype Ada (closes #1811306 and #1765830, patch by Philipp Gildein, thanks).
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@3444 ea778897-0a13-0410-b9d1-a72fbfd435f5
2009-01-04 16:00:50 +00:00
Enrico Tröger
6c60580989 Add new filetypes CMake and NSIS.
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@3414 ea778897-0a13-0410-b9d1-a72fbfd435f5
2008-12-21 20:31:09 +00:00
Enrico Tröger
62b59e10fa Update for GTK+ 2.14.5.
Command used (on Debian Sid/Experimental):
'CFLAGS=`pkg-config --cflags gtk+-2.0` geany -g gtk-2.14.c.tags /usr/include/gtk-2.0/gtk/gtk.h'

git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@3411 ea778897-0a13-0410-b9d1-a72fbfd435f5
2008-12-21 19:50:18 +00:00
Enrico Tröger
5db30d1067 Change comment character to '!' for Fortran 90 (closes #2438423).
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@3393 ea778897-0a13-0410-b9d1-a72fbfd435f5
2008-12-17 16:01:09 +00:00
Nick Treleaven
b5b26551e8 Snippet indentation will be replaced according to indent mode.
Minor edit of snippet docs.



git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@3385 ea778897-0a13-0410-b9d1-a72fbfd435f5
2008-12-16 13:26:39 +00:00
Enrico Tröger
88707e86a2 Remove the list of available actions and instead refer to the documentation for an up to date list.
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@3353 ea778897-0a13-0410-b9d1-a72fbfd435f5
2008-12-09 20:30:23 +00:00
Enrico Tröger
8ed9710f48 Rewrite of the whole toolbar code. Now it is based on GtkActions and all elements can be added/removed/reordered using a simple XML file.
Add GeanyMenubuttonAction and GeanyEntryAction as GtkAction subclasses to have menu buttons and text entries in the toolbar.
Change the Goto line toolbar item back to a plain text entry again.

git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@3328 ea778897-0a13-0410-b9d1-a72fbfd435f5
2008-12-06 11:10:06 +00:00
Nick Treleaven
553196a3d3 Make whitespace setting not override background colour by default,
otherwise e.g. unterminated strings in C can have inconsistent
background colour when Show Whitespace is enabled.



git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@3318 ea778897-0a13-0410-b9d1-a72fbfd435f5
2008-12-04 18:12:09 +00:00
Enrico Tröger
2634044117 Add some default snippets for Python (patch by Colomban Wendling, thanks).
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@3293 ea778897-0a13-0410-b9d1-a72fbfd435f5
2008-11-29 12:52:44 +00:00
Enrico Tröger
875f3016b8 Sort the keyword list and remove C++ keywords.
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@3292 ea778897-0a13-0410-b9d1-a72fbfd435f5
2008-11-29 12:52:26 +00:00
Enrico Tröger
0f8b8a2f2f Add new filetype 'YAML' (patch by Walery Studennikov, thanks).
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@3290 ea778897-0a13-0410-b9d1-a72fbfd435f5
2008-11-29 12:51:50 +00:00
Nick Treleaven
205070f5c0 Update from file made by Tyler D'Agosta (thanks). This version
includes all character entities defined by HTML 2.0, HTML 3.2, and
HTML 4.0, and one (&apos;) defined in XHTML 1.0.



git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@3264 ea778897-0a13-0410-b9d1-a72fbfd435f5
2008-11-21 16:49:38 +00:00
Enrico Tröger
4a4e969c2a Change the default values for selection fore- and background colour to some sane values.
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@3232 ea778897-0a13-0410-b9d1-a72fbfd435f5
2008-11-15 16:51:05 +00:00
Enrico Tröger
44df3a593e Remove a few duplicate keywords.
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@3222 ea778897-0a13-0410-b9d1-a72fbfd435f5
2008-11-13 16:42:51 +00:00
Nick Treleaven
eafc95a59f Apply patch from Colomban Wendling to add Vala filetype (thanks).
Fix c.c tagLetter() bug.


git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@3205 ea778897-0a13-0410-b9d1-a72fbfd435f5
2008-11-11 16:33:20 +00:00
Enrico Tröger
474a0b4410 Add new filetype 'Matlab' (closes #1938631, patch by Roland Baudin, thanks).
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@3190 ea778897-0a13-0410-b9d1-a72fbfd435f5
2008-11-07 14:39:45 +00:00
Frank Lanitz
7c4a065c67 Added some more HTML entities.
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@3149 ea778897-0a13-0410-b9d1-a72fbfd435f5
2008-10-24 22:46:49 +00:00
Frank Lanitz
96b28080a6 Add a few more entities common in e.g. Spanish language
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@3144 ea778897-0a13-0410-b9d1-a72fbfd435f5
2008-10-22 16:32:20 +00:00
Enrico Tröger
95d1cd2cc3 Change style for 'identifier3' to bold to be in sync with the other identifier styles.
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@3141 ea778897-0a13-0410-b9d1-a72fbfd435f5
2008-10-22 15:35:51 +00:00
Enrico Tröger
7c65b2f5cc Change colours and bold flag for the extended_* and id styles (thanks to Jason Oster for his suggestions).
Use CSS-specific symbol type names.

git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@3140 ea778897-0a13-0410-b9d1-a72fbfd435f5
2008-10-20 18:18:28 +00:00
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
ab5652921b Add a few more entities for punctuation (patch by Walery Studennikov, thanks).
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@3134 ea778897-0a13-0410-b9d1-a72fbfd435f5
2008-10-20 17:13:50 +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
4dc852f2d2 Use 'tclsh' as default Compile/Run command (part of #2037728).
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@3113 ea778897-0a13-0410-b9d1-a72fbfd435f5
2008-10-18 10:55:07 +00:00
Frank Lanitz
3e6db63170 Extend LaTeX tag list with a couple of commands from moderncv package.
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@3041 ea778897-0a13-0410-b9d1-a72fbfd435f5
2008-10-02 22:41:15 +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