Colomban Wendling
40b9a2ba0d
Respect filetype.common's wordchars if a filetype doesn't have its own
...
Use filetype.common's wordchars instead of GEANY_WORDCHARS as default
for filetypes not having their own. This allows to change the
wordchars for all filetypes at once.
Part of issue #492 .
2015-05-19 14:25:40 +02:00
TheHappyMarquis
05c9f10dd8
Restore HTML filetype doublestring/hstring to original color
...
Closes #74 and #75
2013-08-15 20:47:35 -07:00
Colomban Wendling
098f127087
Drop now unused "scalar" named style
2012-06-30 01:54:08 +02:00
Nick Treleaven
ff484c9a8b
Do not override default selection foreground style
2012-06-03 17:40:46 +01:00
Lex Trotman
928b847c1e
Force selection to change when Default or Alt colourscheme chosen
...
The selection foreground and background are not changed unless
the respective 3rd or 4th field is true (see highlighting.c:790).
2012-06-02 16:09:16 +10:00
Nick Treleaven
8bb24011b6
Tweak default string color for a little more contrast
2012-05-30 16:45:29 +01:00
Colomban Wendling
c56788b7a7
Fix a few style mappings
2011-10-19 03:38:26 +02: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
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
eab87560d8
Add named style 'extra', use for C-like filetypes.
...
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@5344 ea778897-0a13-0410-b9d1-a72fbfd435f5
2010-10-29 15:09:21 +00:00
Nick Treleaven
cf1a664692
Make Python use named styles for color scheme support - use
...
alt.conf color scheme if you want the old colors.
Add named style 'function'.
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@5339 ea778897-0a13-0410-b9d1-a72fbfd435f5
2010-10-28 12:58:12 +00:00
Nick Treleaven
4d8c71d5ab
Add filetypes.common fold_symbol_highlight color setting.
...
Add API macro foreach_range().
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@5078 ea778897-0a13-0410-b9d1-a72fbfd435f5
2010-07-01 14:33:41 +00:00
Nick Treleaven
751f8be508
Support more folding icon styles: arrows, +/- and no lines
...
(#2935059 ).
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@4854 ea778897-0a13-0410-b9d1-a72fbfd435f5
2010-04-22 17:16:46 +00:00
Nick Treleaven
8e9bfdf16a
Set default for wrapped lines to show marker at end of line only
...
(more expected and doesn't change line alignment - closes #2972386 ).
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@4771 ea778897-0a13-0410-b9d1-a72fbfd435f5
2010-03-18 12:35:16 +00:00
Enrico Tröger
9f9ceb1953
Add new style to change foreground and background colours for calltips (patch by Dimitar Zhekov, thanks, closes #2919229 ).
...
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@4513 ea778897-0a13-0410-b9d1-a72fbfd435f5
2009-12-29 18:45:21 +00:00
Nick Treleaven
efce57c588
Remove unused [styling] arguments.
...
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@4253 ea778897-0a13-0410-b9d1-a72fbfd435f5
2009-09-28 11:32:38 +00:00
Nick Treleaven
683e09aae5
Update syntax highlighting after changing the 'Invert syntax
...
highlighting colors' pref, instead of requiring a restart.
Remove filetypes.common invert_all option - use 'Invert syntax
highlighting colors' pref instead (closes #2854525 ).
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@4184 ea778897-0a13-0410-b9d1-a72fbfd435f5
2009-09-14 11:53:08 +00:00
Nick Treleaven
6097e156cf
Edit marker_search again to not conflict with line marker color.
...
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@3980 ea778897-0a13-0410-b9d1-a72fbfd435f5
2009-07-16 15:54:45 +00:00
Nick Treleaven
a3da300b67
Make Mark highlighting brighter.
...
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@3962 ea778897-0a13-0410-b9d1-a72fbfd435f5
2009-07-14 11:11:50 +00:00
Enrico Tröger
cb8cc25610
Add style 'marker_mark' and change style 'marker_search' to define the style used for marked search results.
...
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@3936 ea778897-0a13-0410-b9d1-a72fbfd435f5
2009-07-08 22:22:28 +00:00
Enrico Tröger
443ee99e7e
Add style 'line_height' to increase the line height.
...
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@3935 ea778897-0a13-0410-b9d1-a72fbfd435f5
2009-07-08 22:21:45 +00:00
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