mirror of
https://github.com/notepad-plus-plus/notepad-plus-plus.git
synced 2025-07-27 15:54:17 +02:00
Remove unecessary lines for accelerating switching into large files
ref: #16064
This commit is contained in:
parent
0b98007883
commit
7ac7f9a0e6
@ -2385,12 +2385,6 @@ void ScintillaEditView::activateBuffer(BufferID buffer, bool force)
|
|||||||
_currentBuffer->setLastLangType(currentLangInt);
|
_currentBuffer->setLastLangType(currentLangInt);
|
||||||
|
|
||||||
setWordChars();
|
setWordChars();
|
||||||
|
|
||||||
if (_currentBuffer->getNeedsLexing())
|
|
||||||
{
|
|
||||||
restyleBuffer();
|
|
||||||
}
|
|
||||||
|
|
||||||
maintainStateForNpc();
|
maintainStateForNpc();
|
||||||
|
|
||||||
// Everything should be updated, but the language
|
// Everything should be updated, but the language
|
||||||
|
Loading…
x
Reference in New Issue
Block a user