Robby Findler
d0376db70a
Rackety
2016-08-19 09:28:10 -05:00
Robby Findler
ce1ded41f2
fix leak
2016-07-30 20:30:48 -05:00
Robby Findler
18404570dd
improve support for editing the ascii art (unicode) #2d rectangles
...
specifically, add a mode that avoids breaking the edges of
the rectangle when you type and add a keystroke for adding
a new in the existing row
2016-07-30 04:55:01 -05:00
Robby Findler
fcd134eebe
more search fixes
2016-07-26 19:15:48 -05:00
Robby Findler
a8574ce5e6
missed a call to do-search
2016-07-26 01:11:49 -05:00
Robby Findler
dbede3f33c
get rid of (worse) implementation of find-string-embedded
...
that was hanging around from old times. Instead, just use the
text% find-string-embedded functionality directly
2016-07-24 04:02:42 -05:00
Robby Findler
6b16c0fd6b
rackety & add test suite
2016-07-24 04:02:42 -05:00
Robby Findler
feaff67418
fix bug in searching (start from the correct editor)
2016-07-24 04:02:41 -05:00
Robby Findler
52300ff032
highlight search hits in embedded editors
2016-07-23 09:18:17 -05:00
Robby Findler
28ca7c6d14
improve the situation for search results in nested editors
...
This doesn't quite fix all the problems, as the outer editor doesn't get callbacks
when the position changes in the inner editors (and the inner ones aren't propogating
the callbacks currently) so the "n/m matches" display doesn't update properly in that
case. Also, it doesn't (yet) try to draw the search bubbles for embedded editors
Still, progress has been made; at least the bar is not red anymore when there are
hits only in embedded editors
closes PR 12786
2016-07-23 03:00:00 -05:00
Robby Findler
d73fc00749
protect DrRacket against bugs in snipclass marshalling code
...
I believe this applies only when DrRacket already trusts
the handler, so this is just a debugging aid, not true protection
closes racket/drracket#49
2016-07-22 03:09:48 -05:00
Robby Findler
6941a07998
fix the "Show Active Keybindings" menu item
...
for the case where one keybinding's keys is a prefix of anothers (and the keymaps are chained)
2016-07-21 22:13:55 -05:00
Robby Findler
8272f99035
adjust tabifying behavior to mess with blank lines less
...
Be more like Emacs: when indenting only change the whitespace
on a blank line when indenting just a single line (e.g. when
hitting return or when hitting tab with a selection that
doesn't span multiple lines)
closes racket/drracket#65
2016-07-07 11:06:25 -05:00
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
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
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
Robby Findler
10425033b8
fix marshalling of embedded editors
2016-05-15 16:02:01 -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
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
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
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
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
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
8e81b5346a
don't color parens when the colorer is stopped
2016-02-10 09:19:33 -06:00
Robby Findler
e9e2940138
adjust indentation so that it treats only symbols as things with
...
special indentation
(this could only come about if the regexp specification in the prefernces
matched (the printed out) version of strings, so it wouldn't happen with
the default preferences)
2016-02-09 13:44:30 -06:00
Leif Andersen
9411eb44c4
Add with-* to the set of lambda like expressions.
2016-02-06 19:45:57 -05:00
Leif Andersen
f02fd8f338
Add link to weak reference.
2016-02-05 18:36:02 -05:00
Robby Findler
aeb2577715
make error message a little more informative
2015-12-29 21:25:28 -06:00
Robby Findler
7c43e6d876
fix contract-related errors in framework/splash
2015-12-18 11:21:04 -06:00
Robby Findler
6fd5459211
fix add-splash-icon contract
2015-12-15 17:41:09 -06:00
Robby Findler
debd229668
guard call
2015-12-15 14:20:12 -06:00
Robby Findler
46eb5ae3aa
add contracts and fix some (theoretical) threading bugs
2015-12-15 14:20:12 -06:00
Robby Findler
be9cd36922
added editor:font-size-message%
2015-11-27 10:41:57 -06:00
Robby Findler
fe77bb34d4
more on scroll-by-copy
...
make it per-editor customizable, add callbacks, and use
them to make the special first line mixin work properly
when it is enabled
2015-11-26 13:11:47 -06:00
Vincent St-Amour
8bfd1bb25e
Add missing history annotations.
...
Please merge to 6.3.
2015-10-12 14:16:16 -05:00
Robby Findler
1dca74da1d
add earlier check to help suss out bad mixin compositions
2015-09-16 10:44:56 -05:00
Vincent St-Amour
1b8b9b94fe
Use option contracts from racket/contract/option.
2015-09-14 14:33:32 -05:00
Robby Findler
e5cb582ed5
change the preferences defaults so that the default for bold in the color
...
schemes isn't "turn it off" but instead "defer to the default"
2015-09-14 09:43:19 -05:00
Vincent St-Amour
231f8ad6a9
Use 2d instead of unstable/2d.
2015-09-07 18:40:58 -05:00