racket/collects/scribblings
Nadeem Abdul Hamid 8f3343cd01 automatic parenthesis mode improvements
Handle close parentheses in a smarter way while in
auto-parens mode and be a little more smart about
inserting brace pairs in general.

In summary:

 - Add some "smart-skip" behavior to insert-close-paren,
   described in the documentation.
    - When auto-parens mode is enabled,
      the existing "balance-parens" keybinding invokes
      insert-close-paren with a smart-skip argument of
      'adjacent
    - A new "balance-parens-forward" keybinding invokes
      insert-close-paren with a smart-skip argument of
      'forward (whether or not auto-parens mode is
      enabled)

 - Enable basic smart-skip behavior for
   strings ("...") and |...| pairs, specifically, typing
   a double-quote or bar character when the cursor
   immediately precedes one causes the cursor to simply
   skip over the existing one

 - Tweak auto-insertion of block comment pairs; i.e.
   typing hash and a bar results in a properly balanced
   #||# pair. Also, when you type a bar character when
   the cursor immediately precedes a closing bar and
   hash of a comment, then the cursor skips over both
   characters (this seems better than having it just
   skip over the bar, and then having to introduce a
   new keybinding to detect when a hash is typed while
   the cursor is between a bar and a hash)

 - In strings and line/block comments, auto-parens mode
   no longer has any effect (you can still use the M+..
   keybindings to force insertion of a particular brace
   pair)

 - Detect when a character constant is being typed, and
   don't insert brace pairs if so; i.e. if the cursor
   is immediately after #\ , then typing any open parens,
   double quote, or bar, does _not_ result in the
   insertion of an open/close pair even in auto-parens
   mode

 - Add a bunch of tests related to auto-parens, matching
   pairs of braces, strings, comments, etc. to
   collects/tests/framework/racket.rkt
2012-11-25 21:57:52 -06:00
..
draw Newlines at EOFs. 2012-11-06 14:07:15 -05:00
drracket adjust logger to use a name instead of an environment variable 2012-10-15 13:25:17 -05:00
foreign ffi/unsafe: fixes related to `define-cstruct' and properties 2012-11-11 09:38:15 -07:00
framework automatic parenthesis mode improvements 2012-11-25 21:57:52 -06:00
gui make right-clicking on non-text offer copy and cut in the 2012-11-22 17:33:34 -06:00
guide Lots of bad TAB eliminations. 2012-11-07 11:22:20 -05:00
htdp-langs Lots of bad TAB eliminations. 2012-11-07 11:22:20 -05:00
inside add info on building Racket to the "Inside" document 2012-10-02 15:06:27 -06:00
main remove 'always-run style from the doc that list documents 2012-11-24 08:13:51 -07:00
more adding close-eval at the end of scribble files that have a toplevel evaluator 2012-11-01 15:32:53 -06:00
quick fixed typo, closes PR 12539 2012-02-05 10:13:31 -05:00
raco break cross-reference info for document into pieces 2012-11-23 18:44:51 -07:00
reference break cross-reference info for document into pieces 2012-11-23 18:44:51 -07:00
scheme racket/gui/dynamic: make gui-dynamic-require' pull from racket/gui/base' 2012-11-19 08:13:48 -07:00
scribble break cross-reference info for document into pieces 2012-11-23 18:44:51 -07:00
slideshow Add examples for the rest of built-in pict constructors 2012-11-06 14:09:34 -05:00
tools made the 'one-line-summary' of the drracket languages be in tooltips, 2012-11-17 20:15:19 -06:00
finger.png
icons.rkt
info.rkt move purpose statements to the info files 2010-08-23 15:13:00 -06:00
magnify.png