completion

AVKuznetsov kuzn at htsc.mephi.ru
Fri Jul 4 10:27:35 CEST 2008


Hi Tony,

thank you for the nice completion macros
http://nedit.hackvalue.nl/niki/index.php/Tony%27s_Complete_Word

Please, correct several lines at Niki 

         newComplete = (end != ctx["prefixEnd"] ||
                       end != search("\\y|\\s|$", pStart, R) || \
                       get_range(pStart, end) != prefix)

the first line is not terminated by "\"

    for (pos = search_string(wordlist, prefixRE, end, R);
         pos >= 0;
         pos = search_string(wordlist, prefixRE, end, R)) {

two lines must be also terminated.

Unfortunately, NEdit's code is still free of macro language extensions.

Alexey


More information about the Discuss mailing list