From 79db2731cc43f73ac84837bec9f202a7a9456ef5 Mon Sep 17 00:00:00 2001 From: donho Date: Sun, 23 Mar 2008 23:44:01 +0000 Subject: [PATCH] [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 --- PowerEditor/src/Notepad_plus.cpp | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/PowerEditor/src/Notepad_plus.cpp b/PowerEditor/src/Notepad_plus.cpp index 5c95c16fb..1f1b91311 100644 --- a/PowerEditor/src/Notepad_plus.cpp +++ b/PowerEditor/src/Notepad_plus.cpp @@ -4492,6 +4492,10 @@ void Notepad_plus::checkModifiedDocument() if (vi.currentIndex == i) { vi.toBeActivated = true; + if (j == 0) // 0 == current view + { + _activeAppInf._isActivated = false; + } } } else if (doReloadOrNot(docBuf.getFileName()) == IDYES)