diff options
author | nyamatongwe <devnull@localhost> | 2000-04-08 11:59:28 +0000 |
---|---|---|
committer | nyamatongwe <devnull@localhost> | 2000-04-08 11:59:28 +0000 |
commit | efa40dbcc958f03b539902aae87c17b138552ce0 (patch) | |
tree | bca7871b6c92dd54755b6e613fb18eba0e28c021 /src/LexCPP.cxx | |
parent | 4fe90137dc48e5ca07e9223694ab8926c9ebbf13 (diff) | |
download | scintilla-mirror-efa40dbcc958f03b539902aae87c17b138552ce0.tar.gz |
Unicode keyboard input and dragging from Scintilla.
Fixing warnings on GTK+ and uping warning level.
Diffstat (limited to 'src/LexCPP.cxx')
-rw-r--r-- | src/LexCPP.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/LexCPP.cxx b/src/LexCPP.cxx index b67779842..418c1133e 100644 --- a/src/LexCPP.cxx +++ b/src/LexCPP.cxx @@ -163,7 +163,7 @@ static void ColouriseCppDoc(unsigned int startPos, int length, int initStyle, Wo } } else if (state == SCE_C_COMMENTDOC) { if (ch == '/' && chPrev == '*') { - if (((i > styler.GetStartSegment() + 3) || ( + if (((i > styler.GetStartSegment() + 2) || ( (initStyle == SCE_C_COMMENTDOC) && (styler.GetStartSegment() == static_cast<unsigned int>(startPos))))) { styler.ColourTo(i, state); |