aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/Decoration.cxx
diff options
context:
space:
mode:
authornyamatongwe <unknown>2008-08-09 05:55:58 +0000
committernyamatongwe <unknown>2008-08-09 05:55:58 +0000
commit3be9c420feeffc6d580f50776c58d581fc7234e7 (patch)
treeb70706c397575dc2ccc4f45b2d8f6e125e8f0c5a /src/Decoration.cxx
parent73bdcfd918ba0dfeef1a1416bd70387502b6ac37 (diff)
downloadscintilla-mirror-3be9c420feeffc6d580f50776c58d581fc7234e7.tar.gz
Clear document style now only clears the lexer indicators.
Diffstat (limited to 'src/Decoration.cxx')
-rw-r--r--src/Decoration.cxx8
1 files changed, 0 insertions, 8 deletions
diff --git a/src/Decoration.cxx b/src/Decoration.cxx
index 0e5b4a09a..e4ac0e07c 100644
--- a/src/Decoration.cxx
+++ b/src/Decoration.cxx
@@ -101,14 +101,6 @@ void DecorationList::Delete(int indicator) {
}
}
-void DecorationList::ClearAll() {
- for (Decoration *deco=root; deco; deco = deco->next) {
- int position = 0;
- int length = deco->rs.Length();
- deco->rs.FillRange(position, 0, length);
- }
-}
-
void DecorationList::SetCurrentIndicator(int indicator) {
currentIndicator = indicator;
current = DecorationFromIndicator(indicator);