[BUG_FIXED] Fix the bug of scrolling to eof feature for the current document.

git-svn-id: svn://svn.tuxfamily.org/svnroot/notepadplus/repository@151 f5eea248-9336-0410-98b8-ebc06183d4e3
This commit is contained in:
donho 2008-03-23 23:44:01 +00:00
parent 3453ff8ee8
commit 79db2731cc
1 changed files with 4 additions and 0 deletions

View File

@ -4492,6 +4492,10 @@ void Notepad_plus::checkModifiedDocument()
if (vi.currentIndex == i) if (vi.currentIndex == i)
{ {
vi.toBeActivated = true; vi.toBeActivated = true;
if (j == 0) // 0 == current view
{
_activeAppInf._isActivated = false;
}
} }
} }
else if (doReloadOrNot(docBuf.getFileName()) == IDYES) else if (doReloadOrNot(docBuf.getFileName()) == IDYES)