diff --git a/pollen/private/ts.rktd b/pollen/private/ts.rktd index 796c5ea..f62fa00 100644 --- a/pollen/private/ts.rktd +++ b/pollen/private/ts.rktd @@ -1 +1 @@ -1459190103 +1459539451 diff --git a/pollen/scribblings/command.scrbl b/pollen/scribblings/command.scrbl index 2ed27c1..673c199 100644 --- a/pollen/scribblings/command.scrbl +++ b/pollen/scribblings/command.scrbl @@ -39,10 +39,25 @@ My advice: don't knock the lozenge till you try it. @subsection{Lozenge helpers} -@subsubsection{DrRacket} +@subsubsection{DrRacket toolbar button} When you use DrRacket, you'll see a button in the toolbar that says @onscreen{Insert command char}. This will insert the lozenge (or whatever command character you've defined for your project). +@subsubsection{DrRacket key shortcut} + + +Courtesy of @link["https://github.com/interstar"]{Phil Jones}: ``I created a file called @filepath{keys.rkt} — + +@foreign-code{ +#lang s-exp framework/keybinding-lang + +(keybinding "c:<" (λ (editor evt) (send editor insert "◊"))) +} + + +— and loaded it into DrRacket with @menuitem["Edit" "Keybindings | Add user-defined keybindings ..."]. Now I can use ctrl + shift + < to put the lozenge in.'' + +See also @secref["defining-shortcuts" #:doc '(lib "scribblings/drracket/drracket.scrbl")] in the DrRacket documentation. @subsubsection{AHK script for Windows} diff --git a/pollen/scribblings/installation.scrbl b/pollen/scribblings/installation.scrbl index 303ff33..b0b6bc1 100644 --- a/pollen/scribblings/installation.scrbl +++ b/pollen/scribblings/installation.scrbl @@ -75,7 +75,7 @@ You'll need to fix the problem before proceeding, most likely by reinstalling Po } -@item{Alternatively, you can install Pollen from inside DrRacket with the @menuitem["File" "Install Package ..."] command.} +@item{Alternatively, you can install Pollen from inside DrRacket with the @menuitem["File" "Install Package ..."] command, and then relaunching DrRacket.} @item{Either way, Pollen's documentation will be automatically installed.}