OSDN Git Service

PATCH: [ 1555764 ] prevent from shaking in view when pressing F5 down
authorTakashi Sawanaka <sdottaka@users.sourceforge.net>
Tue, 12 Sep 2006 21:30:47 +0000 (21:30 +0000)
committerTakashi Sawanaka <sdottaka@users.sourceforge.net>
Tue, 12 Sep 2006 21:30:47 +0000 (21:30 +0000)
Src/Changes.txt
Src/GhostTextView.cpp
Src/MergeDiffDetailView.cpp

index 36d02f2..59b0b9a 100644 (file)
@@ -2,6 +2,10 @@ Src\Changes.txt
 Add new items to top.
 (This summarizes all changes to all files under Src, including Src\Languages.)
 
+2006-09-12 Takashi
+ PATCH: [ 1555764 ] prevent from shaking in view when pressing F5 down
+  Src: GhostTextView.cpp MergeDiffDetailView.cpp
+
 2006-09-12 Kimmo
  PATCH: [ 1556851 ] An Swedish translation update
   Submitted by Hans Eriksson
index 3f91b54..d4f27be 100644 (file)
@@ -152,6 +152,7 @@ void CGhostTextView::PopCursors ()
                m_nTopSubLine = GetSubLineCount() - 1;
        int nDummy;
        GetLineBySubLine( m_nTopSubLine, m_nTopLine, nDummy );
+    RecalcVertScrollBar(TRUE);
 }
 
 void CGhostTextView::PushCursors ()
index 63ca153..c628c15 100644 (file)
@@ -648,6 +648,7 @@ void CMergeDiffDetailView::PopCursors()
                m_nTopSubLine = GetSubLineCount() - 1;
        int nDummy;
        GetLineBySubLine( m_nTopSubLine, m_nTopLine, nDummy );
+    RecalcVertScrollBar(TRUE);
 
        // other positions are set to (0,0) during ResetView
 }