23 Commits

Author SHA1 Message Date
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
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
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
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
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
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
Enrico Tröger
a7273d747d Added several missing style types for filetype Perl (thanks to John Gabriele for reporting).
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@1287 ea778897-0a13-0410-b9d1-a72fbfd435f5
2007-02-15 14:17:53 +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
Nick Treleaven
6ff4464f9c Make all remaining 0xff0000 comment styles darker using a common
default comment style.
Add some other generic styles (used only by C-like filetypes for
now).


git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@960 ea778897-0a13-0410-b9d1-a72fbfd435f5
2006-11-02 15:32:27 +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
Nick Treleaven
1b9a4e3838 Quote perl filename for compiling
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@386 ea778897-0a13-0410-b9d1-a72fbfd435f5
2006-06-01 14:49:16 +00:00
Enrico Tröger
001527f540 quoted filename wildcards for filenames with whitespace
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@338 ea778897-0a13-0410-b9d1-a72fbfd435f5
2006-05-16 19:08:01 +00:00
Enrico Tröger
9ad3e75ae3 added compiler commands to run a syntax check and parse the output, so it is clickable in compiler message window
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@333 ea778897-0a13-0410-b9d1-a72fbfd435f5
2006-05-15 19:47:35 +00:00
Enrico Tröger
cc4459d4c1 new filetype Ruby
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@312 ea778897-0a13-0410-b9d1-a72fbfd435f5
2006-05-09 16:10:47 +00:00
Enrico Tröger
429c48cbf7 added two compiler commands
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@300 ea778897-0a13-0410-b9d1-a72fbfd435f5
2006-05-05 16:03:27 +00:00
Enrico Tröger
4d5efb8e72 added commentation and building settings
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@270 ea778897-0a13-0410-b9d1-a72fbfd435f5
2006-04-27 16:31:40 +00:00
Enrico Tröger
0375a74eec added italic flag to all styles
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@243 ea778897-0a13-0410-b9d1-a72fbfd435f5
2006-03-10 21:44:12 +00:00
Enrico Tröger
8cb2cf0997 Initial import
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@4 ea778897-0a13-0410-b9d1-a72fbfd435f5
2005-11-22 12:26:26 +00:00