Commit Graph

1507 Commits

Author SHA1 Message Date
Robby Findler
bbde125b1e 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)

original commit: 95ac3c86f789d6514a3a6c6a2f16d28f7d6f0ea9
2012-01-08 07:07:56 -06:00
Robby Findler
1c40749acf fix the not-a-language message so that the styles in the REPL are right
original commit: 950d165133768ac8fe500b7bfea5eb22f8d5286c
2012-01-06 20:59:34 -06:00
Robby Findler
705bdfbc34 when double clicking in a comment, fall back to word-based instead
of sexp-based selection

closes PR 12439

original commit: 48772f2e405a7723f40397ccdbfdf1f646f8f9c6
2011-12-12 14:45:27 -06:00
Robby Findler
6af85bce99 adjust the double clicking in racket mode so that clicks on the
(instead of sexp-based)

closes PR 12421

original commit: 1d03e5f711c26fb06e3110c2124ef2d13a793979
2011-12-05 21:01:28 -06:00
Robby Findler
95edc28dd8 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).

original commit: 082978effea79f2689b9377f1e8d7da795c1b8ee
2011-11-30 16:55:54 -06:00
Robby Findler
ff6fa2736c some long overdue Rackety: renaming the 'scheme:' exports of the framework to 'racket:'
original commit: 458e2c2282adca43aabe3d1e62957389d2fbe798
2011-11-30 06:45:50 -06:00
Robby Findler
c865a34f8a use an aug-keymap instead of a keymap for the scheme mode keymap container
original commit: dd4f307a4707712693927b8e8fd859e2fd85b733
2011-11-29 14:27:51 -06:00
Robby Findler
ade72045be 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

original commit: 1c2f9cd721588affa82b0a5497c3580e846a0892
2011-11-29 13:46:23 -06:00
Robby Findler
2eb9dede6a 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

original commit: e935b1fa8e987a2867bb5ddb881d78cbdb23b98d
2011-11-29 13:46:23 -06:00
Robby Findler
e526d30337 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

original commit: 11994bd4f8ea60b5a19ae1f1129bc5c072f3311f
2011-11-28 21:16:31 -06:00
Robby Findler
221e28c123 adjust the autosave error code to print the stacktrace
related to PR 12400

original commit: d580518e66573692e6258c04d94b25e23f3bbf93
2011-11-28 15:34:30 -06:00
Robby Findler
f25948153a add the ability to pass a bitmap directly for the splash screen
original commit: d381c7b40b58c6ea4d9fa7bf1d507a661ed91358
2011-11-28 14:35:44 -06:00
Robby Findler
c0ffac2972 adjust the completions box so that it doesn't raise the error mentioned in 12396 anymore
closes PR 12396

original commit: 081dc6c9a1f67862af6a8ae2d7dfcafb21afe686
2011-11-26 18:30:25 -06:00
Robby Findler
49d4593939 add another printf for drdr's consumption
original commit: e942bb1c3a8ede379ff8ea5032a5cc5855f279c1
2011-11-25 17:54:56 -06:00
Robby Findler
f028cff805 add some debugging to see if I get more useful info for the module language test intermeittent failure
original commit: ca457b00520ada0aba50a83588440b4d9f532960
2011-11-25 15:13:11 -06:00
Robby Findler
2916ffce08 adjust number-snip% so that it subscribes to the file/convertible
protocol for 'png-bytes and 'text

original commit: 6ea6483221a6a9f4aad2db7a391043e61718757c
2011-11-20 16:38:17 -06:00
Robby Findler
ab717a2380 fix the interaction between the automatic insertion of matching parens
and the magic fixup of opening parentheses.

This commit moves the automatic insertion of matching parens to the
scheme mode keymap, so it will now take affect in Racket mode editing,
only. Also, Rackety.

original commit: b726209dc540dfa779fb464510ae68848c4db1e7
2011-11-16 19:36:18 -06:00
Robby Findler
ff239b6f3d Make the 'Show Replace' menu item be always enabled. Also, make it
set the keyboard focus to the replace editor.

It used to be disabled when the searching bar is hidden. In that case, it now
makes the searching bar visible.

original commit: 3345415d71591f60285786cee19a63704effc2ad
2011-11-16 16:23:11 -06:00
Sam Tobin-Hochstadt
8206ecb470 Make autocompletion fuzzier, similar to the doc search.
For example, autocomplete of `cur-dir' will produce the same list of results as the documentation search, with `current-directory' first, instead of producing no results.

original commit: 0754e6b702063efd4153848386d4467c13587fb1
2011-11-13 16:33:17 -05:00
Robby Findler
f20ad9a4fe minor docs fix
original commit: 5128f08810ec027fdb6569750d302930e3cd0519
2011-11-01 09:51:28 -05:00
Robby Findler
6cf14004d5 use the focus table mixin for the autosave window so that drdr tests work right
original commit: 4a3997ac1c21282c324e125ffad835f8d8371cbe
2011-10-17 17:32:37 -05:00
Matthew Flatt
10137f4760 fix framework doc reference to `set-icon' method
Merge to 5.2

original commit: f2082e6eeb4a41ad6e1c33416fa4ae59430362a2
2011-10-11 17:17:58 -06:00
Robby Findler
711cab5ea9 adjust the autosave gui so that closing the window doesn't cause drracket to
exit (this only happened on non-mac os x platforms)

include in 5.2

original commit: 4d00b13ce0f28e876ea87bc4159673c274247f7b
2011-10-11 10:44:00 -05:00
Sam Tobin-Hochstadt
8f9254d569 Change basic-top-level-window% to support `set-icon', and use to set icon for splash screen.
Closes 12241

Merge to 5.2

original commit: 1b69d742bd7b895ce44c8ed21ffcbaa7caeebf93
2011-10-09 09:43:32 -06:00
Robby Findler
6632c07805 adjust uses of after-load-file to use the success? flag
original commit: fcc720f43e7f92063637af65b8c087327908e2ca
2011-10-08 10:50:27 -05:00
Robby Findler
94cf73432e adjust the calls to paragraph-{start,end}-position to specify the default argument
original commit: 7aa6153da1ef77508de5d8405eba78c013b7f813
2011-10-07 14:02:27 -05:00
Robby Findler
ccaa37de24 add a 'find longest line' menu item to the edit menu
original commit: 93c1d1dd361f7cfe5613894e536223deaefc34e3
2011-10-07 11:48:39 -05:00
Robby Findler
5bf4271e3e make right-click in the space between the definitions and
interactions window pop up a menu to let you change from
vertical to horizontal orientation

original commit: 9b3f2427d7adb6fcfb7e737fdec36b313c8f5b69
2011-10-04 16:47:10 -05:00
Robby Findler
211d1398f8 fixed planet docs; closes PR 12178
original commit: 6fd2e9c1d3e834d8f69ffc0bc18651c04a26763f
2011-10-04 12:56:35 -05:00
Robby Findler
e5011aa5f4 fix my stupidity
original commit: 3bfce02bd6d24f9e15ef8b3360107d93a3e793d3
2011-10-02 18:14:55 -05:00
Robby Findler
6bd97a2bad fixed another path/string bug in the autosave recovery dialog
original commit: c455631eb327ede09ec0f21e1958f9cd043ce72a
2011-10-02 17:19:27 -05:00
Robby Findler
57b74886e6 add get-default-percentages to panel:dragable and then add a dragable panel
to the debugger

original commit: 951de8cc51b446b6041e64bc37356392266a3532
2011-10-02 14:34:28 -05:00
Robby Findler
c4deab2e67 fix crlf mode initialization
original commit: b71e562284168419abb5500e2eaceb9d0488f363
2011-10-01 08:10:25 -05:00
Robby Findler
eb943f394e Adjust DrRacket so that it saves files with CRLF
line terminators when:

  a) running under windows, and
  b) the file on the disk (when DrRacket first opens it)
     contains all CRLF line endings.

In all other situations, the file is saved with LF terminators.

Before this commit, DrRacket would always use the platform-specific
convention, regardless of the original content of the file.

closes PR 12242

original commit: 4a2757f2004fa84901cbae7ff9a257616ce7acaa
2011-09-30 17:08:07 -05:00
Robby Findler
17f11541b4 adjust various plumbing to get the drracket icon to the startup screen. Only to realize
that the startup screen is a dialog% and thus doesn't have set-icon

related to PR 12241

original commit: b95b346a4e3f51dddd5ec88faf126f1b4636125e
2011-09-30 17:08:03 -05:00
Eli Barzilay
7fb531ebc6 Improve code generation in the framework collection.
Instead of generating a file for code and one for documentation, do both
via a macro instead.  Most of the code is the same (modulo reformatting
in a more modern style), and instead of printing the result to a file,
it just returns it as the result of a macro.  (Since this is done in a
naive way, the macro is bad -- it is unhygienic since this is basically
what it did before only through a generated file; it should eventually
be improved to avoid these hacks.)

original commit: 093236fea448240740fe22c232a223950c693839
2011-09-30 10:51:28 -04:00
Eli Barzilay
63a464fc93 Don't create a page-setup menu item if `file-menu:create-print?' returns #f.
original commit: 656de6963692413b27b5e1682465f4cfd989a318
2011-09-30 10:45:43 -04:00
Eli Barzilay
4f3d062242 Rename "standard-menus.rkt" -> "standard-menus.rktl".
Since it's a file that gets included.  This is likely to be temporary,
if I get on with turning the whole thing into a macro.

original commit: 01c859072e7dc2a4b3296e06bf10ff5d82f80295
2011-09-30 10:45:43 -04:00
Robby Findler
0683d8a898 add splicing-* to the default indentation preferences setting
original commit: 3a3ce656c4ed5736ae5e46e9736fb05c35412c96
2011-09-29 06:55:05 -05:00
Robby Findler
28e11323fc adjust frame position preferences for the case when a monitor has gone away
original commit: bef4ed1fd412e1e7d2cabc6633808e816036d09f
2011-09-28 21:04:56 -05:00
Ryan Culpepper
e049a2892c revert some (require racket/pretty) to (require scheme/pretty)
original commit: afc9210599b6abf3f4c2c62d57249ccda88f80c2
2011-09-28 19:01:27 -06:00
Robby Findler
cd3b42aca3 fix problems with the autosave recovery gui and add a drdr test for it
original commit: c8cbe81e51404e0c650bbedc3bdb901fd5636f9e
2011-09-28 17:06:30 -05:00
Robby Findler
83ec42a835 remove debugging printf
original commit: abeaebcad06d165fb405017c0220e103b347734b
2011-09-28 17:06:29 -05:00
Ryan Culpepper
7fb542cbf5 removed useless requires
original commit: c7f86d276c68b12e87dc46cef4a8e1b95538f88d
2011-09-27 19:28:44 -06:00
Robby Findler
b1f73b074c moved the 'send to repl' keystrokes to the manual (and added a test
suite to make sure the example code in the manual doesn't get stale)

original commit: abda2572951d1261c89d474cba9b99409fe38e7f
2011-09-23 16:37:18 -05:00
Robby Findler
63d9d89abb extend and refactor minor stuff in the framework
specifically add an argument to move/copy-to-edit so that it
does copy-only and export a function for trigger a submission
to the input port of a text:ports<%> object programmatically

original commit: 2ec720176a295f147cbb461f6b804e05c78ee57d
2011-09-22 10:51:47 -05:00
Robby Findler
dfb6f53f0e get rid of the "open here" functionality
This is a backwards incompatible change; there is a more complex change
that just stubs this stuff out that may be better that we may need
isntead of this commit.

original commit: 048fa1d7b8b5e17ac58181b068d779806bd5c59a
2011-09-21 22:53:03 -05:00
Robby Findler
4e3cda33e3 adjusted the color for 'is-documented' bindings in online check syntax to be
green so it doesn't look anythign close to how the "yellow" error messages
look

original commit: e2f1611ab4b31f68000bb3124745849a2ea7b9ad
2011-09-21 22:52:59 -05:00
Robby Findler
b250603a14 guard a use of get-root-data in the token tree implementation
closes PR 12072

original commit: 8e5bb730b369b169821695e1b3216d68a8d71d64
2011-09-16 19:04:14 -05:00
Robby Findler
bbe4958a59 fix the collapsed snipclass so that it cooperates with the wxme library and
thus saved files with collapsed snips can be required in non-GUI contexts

original commit: 89ef65a7461a4b91cd3f0c28231f74c593f165ee
2011-09-13 14:58:39 -05:00