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
Also, fix `set-selection' in `list-box%' to not invoke the
tab panel's callback function (cocoa & gtk).
original commit: 4535f5d8cc0fe4d0c3c360d7527980b1c3b7e39a
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
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