Discussion:
[Jemacs-info] Improved redrawing
Christian Surlykke
2005-05-25 13:55:34 UTC
Permalink
Hi

Here's a patch that improves SwtJemacs' redrawing.
The problem is that due to an error of mine - not constructing TextChangingEvent correctly in gnu.jemacs.swt.BufferContent - the StyledText widget didn't (couldn't) redraw properly after text inserts. Not realizing that the fault was mine I just threw in a instruction to redraw the entire SwtWindow area after each handled command. This caused an unpleasant flickering of the display. Alsoother windows than the selected, attached to the same buffer, were not updated at all.
The fix is to construct TextChangingEvents properly and leave redrawing to the StyledText widget.

Formalia:

I, Christian Surlykke, hereby assign the copyright to the code-changes attached to this mail, to Per Bothner on the condition that he will make them available under the Gnu General Public License, Version 2,  as published by the Free Software Foundation. Other than that no restrictions on Per Bothners use of the changes is implied.
I declare that I am the sole author of these changes and that I know of no other person having any claims on it.

br. Chr.
Per Bothner
2005-05-27 19:13:21 UTC
Permalink
Post by Christian Surlykke
Here's a patch that improves SwtJemacs' redrawing.
Thanks - I checked this in.
--
--Per Bothner
***@bothner.com http://per.bothner.com/
Loading...