Remove duplicate code

git-svn-id: svn://svn.tuxfamily.org/svnroot/notepadplus/repository@250 f5eea248-9336-0410-98b8-ebc06183d4e3
This commit is contained in:
harrybharry 2008-06-23 18:43:33 +00:00
parent 1335a73d63
commit f7f0c438b9

View File

@ -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);
}