[Winmerge-svn] SF.net SVN: winmerge: [4026] branches/R2_6/Src
Windows visual diff and merge for files and directories
Brought to you by:
christianlist,
grimmdp
From: <sdo...@us...> - 2007-01-10 14:18:51
|
Revision: 4026 http://svn.sourceforge.net/winmerge/?rev=4026&view=rev Author: sdottaka Date: 2007-01-10 06:18:48 -0800 (Wed, 10 Jan 2007) Log Message: ----------- BUG: [ 1630630 ] Unexpected selection of text after changing pane Modified Paths: -------------- branches/R2_6/Src/Changes.txt branches/R2_6/Src/MergeEditView.cpp Modified: branches/R2_6/Src/Changes.txt =================================================================== --- branches/R2_6/Src/Changes.txt 2007-01-10 14:12:58 UTC (rev 4025) +++ branches/R2_6/Src/Changes.txt 2007-01-10 14:18:48 UTC (rev 4026) @@ -2,6 +2,10 @@ Add new items to top. (This summarizes all changes to all files under Src, including Src\Languages.) +2007-01-10 Takashi + BUG: [ 1630630 ] Unexpected selection of text after changing pane + Src: MergeEditView.cpp + 2007-01-10 Gal PATCH: [ 1631215 ] Remove used files Src: Merge.dsp Modified: branches/R2_6/Src/MergeEditView.cpp =================================================================== --- branches/R2_6/Src/MergeEditView.cpp 2007-01-10 14:12:58 UTC (rev 4025) +++ branches/R2_6/Src/MergeEditView.cpp 2007-01-10 14:18:48 UTC (rev 4026) @@ -2184,6 +2184,8 @@ if (ptCursor.y >= pWnd->GetLineCount()) ptCursor.y = pWnd->GetLineCount() - 1; pWnd->SetCursorPos(ptCursor); + pWnd->SetAnchor(ptCursor); + pWnd->SetSelection(ptCursor, ptCursor); } /** This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |