From f7f0c438b918d8a36b4b0c5f68e6b2bc991665ad Mon Sep 17 00:00:00 2001 From: harrybharry Date: Mon, 23 Jun 2008 18:43:33 +0000 Subject: [PATCH] Remove duplicate code git-svn-id: svn://svn.tuxfamily.org/svnroot/notepadplus/repository@250 f5eea248-9336-0410-98b8-ebc06183d4e3 --- PowerEditor/src/ScitillaComponent/ScintillaEditView.cpp | 3 --- 1 file changed, 3 deletions(-) diff --git a/PowerEditor/src/ScitillaComponent/ScintillaEditView.cpp b/PowerEditor/src/ScitillaComponent/ScintillaEditView.cpp index 67d91b791..d8a681500 100644 --- a/PowerEditor/src/ScitillaComponent/ScintillaEditView.cpp +++ b/PowerEditor/src/ScitillaComponent/ScintillaEditView.cpp @@ -1107,9 +1107,6 @@ void ScintillaEditView::bufferUpdated(Buffer * buffer, int mask) { if (buffer == _currentBuffer) { if (mask & BufferChangeLanguage) { defineDocType(buffer->getLangType()); - int end = execute(SCI_GETENDSTYLED); //style up to the last styled byte. - execute(SCI_CLEARDOCUMENTSTYLE); - execute(SCI_COLOURISE, 0, end); foldAll(fold_uncollapse); }