Scrollable calltips (Blasphemy!)
Tony Balinski <[email protected]> Tue, 21 Sep 2010 23:15:58 +0200
| Newsgroups | gmane.editors.nedit.user |
|---|---|
| Message-ID | <[email protected]> |
On Fri Jun 25, Bert Wesarg said: > 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: http://ajbj.free.fr/nedit/neditHome/nedit%20calltip%20printf%20scrollbar.png 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 - [email protected] http://www.nedit.org/mailman/listinfo/discuss