Concatenative topics
Concatenative meta
Other languages
Meta
Factor provides support for interacting with your text editor of choice (assuming a suitable edit hook has been written.) Hooks have been written for jEdit, VIM, Emacs, Scite and a number of others. See the source code in basis/editors
for more details.
You can enable editor support in the Factor workspace by using the appropriate editor hook. For example, to add support for the Mac-specific variant of VIM, you could source the following (or add it to your .factor-rc
file):
USE: editors.macvim
Assuming MacVim is in the executable search path, executing the following statements will cause MacVim to open the file containing the word definition:
USE: demos \ demos edit
Other examples can be found in the on line documentation under the edit ( defspec -- )
definition.
If a syntax error was thrown while loading a source file, you can jump to the location of the error in your editor using the :edit
word.
This revision created on Sun, 9 Nov 2008 07:00:12 by bfulgham (Explain common editing integration)