For a while now Factor had a
jedit
word in the core which would jump to a word definition in a running jEdit instance. Well since then, emacs and vim integration has appeared in
contrib/
, so I thought it is time to make this hook generic. Now there is a new
edit
word which calls a quotation stored in the
edit-hook
global variable with a file name and line number on the stack. The jEdit code has been moved to
contrib/jedit/
. Loading either the
jedit
,
vim
or
emacs
module sets the edit hook. There is also a new feature: the
:edit
word starts your editor at the location of the most recent parser error.
No comments:
Post a Comment