A.V.Kuznetsov wrote:

> Relatively simple macro showing a man page is splitted into
> 4 pieces located at 3 files. That looks strange for me.
> [...]
> Let us consolidate nMan into single macro and then merge nMan and neman.

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.

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.

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

The only downside is you have to wait this long until you can see the
result, whereas the current version puts the output of man directly in
a window and starts searching and coloring therein.  So, if one
doesn't feel disturbed by the macro running, one can start reading
directly.

Jörg
--
NEdit Develop mailing list - [email protected]
http://www.nedit.org/mailman/listinfo/develop

Reply via email to