Quoting Thorsten Haude <[EMAIL PROTECTED]>: > Hi, > > * A.V.Kuznetsov wrote (2008-01-16 12:37): > >I think, the initial dialog must provide button to tune coloring. > >This button can provide dialog allowing to switch on/off coloring and > >change colors of the rangesets. I made similar dialog which > >allow to choose color from the list of named xcolors. I can > >adapt it for manViwer. > > Guys, this is only meant as a demonstration. My comment in the wiki > about this is: > Watch manpages with NEdit (in case your less is broken) > > So unless people start to discard less an flock to NEdit as a > replacement, we shouldn't make things so complicated.
The point about having man pages in NEdit is to get help information immediately, with a keypress or two, with the possibility of following man page links (using the same process). The rangesets I added are to highlight areas where the classic man would tty-style overprint repeatedly for bold or overprint with underscore for underline. The macro finds the backspaces, removes them, but marks their area with a "bold" or "underlined" rangeset, so you can identify this add-hoc highlighting which cannot be done with syntax highlighting (which requires recognisable patterns). It would be better if rangesets supported bold and underline directly. Underline is quite easy (I've got a prototype for that), but bold/italic is a bigger issue since the text widget doesn't know the fonts you've chosen for your window, and I wouldn't want to add them to the rangeset structure to avoid tighter coupling between components. Tony -- NEdit Develop mailing list - [email protected] http://www.nedit.org/mailman/listinfo/develop
