diff --git a/PowerEditor/src/NppBigSwitch.cpp b/PowerEditor/src/NppBigSwitch.cpp index 966c8a1d..63dc065d 100644 --- a/PowerEditor/src/NppBigSwitch.cpp +++ b/PowerEditor/src/NppBigSwitch.cpp @@ -421,7 +421,8 @@ LRESULT Notepad_plus::process(HWND hwnd, UINT Message, WPARAM wParam, LPARAM lPa if (_pDocMap) { - _pDocMap->doMove(); + //_pDocMap->doMove(); + _pDocMap->reloadMap(); } result = TRUE; diff --git a/PowerEditor/src/WinControls/DocumentMap/documentMap.cpp b/PowerEditor/src/WinControls/DocumentMap/documentMap.cpp index 9b835893..229c2f0e 100644 --- a/PowerEditor/src/WinControls/DocumentMap/documentMap.cpp +++ b/PowerEditor/src/WinControls/DocumentMap/documentMap.cpp @@ -40,7 +40,7 @@ void DocumentMap::reloadMap() // Wrapping if ((*_ppEditView)->isWrap() && needToRecomputeWith()) { - initWrapMap(); + //initWrapMap(); wrapMap(); } scrollMap();