diff options
| author | nyamatongwe <unknown> | 2009-06-10 10:54:57 +0000 | 
|---|---|---|
| committer | nyamatongwe <unknown> | 2009-06-10 10:54:57 +0000 | 
| commit | 56cef27101abcf6ce6e0b10ed7b23e4ebb129768 (patch) | |
| tree | 36aad6126ec7825e48a4387c1dae29bbd53ec86c /src/Document.cxx | |
| parent | 54994422193c01b596a10f9e195e57e35298dfe4 (diff) | |
| download | scintilla-mirror-56cef27101abcf6ce6e0b10ed7b23e4ebb129768.tar.gz | |
Clear out per-line data when all contents removed.
Diffstat (limited to 'src/Document.cxx')
| -rw-r--r-- | src/Document.cxx | 7 | 
1 files changed, 7 insertions, 0 deletions
diff --git a/src/Document.cxx b/src/Document.cxx index ac37215b2..c71f840b6 100644 --- a/src/Document.cxx +++ b/src/Document.cxx @@ -100,6 +100,13 @@ Document::~Document() {  	regex = 0;  } +void Document::Init() { +	for (int j=0; j<ldSize; j++) { +		if (perLineData[j]) +			perLineData[j]->Init(); +	} +} +  void Document::InsertLine(int line) {  	for (int j=0; j<ldSize; j++) {  		if (perLineData[j])  | 
