Browse Source

Enhance Notepad++ closing speed by not scanning for URLs

Close #14931
pull/14939/head
molsonkiko 8 months ago committed by Don Ho
parent
commit
2a6382b4a6
  1. 2
      PowerEditor/src/Notepad_plus.cpp

2
PowerEditor/src/Notepad_plus.cpp

@ -3385,6 +3385,8 @@ bool isUrl(TCHAR * text, int textLen, int start, int* segmentLen)
void Notepad_plus::addHotSpot(ScintillaEditView* view)
{
if (_isAttemptingCloseOnQuit)
return; // don't recalculate URLs when shutting down
ScintillaEditView* pView = view ? view : _pEditView;
Buffer* currentBuf = pView->getCurrentBuffer();

Loading…
Cancel
Save