[FIXED_BUG] doc map: Fix folding (doc map view zone) problem.
git-svn-id: svn://svn.tuxfamily.org/svnroot/notepadplus/repository/trunk@868 f5eea248-9336-0410-98b8-ebc06183d4e3
This commit is contained in:
parent
a1d9f0f4b4
commit
17f472c9c3
|
@ -47,7 +47,7 @@ void DocumentMap::scrollMap()
|
|||
int firstVisibleDisplayLineMap = _pScintillaEditView->execute(SCI_GETFIRSTVISIBLELINE);
|
||||
int firstVisibleDocLineMap = _pScintillaEditView->execute(SCI_DOCLINEFROMVISIBLE, firstVisibleDisplayLineMap);
|
||||
int nbLineMap = _pScintillaEditView->execute(SCI_LINESONSCREEN, firstVisibleDocLineMap);
|
||||
int lastVisibleDocLineMap = firstVisibleDisplayLineMap + nbLineMap;
|
||||
int lastVisibleDocLineMap = (*_ppEditView)->execute(SCI_DOCLINEFROMVISIBLE, firstVisibleDisplayLineMap + nbLineMap);
|
||||
|
||||
// If part of editor view is out of map, then scroll map
|
||||
if (lastVisibleDocLineMap < lastVisibleDocLine)
|
||||
|
|
Loading…
Reference in New Issue