[ENHANCEMENT] Doc map: Improve wrapping operation.

git-svn-id: svn://svn.tuxfamily.org/svnroot/notepadplus/repository/trunk@880 f5eea248-9336-0410-98b8-ebc06183d4e3
This commit is contained in:
Don Ho 2012-03-13 22:32:40 +00:00
parent f2433f2d09
commit 1d12661dbd
2 changed files with 3 additions and 2 deletions

View File

@ -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;

View File

@ -40,7 +40,7 @@ void DocumentMap::reloadMap()
// Wrapping
if ((*_ppEditView)->isWrap() && needToRecomputeWith())
{
initWrapMap();
//initWrapMap();
wrapMap();
}
scrollMap();