134 Commits

Author SHA1 Message Date
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
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
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
72da6f3c55 Add missing keywords: 'elemental', 'pure' and 'procedure' which also fix broken folding (patch by Henrik Holst, thanks).
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@2782 ea778897-0a13-0410-b9d1-a72fbfd435f5
2008-07-15 18:36:37 +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
d3adc32c19 Add support to use template wildcards in snippets.
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@2773 ea778897-0a13-0410-b9d1-a72fbfd435f5
2008-07-13 10:52:38 +00:00
Enrico Tröger
361a64c3fd Change format of PHP tags file to internal tagmanager format since it is auto-generated and is read maybe a little bit faster.
Add auto-generated notice and timestamp at the beginning of the file.


git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@2678 ea778897-0a13-0410-b9d1-a72fbfd435f5
2008-06-10 16:44:00 +00:00
Enrico Tröger
f36ff8ce07 Add create_py_tags.py to create a global tags file for Python (thanks to Dominic Hopf).
Add generated Python tags file (Python 2.5).

git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@2677 ea778897-0a13-0410-b9d1-a72fbfd435f5
2008-06-10 16:39:17 +00:00
Enrico Tröger
7793ff6bb0 Add comments to keyword types to be more clear about their usage.
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@2571 ea778897-0a13-0410-b9d1-a72fbfd435f5
2008-05-12 12:22:27 +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
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
29add08e08 Add script to generate PHP tags file (by Matti Mårds, thanks).
Update PHP tags file to latest PHP API docs (closes #1888691).


git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@2466 ea778897-0a13-0410-b9d1-a72fbfd435f5
2008-04-10 17:52:47 +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
8eaf9f89a5 Add missing colon to "for" snippet for Python and set cursor position
(thanks mamaar on IRC).

git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@2384 ea778897-0a13-0410-b9d1-a72fbfd435f5
2008-03-21 18:24:21 +00:00
Enrico Tröger
31f0ab5e07 Add better "for" completion for Python.
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@2379 ea778897-0a13-0410-b9d1-a72fbfd435f5
2008-03-21 15:58:21 +00:00
Enrico Tröger
bd9881d162 Add ".xhtml" extension for filetype XML (#1914587).
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@2362 ea778897-0a13-0410-b9d1-a72fbfd435f5
2008-03-18 16:38:01 +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
8e26cfe7c1 Remove old and useless code from build_link_file().
Don't add "-o" compiler option automatically instead make it configurable through linker command.


git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@2356 ea778897-0a13-0410-b9d1-a72fbfd435f5
2008-03-17 17:13:56 +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
Nick Treleaven
6539446a4f Update for GTK+ 2.12.5.
This also adds return type modifiers like const and *.
Command used (on Fedora 8):
'CFLAGS=-I/usr/include/gtk-2.0 -I/usr/lib/gtk-2.0/include -I/usr/include/atk-1.0 -I/usr/include/cairo -I/usr/include/pango-1.0 -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include   geany -g gtk-2.12.c.tags
/usr/include/gtk-2.0/gtk/gtk.h'


git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@2203 ea778897-0a13-0410-b9d1-a72fbfd435f5
2008-01-31 17:45:44 +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
5d3801fe30 Add *.vala extension to CSharp filetype to support the Vala language.
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@2131 ea778897-0a13-0410-b9d1-a72fbfd435f5
2007-12-25 14:19:47 +00:00
Frank Lanitz
414afe3f37 Added .ltx as extension for LaTeX-documents
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@2081 ea778897-0a13-0410-b9d1-a72fbfd435f5
2007-11-30 18:04:25 +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
f7df2fff56 Add a default configuration file for reStructuredText.
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@2029 ea778897-0a13-0410-b9d1-a72fbfd435f5
2007-11-06 17:22:25 +00:00
Nick Treleaven
79ff87713a Add configurable default file extension setting for filetype
definition files.
Note: There is a 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.


git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@2006 ea778897-0a13-0410-b9d1-a72fbfd435f5
2007-11-01 16:33:06 +00:00
Nick Treleaven
f836bbcd7f Set reStructuredText default file extension .rst.
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@1994 ea778897-0a13-0410-b9d1-a72fbfd435f5
2007-10-31 12:16:48 +00:00
Enrico Tröger
00afcbcc86 Add special key wordchars to autocomplete.conf to let the user redefine used wordchars.
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@1960 ea778897-0a13-0410-b9d1-a72fbfd435f5
2007-10-18 19:55:21 +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
5be30988c8 Add comment about generating filetype_extensions.conf.
Update filetype_extensions.conf.


git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@1793 ea778897-0a13-0410-b9d1-a72fbfd435f5
2007-08-14 15:24:01 +00:00
Enrico Tröger
e114669f25 Add many keywords (patch by Arthur Skowronek, thanks).
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@1786 ea778897-0a13-0410-b9d1-a72fbfd435f5
2007-08-12 08:47:01 +00:00
Nick Treleaven
60b446cf39 Add %cursor% for default 'else' completion.
Add space before while for 'do' completion.


git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@1779 ea778897-0a13-0410-b9d1-a72fbfd435f5
2007-08-09 16:05:20 +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
Enrico Tröger
33814377cd Clarified description of white_space setting.
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@1732 ea778897-0a13-0410-b9d1-a72fbfd435f5
2007-07-22 14:57:26 +00:00
Nick Treleaven
8fc2269868 Add decorator (and word2) styling for Python.
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@1676 ea778897-0a13-0410-b9d1-a72fbfd435f5
2007-07-07 15:39:25 +00:00
Nick Treleaven
6657b7983b Make Scintilla's move to word commands use the word end boundaries
when moving to the right (like e.g. GtkEntry).
Treat punctuation chars as whitespace.
Add filetypes.common setting: whitespace_chars.

git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@1672 ea778897-0a13-0410-b9d1-a72fbfd435f5
2007-07-07 11:33:32 +00:00
Enrico Tröger
693649f955 Add new filetypes CSharp and FreeBasic.
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@1635 ea778897-0a13-0410-b9d1-a72fbfd435f5
2007-06-22 17:34:31 +00:00
Enrico Tröger
464a45d6b4 Add new command line option --ft-names to get a list of supported filetype names.
Complete rewrite of auto completion to make it user-definable and much more flexible.	    


git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@1628 ea778897-0a13-0410-b9d1-a72fbfd435f5
2007-06-17 17:56:48 +00:00
Enrico Tröger
db9271df29 Add *.ash and *.bash as filetype entensions for filetype SH.
Add ash and wish to the shebang patterns.


git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@1571 ea778897-0a13-0410-b9d1-a72fbfd435f5
2007-05-25 13:08:17 +00:00
Enrico Tröger
12104026d0 Backport changes from CTags SVN to fix parse problems in the Ruby parser.
Add filetype extension "*.ruby".


git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@1563 ea778897-0a13-0410-b9d1-a72fbfd435f5
2007-05-23 14:26:52 +00:00