Somewhere along the way --- probably in porting the editor
classes to Racket --- the caps-lock specification in a keymap
string was treated the same as other modifiers, but it is
supposed to be neutral when the key string starts with ":".
Closes PR 5486, 10347, 10993, 12184
original commit: d3cbea068ad6e64453b5ddd4f12b461aeef54844
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
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
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
Also, adjust text measuring to ensure that it is as close
as possible to measurements for a control.
original commit: 2d70017091831a1cb041f16323ec489eadc078ac
More generally, fix horizontal refresh when an editor has left
padding. Otherwise, deleting a character in DrRacket with line
numbers shown seems sluggish, because the update waits for a
refresh event.
original commit: 506aa79d14f2b32cc1028b0e9a8cee5b3ee0a24d
bitmaps when rendering images
closes PR 12277 (except I didn't fix the make-bitmap contract)
include in 5.2
original commit: 10d19bf8d51d24c83e495e957c2a50af265e23a7
After all the previous attempts, the problem seems almost trivial:
although Apple documents `NSAnyEventMask' as the constant #xFFFFFFFF,
it's actually NSUIntegerMax (and the difference matters in 64-bit
mode).
Merge to 5.2.
original commit: dc912ee6def7a6e8b4edc13c230b367761c5c722
This fix uses the same`run'-vs-`finishLaunch' technique as before,
but patches up the modal-dialog problem by calling `run' again
with a callback to start a modal loop.
Merge to 5.2.
original commit: f6e5468dbb85c2ed48178ac43fb25084430413ef
This reverts commit 60101618db61c347a3477b0ced4e42e0d50d6fb2.
While this changes fixes a 64-bit Lion problem, it creates a
worse problem of breaking file and print dialogs.
original commit: 9aa93ab5aebed19cd571f18d1580884030f3b9b8
Calling NSApplication's `run' works better than calling `finishLaunching'
directly, particularly in 64-bit Lion for some reason.
Relevant to PR 12102
Relevant to PR 12257
original commit: 60101618db61c347a3477b0ced4e42e0d50d6fb2
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