From 3be9c420feeffc6d580f50776c58d581fc7234e7 Mon Sep 17 00:00:00 2001 From: nyamatongwe Date: Sat, 9 Aug 2008 05:55:58 +0000 Subject: Clear document style now only clears the lexer indicators. --- src/Decoration.cxx | 8 -------- 1 file changed, 8 deletions(-) (limited to 'src/Decoration.cxx') 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); -- cgit v1.2.3