26 Commits

Author SHA1 Message Date
Felix Totir
cfed3c3f23 Add missing D keywords
Closes #3595187.
2013-02-01 16:06:32 +01:00
Nick Treleaven
95ce0a2bee Disable D explicit fold points (as C filetypes do) 2012-06-13 13:40:44 +01:00
Nick Treleaven
ef3d5b8417 Use 'comment' named style for D nested comments
This also fixes a wrong style key name for filetypes.d.
(Nested comments aren't necessarily doc-comments).
2011-12-16 21:02:39 +00:00
Matthew Brush
f6e135435b Fixup various filedefs mappings 2011-10-23 13:44:52 -07:00
Matthew Brush
9b508b712a Fix typo in comment in many filedefs. 2011-10-11 15:33:40 -07:00
Matthew Brush
7ebdacac2d Make all filetypes.* files use named styles.
Fix colorschemes/alt.conf to use the new changes.
2011-10-10 20:35:05 -07:00
Colomban Wendling
18388077e6 Add support for filetype-specific indentation settings
Closes #3339420 and #3390435.

git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@5902 ea778897-0a13-0410-b9d1-a72fbfd435f5
2011-08-25 20:14:17 +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
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
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
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
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
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
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
Enrico Tröger
398ddf6d73 Added context actions to run custom commands on current selection or the current word below cursor.
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@1453 ea778897-0a13-0410-b9d1-a72fbfd435f5
2007-04-15 18:09:59 +00:00
Nick Treleaven
3888323376 Fix indentation spelling ;-)
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@1375 ea778897-0a13-0410-b9d1-a72fbfd435f5
2007-03-09 12:26:55 +00:00
Nick Treleaven
5eb6cb7bc2 Show D typedefs in bold.
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@1100 ea778897-0a13-0410-b9d1-a72fbfd435f5
2006-12-15 12:40:18 +00:00
Enrico Tröger
574d3d3b7e Added new scintilla lexer for D. It needs testing and there is more work to do to get it working properly.
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@1058 ea778897-0a13-0410-b9d1-a72fbfd435f5
2006-12-07 15:47:00 +00:00
Nick Treleaven
96cc367ecc Move C/C++ styling_within_preprocessor code out of C-like styles.
Use styleset_c_like() when applying C-like Scintilla styles.
Synchronize gsd_reserved_word, gsd_system_word and data/filetypes.d
with styles in data/filetypes.c.


git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@1048 ea778897-0a13-0410-b9d1-a72fbfd435f5
2006-12-04 14:57:06 +00:00
Enrico Tröger
4469c37c42 Added new style for doc keyword error and added some doc key words for Doxygen and Javadoc.
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@1043 ea778897-0a13-0410-b9d1-a72fbfd435f5
2006-12-03 22:11:42 +00:00
Nick Treleaven
fa9decdaf9 Add underscore to default wordchars again (oops).
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@1023 ea778897-0a13-0410-b9d1-a72fbfd435f5
2006-11-23 15:48:02 +00:00
Nick Treleaven
4cbe4f4170 Only use [a-zA-Z0-9] chars for default wordchars, to avoid problems
with word matching when using Find & Replace functions.


git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@1020 ea778897-0a13-0410-b9d1-a72fbfd435f5
2006-11-23 11:42:10 +00:00
Enrico Tröger
6330277845 Changed commentdoc(used for javadoc and Doxygen, /** */) colour to a light blue.
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@982 ea778897-0a13-0410-b9d1-a72fbfd435f5
2006-11-09 19:02:18 +00:00
Nick Treleaven
17bbfa3644 Add filetypes_get_conf_extension() and use in highlighting.c.
Fix a memory leak in load_keyfiles().
Group C-like default syntax in init_c_like_styleset().
Make C-like comment colour darker; make globalclass brighter to
distinguish it from word colour.
Make Java use same default syntax highlighting colours as C.


git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@936 ea778897-0a13-0410-b9d1-a72fbfd435f5
2006-10-27 11:30:23 +00:00
Enrico Tröger
31c17438cb Removed unused colour parsing functions.
Let the colour chooser pick the colour under the cursor.
Fixed bug in parsing strings containing hex values, modified the styles to keep the syntax highlighting consistent.
Removed startup warning.


git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@641 ea778897-0a13-0410-b9d1-a72fbfd435f5
2006-07-27 20:57:13 +00:00
Enrico Tröger
6cc29173be Added new filetype D(patch by Christop Berg, thanks).
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@544 ea778897-0a13-0410-b9d1-a72fbfd435f5
2006-07-09 14:41:53 +00:00