Remove unecessary lines for accelerating switching into large files

ref: #16064
This commit is contained in:
Don Ho 2025-02-14 18:05:41 +01:00
parent 0b98007883
commit 7ac7f9a0e6

View File

@ -2385,12 +2385,6 @@ void ScintillaEditView::activateBuffer(BufferID buffer, bool force)
_currentBuffer->setLastLangType(currentLangInt);
setWordChars();
if (_currentBuffer->getNeedsLexing())
{
restyleBuffer();
}
maintainStateForNpc();
// Everything should be updated, but the language