Tony Balinski
2010-09-21 21:15:58 UTC
Yeah, I've take a cursory look and saw your screen shots yesterday.
One thing that immediately catches my eyes was, that we really need a
scrollable calltip. For long man pages and for long lists of
suggestions for word completion.
Done those. Picture here:One thing that immediately catches my eyes was, that we really need a
scrollable calltip. For long man pages and for long lists of
suggestions for word completion.
Loading Image...
Observations: it's great for man pages, particularly with formatting,
but not very good for word lists since there's no way to say how far
down the scrollbar should be when you get the calltip. (I think it could
actually be quite difficult to implement it too.) Also, I set the
maximum dimension of the calltip using a resource, which can be a number
of lines or a proportion of the number of lines in the main nedit window
which opened the tip. That seems to be a pretty good guide.
One thing which bothered me about calltips before is that sometimes they
just wouldn't go away. This seemed particularly the case if you switch
document tabs when a tip is present. I have macros which do that (eg "go
to compilation error"-style macros). You have to go to the correct tab
then hit Escape to make them disappear. My version will persist until
clicked on (other than on the scroll controls), as well as responding to
Escape.
My calltip files for C and C++ are changing radically to add the "text
attribute" controls (font changes and table layout) to the entries.
They're actually rather messy-looking now, despite the initial simplicity
of the calltip file format. BTW I added proper "* language *" handling
too.
Sources here: http://ajbj.free.fr/nedit/neditHome/neditWork-2010-09-14.tar.bz2
Most changes documented in the relevant sections of the built-in help.
Tony
--
NEdit Discuss mailing list - Discuss-***@public.gmane.org
http://www.nedit.org/mailman/listinfo/discuss
NEdit Discuss mailing list - Discuss-***@public.gmane.org
http://www.nedit.org/mailman/listinfo/discuss