From dee236ce71b0ce4795a6d2773f47b4075c283d8c Mon Sep 17 00:00:00 2001 From: nyamatongwe Date: Tue, 18 Jul 2000 04:24:17 +0000 Subject: Added functions to clear all styling and contraction. --- src/ContractionState.cxx | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'src/ContractionState.cxx') diff --git a/src/ContractionState.cxx b/src/ContractionState.cxx index 0b987b81b..0558b4c36 100644 --- a/src/ContractionState.cxx +++ b/src/ContractionState.cxx @@ -200,3 +200,9 @@ bool ContractionState::SetExpanded(int lineDoc, bool expanded) { } return false; } + +void ContractionState::ShowAll() { + delete []lines; + lines = 0; + size = 0; +} -- cgit v1.2.3