completion

AVKuznetsov <kuzn-Z+4OxV1pPnQgONJHhpZ/[email protected]>
Newsgroups gmane.editors.nedit.user
Organization MEPhI
Message-ID <[email protected]>
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
-- 
NEdit Discuss mailing list - [email protected]
http://www.nedit.org/mailman/listinfo/discuss
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.