Branch: refs/heads/master Author: Nick Treleaven nick.treleaven@btinternet.com Committer: Nick Treleaven nick.treleaven@btinternet.com Date: Sun, 03 Jun 2012 17:04:03 Commit: 7b3b65e27df77be862714e2de69aa9f61764a91b https://github.com/geany/geany/commit/7b3b65e27df77be862714e2de69aa9f61764a9...
Log Message: ----------- Add workaround for users with an invisible selection style
This is likely to be the case for any users that copied the system selection style line as this was incorrectly set before, but not applied.
Modified Paths: -------------- src/highlighting.c
Modified: src/highlighting.c 6 files changed, 6 insertions(+), 0 deletions(-) =================================================================== @@ -790,6 +790,12 @@ static void styleset_common(ScintillaObject *sci, guint ft_id) sci_set_property(sci, "fold.at.else", "1");
style = &common_style_set.styling[GCS_SELECTION]; + if (!style->bold && !style->italic) + { + g_warning("selection style is set to invisible - ignoring!"); + style->italic = TRUE; + style->background = 0xc0c0c0; + } /* bold (3rd argument) is whether to override default foreground selection */ SSM(sci, SCI_SETSELFORE, style->bold, invert(style->foreground)); /* italic (4th argument) is whether to override default background selection */
@@ Diff output truncated at 100000 characters. @@
-------------- This E-Mail was brought to you by github_commit_mail.py (Source: TBD).