Commit Graph

16 Commits

Author SHA1 Message Date
Robby Findler
d88ba8d2cd fix on-scroll-to callback method when an editor has multiple canvases
closes PR 15252
2016-02-17 08:58:09 -06:00
Matthew Flatt
d170a8ff31 editor<%>: request incremental GC on key & mouse events 2015-12-19 12:45:25 -07:00
Matthew Flatt
446df9e047 put on-to-scroll callbacks in a refresh sequence
Avoid flickering for the "#lang" line and documentation
wedge in DrRacket, for example.
2015-12-19 07:54:30 -07:00
Matthew Flatt
d3f212b98c fix copy-on-scroll for non-integer scroll offset 2015-12-02 20:50:21 -07:00
Robby Findler
fe77bb34d4 more on scroll-by-copy
make it per-editor customizable, add callbacks, and use
them to make the special first line mixin work properly
when it is enabled
2015-11-26 13:11:47 -06:00
Matthew Flatt
79128627d2 avoid scrolling too far for scroll-via-copy
But scroll-via-copy is still not enabled.
2015-11-25 16:14:54 -07:00
Matthew Flatt
4358d22a0a disable scroll via copy
Sometimes doesn't work right, as illustrated by PR 15186
2015-11-25 08:46:37 -07:00
Matthew Flatt
bdac2da540 enable scoll via copy 2015-11-25 05:07:44 -07:00
Matthew Flatt
33395ae1cf Cocoa: canvas DC copy improvement 2015-11-24 15:01:25 -07:00
Matthew Flatt
3873064c80 Cocoa: avoid over-eager refresh on OS X 10.11
A relatively late correction to refresh handling for El Capitan
(commit 9bf18505d5) causes a canvas to be refreshed too often
in some cases. Delay the refresh to restore the old timing
without the old bug.
2015-11-23 20:45:25 -07:00
Matthew Flatt
facc07e123 Cocoa: make copy method work for canvas DC
Also correct problems with disabled scrolling via `copy`.
2015-11-23 12:13:48 -07:00
Matthew Flatt
73065a3ba6 fix propagation of 'deleted flag for low-level editor-canvas% 2015-08-27 20:52:34 -06:00
Matthew Flatt
3f4302e948 hide editor-canvas%'s => blink timer expires
Ensure that a blink timer for a canvas stops running
if the canvas becomes hidden. Otherwise, though a race
condition, it's possible for a GUI program to never
terminate if a "focus-out" event gets lost.
2015-08-16 20:55:35 -06:00
Matthew Flatt
6ed4157c51 fix boundary case for responding to horizontal scroll request 2015-05-21 08:52:01 -06:00
Matthew Flatt
12612670f6 editor-canvas%: fix scroll refresh when scroll bars are hidden 2015-05-21 08:52:01 -06:00
Sam Tobin-Hochstadt
135e357a37 Remove extra directories. 2014-12-02 02:33:07 -05:00