Skip to content

Commit

Permalink
Fix file opening issue with control characters initial appearence
Browse files Browse the repository at this point in the history
  • Loading branch information
ozone10 authored and donho committed May 31, 2024
1 parent 6c660a7 commit cfcb0d7
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions PowerEditor/src/Notepad_plus.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -6645,10 +6645,12 @@ void Notepad_plus::notifyBufferActivated(BufferID bufid, int view)
if (view == MAIN_VIEW)
{
_autoCompleteMain.setLanguage(buf->getLangType());
_mainEditView.maintainStateForNpc();
}
else if (view == SUB_VIEW)
{
_autoCompleteSub.setLanguage(buf->getLangType());
_subEditView.maintainStateForNpc();
}

if (view != currentView())
Expand Down

0 comments on commit cfcb0d7

Please sign in to comment.