Commit Graph

23 Commits

Author SHA1 Message Date
Burke Fetscher
d6166b1499 ACII art boxes keybinding - look a little harder for the box
original commit: 8562310f38fb5686c0425907c8e198cd119a7d8f
2013-01-15 16:53:41 -06:00
Robby Findler
ee69fc413c move the ╬ char and friends into a separate file
do not merge to 5.3.2

original commit: 1edec6a33ed3a98b95a233f6be90d40fd8e1dfc0
2013-01-15 09:08:02 -06:00
Robby Findler
55c99c6554 adjust ascii-box => unicode-box algorithm so that
it only looks left and right at hyphens and only
up and down at pipes, etc. This better handles the
case where you have something like this:

  +--------------+
  | (<= a-x b-y) |
  +--------------+

Before this commit, it would have adjusted the hypens
inside the identifiers

original commit: 6a69da76e2f9e5b2105dee89535d5ace4defed92
2012-12-24 13:49:32 -06:00
Robby Findler
021c4b97d8 clean up ascii art => unicode a little
adjust the way it changes characters so it
doesn't change them when they are already the right
thing (this means set-modified is not always called
and also improves performance in the case that little
changes in a big diagram)

original commit: 5a9c5f681b11d563275f7672c3af5160bb68113c
2012-12-24 12:29:57 -06:00
Robby Findler
8109170a3a add an ASCII art rectangle => unicode rectangle keybinding to drracket
original commit: 042bbbefe76bb005a008d2b487faacd1c9ecbcd3
2012-12-24 11:38:54 -06:00
Robby Findler
2398f08ed5 make right-clicking on non-text offer copy and cut in the
popup menu

Extends append-editor-operation-menu-items so that when you
pass an editor and a position, it checks to see if that spot
has a non-string% snip and, if so, copies that one position
(or cuts it, depending).

Then, use that extension in DrRacket

closes PR 12791

original commit: 6fff8a3030bfaddd0eb8113c9f67d6b7e70500ff
2012-11-22 17:33:34 -06:00
Eli Barzilay
5b1e17cc7c Lots of bad TAB eliminations.
I started from tabs that are not on the beginning of lines, and in
several places I did further cleanings.

If you're worried about knowing who wrote some code, for example, if you
get to this commit in "git blame", then note that you can use the "-w"
flag in many git commands to ignore whitespaces.  For example, to see
per-line authors, use "git blame -w <file>".  Another example: to see
the (*much* smaller) non-whitespace changes in this (or any other)
commit, use "git log -p -w -1 <sha1>".

original commit: 672910f27b856549ad08d38832b6714edf226c8e
2012-11-07 11:22:20 -05:00
Robby Findler
274cce0439 make popup menus respond to mouse-up events, not mouse-down ones
original commit: 0377bda9474f8848a97509ace898174c83361006
2012-11-02 20:32:55 -05:00
Eli Barzilay
c56a523200 Big newline at EOF scan.
original commit: f7c67b49a49a723534454ce561cd060e63889480
2012-02-29 00:28:11 -05:00
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
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
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
cd48f8a314 adjust the control-s keybinding so that it behaves like the menu shortcut
keep the old keybinding on esc;% (only under linux)

original commit: eba9c56d8cd7ea14485d9ad0be4586586b4aa36f
2011-07-25 13:40:15 -04:00
Matthew Flatt
8941903f41 fix void result to match contract
Merge to 5.1.2 if Robby agrees

original commit: 5e0d6e0deed790c8a5104475beb26a156704ec59
2011-07-16 14:30:08 -06:00
John Clements
61deb48a44 added automatic parens preference
original commit: b14ac37d99858854dfab1e6881c750c7534f8465
2011-07-12 12:23:08 -07:00
Eli Barzilay
950c968e77 ".ss" -> ".rkt" scan done.
original commit: 3157955d40f89d83fb3d5fa7a2f20639cda69579
2011-07-02 10:37:53 -04:00
Robby Findler
cba84ecfdf add c:x;t as a keybinding for the latex shortcuts
closes PR 11871

original commit: 1b838cf85a984ad4fecbe8629120b9efe9cbb191
2011-05-10 15:34:47 -05:00
Robby Findler
3574ae0192 use the new extend-position functionality to adjust the shift-based key bindings implemented in the framework
closes PR 11768
  closes PR 11806

original commit: e6633d2af11d44117cf3b5226cb3d6f9bed60427
2011-03-25 15:19:55 -05:00
Matthew Flatt
3ec8eca0f9 fix s:home keybinding
Merge to 5.1

original commit: 33db7b1229e4be54c3ef0cf06eef86761c70a623
2011-02-09 12:43:18 -07:00
Robby Findler
08dbf9be69 setup hooks so that the behavior of the home / c:a keybinings delegates to a method to find where to go
then, use that to change how it works for the scheme mode (and also another variation for the REPL to
cope with the prompt)

I spent a while trying to make this work at the keymap% level (ie putting different keybindings for "home"
and "c:a" into different keymaps) but this just turned out to be far too confusing and fragile, so went
with this alternative (one keybinding, but that delegates to an overridable method)

closes PR 11446

original commit: d2cb96bcb39d93f6dac92906bed9885828663798
2011-01-09 16:22:28 -06:00
Robby Findler
2d216179e5 adjust meta-backspace and meta-delete so that they both delete whole words, with backspace getting rid of the one before the insertion point and delete getting rid of the one after the insertion point
original commit: ac8fd51bc4c8fea7889e170da9653994d51ef30a
2010-12-10 11:47:05 -06:00
Casey Klein
7c445ec6e4 Adds auto-completion to LaTeX and TeX inspired keybindings
original commit: bd0ebc7511c7b66dfdd0b24d68dbe27077a9a7dd
2010-11-02 22:34:05 -05:00
Matthew Flatt
5adf804728 rename all files .ss -> .rkt
original commit: 28b404307793f041bb3363135a2968e283855318
2010-04-27 16:50:15 -06:00