Author: matt
Date: 2011-09-27 19:11:14 -0700 (Tue, 27 Sep 2011)
New Revision: 9068
Log:
STR 2684: increased right margin in Fl_Input_ so that a cursor at the end of a
line would always be fully visible.
Modified:
branches/branch-1.3/src/Fl_Input_.cxx
Modified: branches/branch-1.3/src/Fl_Input_.cxx
===================================================================
--- branches/branch-1.3/src/Fl_Input_.cxx 2011-09-27 22:16:43 UTC (rev
9067)
+++ branches/branch-1.3/src/Fl_Input_.cxx 2011-09-28 02:11:14 UTC (rev
9068)
@@ -255,7 +255,7 @@
// figure out scrolling so there is space after the cursor:
newscroll = curx+threshold-W;
// figure out the furthest left we ever want to scroll:
- int ex = int(expandpos(p, e, buf, 0))+2-W;
+ int ex = int(expandpos(p, e, buf, 0))+4-W;
// use minimum of both amounts:
if (ex < newscroll) newscroll = ex;
} else if (curx < newscroll+threshold) {
_______________________________________________
fltk-commit mailing list
[email protected]
http://lists.easysw.com/mailman/listinfo/fltk-commit