On Jun 18, 2006, at 5:24 AM, Martin Vermeer wrote:
On Sat, Jun 17, 2006 at 11:24:51PM +0300, Martin Vermeer wrote:
On Wed, Jun 14, 2006 at 11:14:19AM +0300, Martin Vermeer wrote:
...
PS Getting rid of Wide() would only be possible if you have, inside
insettext, access to the _maximum_ left and right edges of the
contained
text, rather than the _actual_ ones...
Yesss! This is precisely the solution. Patch forthcoming...
Nothing as inspiring as a weekend in nature.
Here's the patch you've been looking for... it simplifies things which
is always a good sign.
This is much faster on Mac than the previous patches, but still a bit
slower than unpatched. I suspect the reason is that as I type, the
width of the inset is sometimes changing by small amounts, and so
large parts of the screen then have to be redrawn. (This doesn't
happen all the time, and I haven't been able to pin down when it does
happen, though the "jumping" screen effect is quite distracting.)
Nonetheless, it's a nice improvement (and the minor trade-off in
speed for the nicer GUI is worth it, I think).
Bennett