diff options
| author | nyamatongwe <unknown> | 2007-07-26 09:43:37 +0000 | 
|---|---|---|
| committer | nyamatongwe <unknown> | 2007-07-26 09:43:37 +0000 | 
| commit | a681a88dfb7d11f503c359ebaae8648995ab5838 (patch) | |
| tree | 7ec3319254010452fd1d71ceb2fd8197b04856d7 /src/ContractionState.cxx | |
| parent | b276c3978e151e0738536932273a0c3fae00a64f (diff) | |
| download | scintilla-mirror-a681a88dfb7d11f503c359ebaae8648995ab5838.tar.gz | |
Fixed bug when ShowAll called where linesInDocument was always reset to 1
which hid most of the file.
Diffstat (limited to 'src/ContractionState.cxx')
| -rw-r--r-- | src/ContractionState.cxx | 3 | 
1 files changed, 2 insertions, 1 deletions
| diff --git a/src/ContractionState.cxx b/src/ContractionState.cxx index 4e289a155..abf2e67be 100644 --- a/src/ContractionState.cxx +++ b/src/ContractionState.cxx @@ -45,7 +45,6 @@ void ContractionState::Clear() {  	heights = 0;  	delete displayLines;  	displayLines = 0; -	linesInDocument = 1;  }  int ContractionState::LinesInDoc() const { @@ -223,7 +222,9 @@ bool ContractionState::SetHeight(int lineDoc, int height) {  }  void ContractionState::ShowAll() { +	int lines = LinesInDoc();  	Clear(); +	linesInDocument = lines;  }  // Debugging checks | 
