Hi, * Jörg Fischer wrote (2008-01-15 21:44): >If I may step in here, currently both of these macros don't seem to do >more than a direct "man something" followed by Ctrl+KP Enter.
Alexey's version uses syntax highlighting, my version (actually originally written by Tony) uses rangesets to color the output. >Wasn't Tony's idea to help reading by highlighting bold and underlined >text with rangesets? This would require the manResult to hold this >formatting information, so one should call "man -Tlatin1 " for >instance. The simple coloring done right now works just by putting stuff marked using backspaces in rangesets and color these. >Now, the code for doing the coloring isn't efficient. I think it took >well over one minute until this macro finished on the bash manpage. > >Here is a more efficient way, which takes roughly seven seconds for >bash(1), but this is a very large manpage. > >http://nedit.gmxhome.de/macros/manViewer2.nm Yes, much better. I somehow assumed that rangesets rely on characters, while they are purely positional. Coulfd you add some comments on your version? Thorsten -- There is no drug known to man which becomes safer when its production and distribution are handed over to criminals.
pgpGJG8pPGyq9.pgp
Description: PGP signature
-- NEdit Develop mailing list - [email protected] http://www.nedit.org/mailman/listinfo/develop
