Best way to distribute extras?
Joerg Fischer
jf505 at gmx.de
Fri Jun 1 22:00:25 CEST 2007
Aaron Hsu wrote:
> I have managed to upload things to Niki, and things are looking good.
There are some mistakes in the file though.
nedit.highlightPatterns: \
Scheme:1:0{
^ The matching brace closing the block is
missing!
This
nedit.macroCommands: \
Complete Parentheses at Scheme:Shift+9::: {\n\
insert_string("()")\n\
backward_character()\n\
}\n
nedit.macroCommands: \
Close Parenthesis at Scheme:Shift+0::: {\n\
new_pos = search(")", $cursor)\n\
if (new_pos != -1)\n\
set_cursor_pos(new_pos + 1)\n\
}\n
should be
nedit.macroCommands: \
Complete Parentheses at Scheme:Shift+9::: {\n\
insert_string("()")\n\
backward_character()\n\
}\n\
Close Parenthesis at Scheme:Shift+0::: {\n\
new_pos = search(")", $cursor)\n\
if (new_pos != -1)\n\
set_cursor_pos(new_pos + 1)\n\
}\n
and come before nedit.languageModes, not after the highlighting
patterns, cp. http://nedit.gmxhome.de/latexpack/dtxmode.pats
(You can extract the macros using my macro with the search string
@Scheme)
Cheers,
Jörg
More information about the Discuss
mailing list