mirror of
https://github.com/notepad-plus-plus/notepad-plus-plus.git
synced 2025-07-23 05:45:00 +02:00
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 (buffer == _currentBuffer) {
|
||||||
if (mask & BufferChangeLanguage) {
|
if (mask & BufferChangeLanguage) {
|
||||||
defineDocType(buffer->getLangType());
|
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);
|
foldAll(fold_uncollapse);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user