[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:
parent
f2433f2d09
commit
1d12661dbd
|
@ -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;
|
||||
|
|
|
@ -40,7 +40,7 @@ void DocumentMap::reloadMap()
|
|||
// Wrapping
|
||||
if ((*_ppEditView)->isWrap() && needToRecomputeWith())
|
||||
{
|
||||
initWrapMap();
|
||||
//initWrapMap();
|
||||
wrapMap();
|
||||
}
|
||||
scrollMap();
|
||||
|
|
Loading…
Reference in New Issue