Gorsal
unread,Oct 16, 2009, 6:22:17 PM10/16/09Sign in to reply to author
Sign in to forward
You do not have permission to delete messages in this group
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to Cusp Development
I'll look into this. Certainly, the repl view extends the ViewPart
class which is probably why it doesn't have these features. In the
meantime, do you really need to type in the REPL view? I, personally,
just use the following commands in the Lisp Editor
Alt+E = evaluate top level expression
Alt+R = evaluate current expression cursor is in
Alt+M = macroexpand-1 current expression
Alt+[ = macroexpand-1 toplevel expression
And, i think,
Alt+Shift+M = macroexpand-all current expression
Alt+Shift+[ = macroexpand-all toplevel
Notice that toplevel is defined as the open parentheses being all the
way to the left. Cusp will enforce this with its syntax indenting, but
if you have code which needs reformatting simply highlight that code
and press Shift+Tab to indent it. Beware if you're code is >2000
lines: there is no cancel button on the indenting. There should be,
but there isn't. I will have to change that also, i'll wait till i
rewrite that section in clojure, unless someone absolutely needs it.