diff options
author | nyamatongwe <unknown> | 2008-08-09 05:55:58 +0000 |
---|---|---|
committer | nyamatongwe <unknown> | 2008-08-09 05:55:58 +0000 |
commit | 3be9c420feeffc6d580f50776c58d581fc7234e7 (patch) | |
tree | b70706c397575dc2ccc4f45b2d8f6e125e8f0c5a /src/Decoration.cxx | |
parent | 73bdcfd918ba0dfeef1a1416bd70387502b6ac37 (diff) | |
download | scintilla-mirror-3be9c420feeffc6d580f50776c58d581fc7234e7.tar.gz |
Clear document style now only clears the lexer indicators.
Diffstat (limited to 'src/Decoration.cxx')
-rw-r--r-- | src/Decoration.cxx | 8 |
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); |