Commit Graph

5362 Commits

Author SHA1 Message Date
Robby Findler
b10086ed13 add info the docs about between methods that create separator items 2016-07-07 11:06:25 -05:00
Robby Findler
0b2be755e4 do even less work before queueing the callback in hopes it is guaranteed to get queued
closes PR 15317
2016-06-30 10:14:10 -05:00
Robby Findler
af33c70558 dont use get-keyword-type as the parameter name 2016-06-28 10:12:26 -05:00
Robby Findler
09519347e2 use a hash for the preferences (instead of the real file) 2016-06-25 21:27:25 -05:00
Robby Findler
f629545c2d use pretty-write when printing in write mode 2016-06-25 09:41:52 -05:00
Robby Findler
c3322ca05d adjust indentation so that hyphens at the start of sexp causes subsequent
lines to not indent
2016-06-22 20:44:29 -05:00
Robby Findler
9f3635f399 adjust indentation so that a sequence of hyphens always moves to the start of the sexp 2016-06-22 20:41:17 -05:00
Dan Feltey
d9dbfb01fd Fix racket:text-mixin docs to include required editor:keymap<%> interface (#34) 2016-06-20 22:32:15 -05:00
Matthew Flatt
e01e970722 fix a problem in WXME decoding
Thanks to Robby for the test case and for narrowing down the problem.
2016-06-06 09:20:47 -06:00
Robby Findler
7c857706d7 added an optional argument to compute-racket-amount-to-indent 2016-06-05 08:41:10 -05:00
Robby Findler
48d2de53d5 ispell (not aspell) doesn't seem to deal correctly with non-ASCII words
so just don't try to spell check them unless we know we have aspell
2016-05-29 20:02:47 -05:00
Robby Findler
c3f4b5dedd generalize set-interactive-write-handler & use it in text:ports-mixin
to avoid duplicate code between the drracket support for printing and
for write/display; also add a special case for 2htdp/image images
because they can be trusted across the boundary between DrRacket's
implementation and the user's program (as there is no way to embed
arbitrary code into a 2htdp/image image)
2016-05-28 18:34:52 -05:00
Stephen De Gabrielle
7794ace98d Typo line 874 changed 'if' to 'of' 2016-05-27 15:40:07 -05:00
Matthew Flatt
399cfe9c5b add 'hide-hscroll and 'hide-vscroll for panel% 2016-05-18 15:30:33 -06:00
Matthew Flatt
3e6fcf18bb Cocoa: fix enable method of choice% 2016-05-18 14:33:16 -06:00
Robby Findler
10425033b8 fix marshalling of embedded editors 2016-05-15 16:02:01 -05:00
Asumu Takikawa
50fb0e9a93 Minor wording fix in highlight-range docs 2016-05-11 15:34:04 -04:00
Robby Findler
fc5c233cdd minor edit to undo docs 2016-04-20 13:11:18 -05:00
Robby Findler
0863437394 dont allow undoing of the color changes that IO uses to indicate which port is which
closes PR 15291
2016-04-20 12:37:09 -05:00
Matthew Flatt
f0d10e9cc8 OS X: disable reordering of tabs in the new tab-panel% widget
Fixes racket/drracket#52
2016-04-17 20:59:10 -06:00
Matthew Flatt
2fa9b94683 repair to work with ancient Gtk 2016-04-17 14:30:31 -06:00
Matthew Flatt
6de1e4310c fix disable of tab-panel% with 'no-border 2016-04-15 21:59:13 -06:00
Robby Findler
fdd52ef965 loosen passing predicate for number snip test 2016-04-15 18:11:29 -05:00
Robby Findler
ca2deebe47 fix ellipsis in test 2016-04-15 18:09:38 -05:00
Matthew Flatt
fc813b32ca cooperate with tethered-executable builds 2016-04-14 16:21:16 -06:00
Matthew Flatt
32f8bfd90e repairs to work with old Gtk 2016-04-14 06:06:34 -06:00
Robby Findler
eb8d060f84 fix short circuiting computation for line number drawing
closes #30

please include in the release
2016-04-11 18:06:43 -05:00
Matthew Flatt
9ef883a79f Cocoa, 64-bit, 10.10 and later: use MMTabBarView
On 10.11 in 64-bit mode, showing a frame with a PSMTabBarControl
instance somehow causes the event loop to become occupied on
mouse movements, so that moving the mouse in a `2htdp/universe`
program is slow when more than one tab is open in DrRacket. The
modern MMTabBarView widget doesn't have that problem. Also, the
MMTabBarView widget has a Yosemite look (to replace Aqua).
2016-04-07 13:12:30 -06:00
Matthew Flatt
30c8202656 fix focus for windows within a floating frame
Make the `focus` method shift focus to a floating frame. Also, shift
focus away from the floating frame when `focus` is used in an window
within the current main frame.
2016-03-28 17:25:22 -06:00
Matthew Flatt
9fdc917295 unbreak splash dialog
Bug fix is by Robby.
2016-03-27 17:38:54 -06:00
Robby Findler
c4b0dffcfa try to help the search window to have the right size
in the case that the font size has changed since it was last open

(this doesn't seem to be a problem with only one tab and
may actually be a bug in the way editor canvases with set-line-count
enabled handle font size changes, I'm not sure, but this seems
to fix a fairly annoying behavior I run into)
2016-03-27 17:40:22 -05:00
Robby Findler
3da682ebe1 add syntax-parameterize to tabbing rules 2016-03-27 16:16:19 -05:00
Robby Findler
0b8598e9d0 remove useless code 2016-03-27 16:15:38 -05:00
Robby Findler
9a9ecb72fb fix bug in keybinding table construction 2016-03-18 09:42:31 -05:00
Matthew Flatt
ac0442b990 framework preferences: add option for Control+Alt as AltGr 2016-03-17 17:01:36 -06:00
Matthew Flatt
282a22b8f0 add any-control+alt-is-altgr
Thanks to Bert De Ketelaere for helping to sort out this new
behavior.
2016-03-17 16:39:40 -06:00
Matthew Flatt
3ae70e6617 fix doc typos 2016-03-15 18:44:41 -06:00
Matthew Flatt
2c5b1480f4 fix mouse wheel for GTK+ 3
Closes PR 15271
2016-03-15 13:28:13 -06:00
Robby Findler
50655cea7e some more updates to follow TeX better for \var vs non-\var greek letters
Source: https://www.w3.org/TR/WD-math-970515/table04.html
Hat Tip: Max New
2016-03-10 21:54:30 -06:00
Robby Findler
1717521602 follow latex's \varepsilon vs \epsilon convention, as described here:
http://tex.stackexchange.com/questions/98013/varepsilon-vs-epsilon
2016-03-10 16:52:01 -06:00
Matthew Flatt
c4ef1829fc Gtk: adjust handling of composed input
Intended to fix #29
2016-03-10 13:10:37 -07:00
Robby Findler
cf2859049a add a preference to control the maximum reflow width 2016-03-08 09:29:48 -06:00
Robby Findler
28406b9a76 remove the restriction that new preferences can be registered only before a snapshot is grabbed
also improve the docs a little bit and some Rackety
2016-03-08 09:29:03 -06:00
Robby Findler
da7a258da8 bring down below 102 columns and fix a set! expression
to actually have an effect
2016-03-07 08:30:32 -06:00
Matthew Flatt
2ab1fb319a rearrange dc fields to avoid undefined-checking chaperone 2016-03-02 08:42:55 -07:00
Asumu Takikawa
6b9cd9fa9c Fix docs for get-search-hit-count to match code 2016-03-02 03:54:18 -05:00
Robby Findler
ab063326fe change indentation strategy for sequences whose head is a keyword
assume that these are part of some internal structure of something
that, in general looks like

  (#:x 1 #:y 2 #:z 3)

and so prefer to indent like this:

  (#:x 1
   #:y 2
   #:z 3)

instead of like this:

  (#:x 1
       #:y 2
       #:z 3)
2016-02-25 10:37:44 -06:00
Matthew Flatt
be30bf721d Cocoa: avoid backing-dc failure on zero-sized canvas
Closes https://github.com/racket/racket#1255
2016-02-22 05:05:35 -07:00
Robby Findler
c8c8ce64eb use the right font for sizing the line numbers invalidate region
closes #41
2016-02-19 09:03:39 -06:00
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