add some notes

git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@1672 57a11ea4-9604-0410-9ed3-97b8803252fd
This commit is contained in:
Linas Vepstas 1999-03-01 05:11:17 +00:00
parent 09e85ed329
commit ed41ca4362

View File

@ -286,6 +286,11 @@ modifyCB (Widget mw, XtPointer cd, XtPointer cb)
if (retval != newval) {
XbaeMatrixSetCell (mw, row, col, (char *) retval);
XbaeMatrixRefreshCell (mw, row, col);
/* hack alert -- if the mv callback radically modifies
* the returned string, then endPos won't be such a great
* place to put the cursor. However, mv mostly just accepts
* or rejects edits, so as to not surprise the user too much.
*/
XbaeMatrixSetCursorPosition (mw, (cbs->verify->endPos) +1);
/* the default update has already been overridden,