dyoo / WeScheme

29 stars 16 forks source link

capture tab character in the definitions window #10

Closed dyoo closed 14 years ago

dyoo commented 14 years ago

Emmanuel says:

Can you trap tab keypresses (keyCode 9), and simply insert a tab character at the cursor? It's not really indenting, per se, since there's no algorithm to it...but it would be useful for me to be able to at least make my students AWARE of what indenting looks like, by demoing it myself.