28 Commits

Author SHA1 Message Date
Enrico Tröger
6334ebbd0c Add second argument to the 'line_wrap_indent' styling setting to control the new Scintilla indentation mode for wrapped lines.
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@3913 ea778897-0a13-0410-b9d1-a72fbfd435f5
2009-07-04 09:21:44 +00:00
Nick Treleaven
0a65df77d1 Make filetypes.common named styles use the "default" named style for
all missing style fields.
Set named styles to usually leave the background style empty. This
currently allows C-like filetypes to have a common default
background color.
Allow hard-coded colors to use -1 for the default color.
Add some highlighting style examples to the manual.



git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@3890 ea778897-0a13-0410-b9d1-a72fbfd435f5
2009-06-22 15:26:44 +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
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
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
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
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
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
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
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
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
Nick Treleaven
ea5f82976f Show fold line by default (so it's clearer there are hidden lines).
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@1537 ea778897-0a13-0410-b9d1-a72fbfd435f5
2007-05-15 16:04:37 +00:00
Enrico Tröger
1b41744c27 Applied patch from Michal Kurgan to disable separately use of global white space foreground and background colours (thanks).
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@1536 ea778897-0a13-0410-b9d1-a72fbfd435f5
2007-05-15 15:39:26 +00:00
Enrico Tröger
637d862881 Added option to change the caret width.
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@1408 ea778897-0a13-0410-b9d1-a72fbfd435f5
2007-03-20 18:15:07 +00:00
Enrico Tröger
0b84fced12 Added style "default" to filetypes.common to be able to change the default style for files without a filetype set.
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@1380 ea778897-0a13-0410-b9d1-a72fbfd435f5
2007-03-09 18:14:34 +00:00
Enrico Tröger
491288aec2 Added an option to draw an horizontal line above or below folded text.
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@974 ea778897-0a13-0410-b9d1-a72fbfd435f5
2006-11-07 18:53:39 +00:00
Nick Treleaven
4525dd227d Only override the default Scintilla selection style if foreground
and/or background flags are set in filetypes.common.
Also increase the current line background brightness.


git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@841 ea778897-0a13-0410-b9d1-a72fbfd435f5
2006-09-27 15:08:46 +00:00
Enrico Tröger
f8b96977ed Use the filetype's default style(SCE_*_DEFAULT) as the main default style(STYLE_DEFAULT).
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@717 ea778897-0a13-0410-b9d1-a72fbfd435f5
2006-08-15 11:38:38 +00:00
Enrico Tröger
e87b87b015 Added colour values for indentation guides and white space.
Made hard coded SCI_AUTOCSETMAXHEIGHT changeable and added an option in the preferences dialog.


git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@712 ea778897-0a13-0410-b9d1-a72fbfd435f5
2006-08-13 15:04:30 +00:00
Enrico Tröger
ddd9300a72 Added style to change the colour of the caret(closes #1530486).
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@652 ea778897-0a13-0410-b9d1-a72fbfd435f5
2006-07-30 16:02:21 +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
73a55f7ee2 Highlighting of current line can be disabled.
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@584 ea778897-0a13-0410-b9d1-a72fbfd435f5
2006-07-19 09:45:56 +00:00
Enrico Tröger
6f864d888d build.c: Delete all indicators when starting a new compilation.
highlighting.c: Added keys for linenumber and folding margin, added key for inverting all colours(if you like dark background).


git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@450 ea778897-0a13-0410-b9d1-a72fbfd435f5
2006-06-16 14:28:53 +00:00
Enrico Tröger
4e27051196 Fixed typo
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@378 ea778897-0a13-0410-b9d1-a72fbfd435f5
2006-05-30 15:30:36 +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