Commit Graph

124 Commits

Author SHA1 Message Date
Matthew Flatt
b0115ee360 add 'wheel-left and 'wheel-right events 2011-04-03 09:49:56 -06:00
Matthew Flatt
6e1f35a319 fix WXME stream write-bytes' and write' method results 2011-03-27 16:30:44 -06:00
Robby Findler
288caacdfd added get-extend-start-position and get-extend-end-position
added the extend-position method
adjusted the wxme.rkt test suite so that it only prints when tests fail
2011-03-25 15:10:49 -05:00
David Van Horn
760a58b65d Fixes more spelling errors. 2011-02-04 19:44:13 -07:00
David Van Horn
c9519fd113 Fixed various spelling errors. 2011-02-03 17:42:33 -05:00
Matthew Flatt
98822cf1f9 adjust `racket/gui' and dependencies to survive a locked preference file
- adds a `#:timeout-lock-there' argument to `get-preference'
 - fixes preference looup in `racket/gui'
 - make preference names consistently use `GRacket' and consistently
   fall back on `MrEd' names
 - fix Emacs-style undo mode while we're at it
2011-01-18 17:37:33 -07:00
Matthew Flatt
183323a2c5 fix `editor<%>' printing problems
- pagination for `pastebard%'
 - always put everything on a single page for EPS mode
 - add PDF support to mirror PS support
2011-01-18 14:16:25 -07:00
Matthew Flatt
a9dd80110a restore doc & page checking for `post-script-dc%' et al.
and also fix up wiring of `printer-dc%' in `editor<%>' so
 that `is-a?' tests works as expected
2011-01-14 20:30:51 -07:00
Matthew Flatt
be6ba896e0 repairs for line numbers in DrRacket 2011-01-07 11:57:50 -07:00
Matthew Flatt
ae5093a134 more consistent on-size' and on-move' 2011-01-05 10:00:07 -07:00
Matthew Flatt
b0095111d4 restore and document scrolling behavior
Closes PR 11583, and
 everts the previous fix for PR 10853 and fixes
  it in a different way
2011-01-05 07:02:00 -07:00
Asumu Takikawa
24050a5bc6 Remove do-copy, do-paste, and do-paste-x-selection from editor<%>.
text% and pasteboard% now do not override the methods.
2011-01-04 13:04:28 -05:00
Matthew Flatt
b0ed2f5bc2 fix result of editor<%> `load-file' when the editor is locked
relevant to PR 11590
2011-01-04 06:11:46 -07:00
Matthew Flatt
5809860dd3 fix problem with text% padding 2010-12-31 14:40:27 -07:00
Matthew Flatt
d3fd1ba013 add `set-padding' to text% 2010-12-29 13:42:58 -07:00
Robby Findler
5eec85a5a2 change the way scrolling works so that canvases that are 'primary-owner's are respected when calling scroll-to on an admin
This change may also affect other attempts to scroll, however, so watch for strange scrollings when multiple editor-canvaess are displaying the same text% object.
  closes PR 10853
2010-12-28 16:37:13 -06:00
Sam Tobin-Hochstadt
abf2215de7 Fix send to the wrong administrator.
Bug found by tests/gracket/wxme-random.
2010-12-19 22:56:15 -05:00
Sam Tobin-Hochstadt
491eeaa759 Move mred/private/wxme/style to racket/snip/private/style.
`racket/snip' now exports the style classes and the add,mult-color interfaces.
2010-12-19 22:56:15 -05:00
Matthew Flatt
c259d0839a make editor caret adapt to background color 2010-12-18 07:22:40 -07:00
Sam Tobin-Hochstadt
70955d5540 Split mred/private/wxme/private into two files. 2010-12-18 00:10:26 -05:00
Sam Tobin-Hochstadt
cf3aec6b95 Move load-one to racket/snip.
Create private directory for racket/snip.
Remove snip dependence on events.
2010-12-18 00:10:26 -05:00
Sam Tobin-Hochstadt
fb76a887d8 Refactor to create `racket/snip' collection. 2010-12-17 12:32:26 -05:00
Sam Tobin-Hochstadt
8a8a8dbe4b Separate snip% from the gui 2010-12-17 12:32:26 -05:00
Sam Tobin-Hochstadt
398add4e29 Move symbol predicates to their own file. 2010-12-17 12:32:26 -05:00
Sam Tobin-Hochstadt
13cae20838 Fixes for PNG conversion, and make `image-snip%' convertible. 2010-12-17 12:32:25 -05:00
Matthew Flatt
cad500d802 fix problems with image-snip%, masks or alpha channels, and saving
and also generalize image-snip% to accept input port instead
 of filenames, and avoid temporary files for loading and saving images
2010-12-14 21:11:10 -07:00
Matthew Flatt
39c6fe02d7 use `assert' around a debugging check 2010-12-13 14:54:07 -07:00
Matthew Flatt
82ab45b11d gtk: fix clipboard; implement ye olde X selection 2010-12-01 20:48:23 -07:00
Matthew Flatt
ed8aa132de improve editor highlighting of selected image-snip% 2010-12-01 15:48:54 -07:00
Matthew Flatt
e9710d08f5 fix autowrap bitmap drawing so it isn't covered up by a selection 2010-12-01 15:48:54 -07:00
Matthew Flatt
59bf78b6c8 avoid xor for pasteboard rubberband hiliting 2010-11-05 20:26:24 -06:00
Matthew Flatt
05cfffdf9e v5.4.99.1, executable-yield-handler', and make-bitmap' etc. 2010-11-05 15:54:50 -06:00
Matthew Flatt
881c182956 editor insert-image uses alpha by default 2010-11-05 15:54:44 -06:00
Matthew Flatt
27f18efa88 gtk: make gl support optional and also clean up some unneeded unimplementeds 2010-11-05 15:54:41 -06:00
Matthew Flatt
090437c4d9 win32 repairs 2010-11-05 15:54:40 -06:00
Matthew Flatt
5e1c4ae1f8 gtk: printer-dc% 2010-11-05 15:54:39 -06:00
Matthew Flatt
736607c280 win32: combo and cursor fixes 2010-11-05 15:54:33 -06:00
Matthew Flatt
51aacfe949 add make-screen-bitmap and canvas% make-bitmap; specialize for X11 2010-11-05 15:54:26 -06:00
Matthew Flatt
4bd84adb3a add dc<%> copy method; speed text drawing a little and implement but disable editor scrolling with dc<%> copy 2010-11-05 15:54:25 -06:00
Matthew Flatt
3a17b284a7 fix flash highlight 2010-11-05 15:54:25 -06:00
Matthew Flatt
f51345b512 selection and cocoa clipboard fixes 2010-11-05 15:54:25 -06:00
Matthew Flatt
e72cf85175 toward better refresh for gtk & other bug fixes 2010-11-05 15:54:23 -06:00
Matthew Flatt
f13b569b75 more attempts to avoid flicker 2010-11-05 15:54:21 -06:00
Matthew Flatt
ae05eddf14 generalize editor selection mechanism to support Windows style 2010-11-05 15:54:19 -06:00
Matthew Flatt
3a99e9e82c concurrency repairs 2010-11-05 15:54:18 -06:00
Matthew Flatt
9f36c96960 switch gtk to new canvas-refresh strategy 2010-11-05 15:54:12 -06:00
Matthew Flatt
7a7658e86d new cocoa canvas-refresh strategy 2010-11-05 15:54:12 -06:00
Matthew Flatt
ff57455150 manual font substitution for Mac OS X 2010-11-05 15:54:10 -06:00
Matthew Flatt
5baba1d81a gracket2 wx re-implementation start 2010-11-05 15:53:55 -06:00
Robby Findler
822895fd68 fix minor bug in 'display-end functionality in invalidate-bitmap-cache 2010-10-29 15:06:48 -05:00