diff options
author | nyamatongwe <devnull@localhost> | 2000-04-18 13:26:25 +0000 |
---|---|---|
committer | nyamatongwe <devnull@localhost> | 2000-04-18 13:26:25 +0000 |
commit | 45ead08dae81db18e0bf12dc84e39f913d23550d (patch) | |
tree | 326b4b10e1293bc8a2eec9571553e0c54f72e793 /src/LexCPP.cxx | |
parent | f3a226257d61fc7e23ddcb853ff828009d309bbd (diff) | |
download | scintilla-mirror-45ead08dae81db18e0bf12dc84e39f913d23550d.tar.gz |
Removed PropSet from Accessor interface.
Indenting and horizontal scroll bar messages.
Fixed undo grouping bug.
Vertical scrolling can be performed with Ctrl+ arrows
Diffstat (limited to 'src/LexCPP.cxx')
-rw-r--r-- | src/LexCPP.cxx | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/LexCPP.cxx b/src/LexCPP.cxx index 418c1133e..a1edec806 100644 --- a/src/LexCPP.cxx +++ b/src/LexCPP.cxx @@ -45,7 +45,7 @@ static void ColouriseCppDoc(unsigned int startPos, int length, int initStyle, Wo styler.StartAt(startPos); - bool fold = styler.GetPropSet().GetInt("fold"); + bool fold = styler.GetPropertyInt("fold"); int lineCurrent = styler.GetLine(startPos); int levelPrev = styler.LevelAt(lineCurrent) & SC_FOLDLEVELNUMBERMASK; int levelCurrent = levelPrev; @@ -177,7 +177,7 @@ static void ColouriseCppDoc(unsigned int startPos, int length, int initStyle, Wo } } else if (state == SCE_C_STRING) { if ((ch == '\r' || ch == '\n') && (chPrev != '\\')) { - styler.ColourTo(i-1, state); + styler.ColourTo(i-1, SCE_C_STRINGEOL); state = SCE_C_STRINGEOL; } else if (ch == '\\') { if (chNext == '\"' || chNext == '\'' || chNext == '\\') { @@ -194,7 +194,7 @@ static void ColouriseCppDoc(unsigned int startPos, int length, int initStyle, Wo } } else if (state == SCE_C_CHARACTER) { if ((ch == '\r' || ch == '\n') && (chPrev != '\\')) { - styler.ColourTo(i-1, state); + styler.ColourTo(i-1, SCE_C_STRINGEOL); state = SCE_C_STRINGEOL; } else if (ch == '\\') { if (chNext == '\"' || chNext == '\'' || chNext == '\\') { |