Robby Findler
5b3ac50fb9
add get-token-range to color:text<%> (it was already documented
...
as if it was there)
2012-10-16 10:51:45 -05:00
Robby Findler
4787361d7f
show a dialog box saying that aspell/ispell cannot be
...
found instead of just silently not checking the spelling
also, fix a bug in that case that used to cause drracket
to just crash
2012-10-15 07:41:42 -05:00
Robby Findler
a59df8c7ee
add preference settings so that the misspelled words color
...
can be configured
2012-10-14 22:27:50 -05:00
Robby Findler
44a0c8a6c1
adjust spelling code so that it runs in the abortable part
...
of the syntax colorer; adjust the spelling code so that it
uses nack events to communicate, in case things get aborted
2012-10-14 21:20:36 -05:00
Robby Findler
c75cc48f5c
fix spell checker encoding
2012-10-14 18:45:10 -05:00
Robby Findler
72fa1d45a1
add capability to spell-check string constants
...
(calls out to ispell or aspell)
2012-10-14 17:40:56 -05:00
Robby Findler
c675cf47f0
adjust the print-to-ps preference in DrRacket so that you can also
...
choose to print to pdf as well. Also, enable the preference
under linux (ie, make it available to be chosen-- all platforms
still default to printing via the platform-specific mechanism)
2012-09-17 10:47:22 -05:00
Robby Findler
9b15450b08
export and document enabled-shown-button?
...
label-of-enabled/shown-button-in-top-level-window?
and button-in-top-level-focusd-window?
2012-09-08 15:58:25 -05:00
Robby Findler
977fd37913
adjust contract for test:button-push so it isn't so ugly
2012-08-29 14:52:56 -05:00
Robby Findler
f1a4aeedba
control-alt for menu selections probably shouldn't be
...
used under windows, so just give a menu shortcut under
macosx and under windows rely on the underscore thingy
2012-08-21 08:16:39 -05:00
Robby Findler
e38e959145
change the new 'find from selection' menu item so that it uses
...
cmd-alt-f on the mac (and control-alt-f on windows/unix, I believe)
2012-08-19 18:04:14 -05:00
Robby Findler
49eb4ab11c
adjust the windows menu so that it doesn't rely on
...
various callbacks to keep its menu items straight, but
instead uses the on-demand callback to just get them
all right.
2012-08-16 19:16:57 -05:00
Robby Findler
e65cbdecf0
Rackety
2012-08-07 13:03:45 -05:00
Robby Findler
94a448413e
add some highlighting to the line numbers to show where
...
the insertion point currently is
closes PR 12976
2012-08-07 12:12:45 -05:00
Robby Findler
b5f9751369
add some highlighting to the line numbers to show where
...
the insertion point currently is
closes PR 12976
2012-08-06 22:24:59 -05:00
Robby Findler
b16843a908
add a find-from-selection menu item that grabs the selection and puts
...
it directly into the find window
related to PR 12978
2012-08-06 18:00:57 -05:00
Robby Findler
9b39fc37f8
adjust the filename filter for the insert-images menu item
...
closes PR 12963
2012-08-02 07:17:09 -05:00
Eli Barzilay
2ebab9b93f
Redo text sculpturing.
2012-07-06 16:07:30 -04:00
Robby Findler
8f892a2d3a
when moving the focus to the replace window, also select the text
...
closes PR 12855
2012-06-20 09:27:16 -05:00
Robby Findler
dfa0305bb3
fix interaction between the framework's first-line-mixin and
...
line-numbers mixin
Specifically, when both are turned on, the #lang line now shows
the line number and shifts the "#lang ..." over to the same spot
where it is drawn when the first line is natually visible
Also, rackety
2012-05-15 22:08:42 -05:00
Matthew Flatt
964020f288
implement scribble/srcdoc' via submodules instead of
expand'
...
Also add a `for-doc' require form, make `proc-doc' et al. provide
forms, make `provide/doc' an alias for `provide'.
2012-05-12 01:37:50 -06:00
Eli Barzilay
17090fca4f
A bunch of fprintf' ->
eprintf' conversions (and a few related things).
2012-05-06 12:06:00 -04:00
Robby Findler
80d57148d1
fix bug in docs; closes PR 12716
2012-04-22 21:54:19 -05:00
Robby Findler
35e818ae50
the autosave file might be deleted by the user after it is created
...
the first time but before the file is actually saved. guard against that.
closes PR 12698
2012-04-13 10:04:25 -05:00
Robby Findler
a475c078e2
add splicing-syntax-parameterize to the default indentation prefs
2012-04-05 17:34:45 -05:00
Robby Findler
a1446a037b
be a bit more systematic with tabbing and magic square-bracket-ing for 'for's
...
also, add in for/sum and for/product
2012-03-28 07:21:09 -05:00
Robby Findler
617df05ef7
added a test suite for DrRacket that checks to make sure the Dear Dr
...
starts up on all of the days that have easter eggs (well, except 7/2,
since that one is hard to interpose on and hasn't changed in a long
time)
2012-03-26 15:43:56 -05:00
Robby Findler
b640b6b41c
fix splash screen error handling code
2012-03-26 15:43:55 -05:00
Robby Findler
0d6b825377
add a preference to control whether or not there is an extra
...
pixel of space in between lines in DrRacket.
This change is based on Matthew's experience having a look
at the font setup on the three platforms.
He writes:
> * Mac OS X: the convention seems to be to add space between lines.
> TextEdit, for example, looks like DrRacket: the maze has spaces.
>
> (I can't find a font that makes the maze look right, actually, even
> if I adjust the line spacing.)
>
> * Windows: the convention seems to be that space is built into the
> font. DrRacket (and SirMail) draw lines more sparsely than Notepad.
>
> Perhaps consistent with the differing conventions, the height of
> "Courier New" at 11-pixel size is 14 on Windows, 13 on Mac OS X.
>
> * Unix: the convention seems to be to add space. DrRacket looks like
> the default Terminal and Text Editor programs on Ubuntu.
>
> The maze nevertheless looks right everywhere, because the glyphs
> extend an extra pixel above the declared bounding box!
2012-03-24 20:20:05 -05:00
Matthew Flatt
e01ebf6095
try module+' in place of
slice'
2012-03-13 14:31:40 -06:00
Robby Findler
a7cb8fdc84
small improvements to the memory usage for files opened in DrRacket.
...
Before this commit, opening collects/drracket/private/unit.rkt required
about 17.5 megabytes of memory and after this commit, it is down to
about 15 megabytes.
The precise measurement I did was to create a frame and a scheme:text%
object in it, record the result of current-memory-use, open the file,
and record current-memory-use again.
For comparison, using a text:standard-style-list% object instead of
the scheme:text% requires only about 4.1 megabytes. One difference
being that there are about 3x more snips (10,204 vs 33,901 (after the
commit)), since we have one snip for each region that has a different
color in the scheme:text version, and the text:standard-style-list has
no colors and thus about two per line (there are 5006 lines in the
file).
2012-03-10 20:18:49 -06:00
Matthew Flatt
54a441c0e3
DrRacket default `module*' indentation
2012-03-09 10:34:57 -07:00
Asumu Takikawa
04f7bdbb02
framework: add missing methods to interface and docs
...
The set-replace-start and get-replace-search-hit methods were
missing in the text:searchable<%> interface. The latter was
also undocumented.
2012-03-01 13:17:48 -05:00
Eli Barzilay
f7c67b49a4
Big newline at EOF scan.
2012-02-29 00:28:11 -05:00
Robby Findler
eda4d294cc
Lost the snipclass with the name (lib "collapsed-snipclass.ss" "framework")
...
somewhere between 5.1.3 and 5.2.1. Bring it back.
closes PR 12563
2012-02-14 11:26:20 -06:00
Sam Tobin-Hochstadt
e3609cdb32
Refactor and improve fuzzy searching in completion.
2012-01-13 14:39:05 -05:00
Robby Findler
e067a4415a
fix call to message box to remove incorrect style flag
...
merge to the release branch, please
2012-01-11 13:16:46 -06:00
Robby Findler
95ac3c86f7
fixed bug in the way aug:keymap extracts the names
...
now it should return only the canonical names of the keybindings
(instead of potentially returning both the canonical and
non-canonicalized names)
2012-01-08 07:07:56 -06:00
Robby Findler
950d165133
fix the not-a-language message so that the styles in the REPL are right
2012-01-06 20:59:34 -06:00
Robby Findler
48772f2e40
when double clicking in a comment, fall back to word-based instead
...
of sexp-based selection
closes PR 12439
2011-12-12 14:45:27 -06:00
Robby Findler
1d03e5f711
adjust the double clicking in racket mode so that clicks on the
...
(instead of sexp-based)
closes PR 12421
2011-12-05 21:01:28 -06:00
Robby Findler
082978effe
improve the double-click-on-word behavior for scribble (generally when
...
double clicking inside a string) and when clicking on close
parentheses (specifically, only special case close parens that are
actually parentheses according to the colorer, rather than special
casing all close parens).
2011-11-30 16:55:54 -06:00
Robby Findler
458e2c2282
some long overdue Rackety: renaming the 'scheme:' exports of the framework to 'racket:'
2011-11-30 06:45:50 -06:00
Robby Findler
dd4f307a47
use an aug-keymap instead of a keymap for the scheme mode keymap container
2011-11-29 14:27:51 -06:00
Robby Findler
1c2f9cd721
adjust the handling of the scheme mode keymap so that it can go
...
before the plain text-mode keymap.
Add a doubleleftclick binding to the scheme mode keymap so that
we can have sexp-sensitive double clicking in the drracket editor
2011-11-29 13:46:23 -06:00
Robby Findler
e935b1fa8e
change the framework & drracket so that they still use the colorer
...
methods (paren matching, mostly) when the colorer is frozen
(but continue to avoid using them when the colrer is stopped)
closes PR 12374
2011-11-29 13:46:23 -06:00
Robby Findler
11994bd4f8
fix a bug in the module lexer; it was returning the wrong length for the tokens
...
it creates when the #lang line isn't well-formed (eg "#lang racke").
closes PR 12399
2011-11-28 21:16:31 -06:00
Robby Findler
d580518e66
adjust the autosave error code to print the stacktrace
...
related to PR 12400
2011-11-28 15:34:30 -06:00
Robby Findler
d381c7b40b
add the ability to pass a bitmap directly for the splash screen
2011-11-28 14:35:44 -06:00
Robby Findler
081dc6c9a1
adjust the completions box so that it doesn't raise the error mentioned in 12396 anymore
...
closes PR 12396
2011-11-26 18:30:25 -06:00