Remove duplicate code
git-svn-id: svn://svn.tuxfamily.org/svnroot/notepadplus/repository@250 f5eea248-9336-0410-98b8-ebc06183d4e3
This commit is contained in:
parent
1335a73d63
commit
f7f0c438b9
@ -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);
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user