mirror of
https://github.com/notepad-plus-plus/notepad-plus-plus.git
synced 2025-07-27 07:44:24 +02:00
[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)
|
if (_pDocMap)
|
||||||
{
|
{
|
||||||
_pDocMap->doMove();
|
//_pDocMap->doMove();
|
||||||
|
_pDocMap->reloadMap();
|
||||||
}
|
}
|
||||||
|
|
||||||
result = TRUE;
|
result = TRUE;
|
||||||
|
@ -40,7 +40,7 @@ void DocumentMap::reloadMap()
|
|||||||
// Wrapping
|
// Wrapping
|
||||||
if ((*_ppEditView)->isWrap() && needToRecomputeWith())
|
if ((*_ppEditView)->isWrap() && needToRecomputeWith())
|
||||||
{
|
{
|
||||||
initWrapMap();
|
//initWrapMap();
|
||||||
wrapMap();
|
wrapMap();
|
||||||
}
|
}
|
||||||
scrollMap();
|
scrollMap();
|
||||||
|
Loading…
x
Reference in New Issue
Block a user