[racket] text%, keymap%, copy/paste question

From: Laurent (laurent.orseau at gmail.com)
Date: Fri Jun 7 02:31:48 EDT 2013

On Fri, Jun 7, 2013 at 1:50 AM, Matthew Flatt <mflatt at cs.utah.edu> wrote:

> FWIW, there's also `(current-text-keymap-initializer)'.
>

http://docs.racket-lang.org/gui/Editor_Functions.html#%28def._%28%28lib._mred/main..rkt%29._current-text-keymap-initializer%29%29

Here is an example of how to use it:
https://gist.github.com/Metaxal/5719809#comment-841643

It's worth noting that on Linux these "standard" defaults are Emacs' ones:
http://www.rgrjr.com/emacs/emacs_cheat.html

I.e., Ctrl-x/c/v or Ctrl-Insert/Del Shift-Insert don't work out of the box,
on the contrary to `keymap:get-editor' (for the first 3 ones).

Laurent
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.racket-lang.org/users/archive/attachments/20130607/425f4136/attachment.html>

Posted on the users mailing list.