SVN Commit by dpage: r4898 - trunk/pgadmin3/src/ctl

From: svn(at)pgadmin(dot)org
To: pgadmin-hackers(at)postgresql(dot)org
Subject: SVN Commit by dpage: r4898 - trunk/pgadmin3/src/ctl
Date: 2006-01-16 15:14:16
Message-ID: 200601161514.k0GFEGct006088@developer.pgadmin.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgadmin-hackers

Author: dpage
Date: 2006-01-16 15:14:16 +0000 (Mon, 16 Jan 2006)
New Revision: 4898

Modified:
trunk/pgadmin3/src/ctl/ctlSQLBox.cpp
Log:
Fix Replace All in ctlSQLBox, per Luc Mousseau

Modified: trunk/pgadmin3/src/ctl/ctlSQLBox.cpp
===================================================================
--- trunk/pgadmin3/src/ctl/ctlSQLBox.cpp 2006-01-13 22:02:08 UTC (rev 4897)
+++ trunk/pgadmin3/src/ctl/ctlSQLBox.cpp 2006-01-16 15:14:16 UTC (rev 4898)
@@ -505,6 +505,7 @@
SetSelectionStart(pos);
SetSelectionEnd(pos + event.GetFindString().Length());
ReplaceSelection(event.GetReplaceString().c_str());
+ pos = pos + event.GetReplaceString().Length();
pos = FindText(pos, endPos, event.GetFindString().c_str(), flags);
}

Browse pgadmin-hackers by date

  From Date Subject
Next Message OpenMacNews 2006-01-16 21:15:36 no copy from hints windows?
Previous Message Dave Page 2006-01-16 09:49:20 Re: A mistake on the advocacy pages of the devel web site