On 26/09/2006, at 4:50 AM, Dr Gerard Hammond wrote:
I am writing a RBscript text editor for one of my apps. I have added syntax highlighting, such that is now looks like the RB IDE. Now I want to add a tooltips feature that displays the API for my exposed context classes.


Just one suggestion to complicate your life, based on my very positive experiences with Whole Tomato Software's "Visual Assist" for Visual Studio:

Don't fall into the trap of making it require words in the right order.

Even consider synonym indexing.

eg: someone types 'Count' - it should be able to find the actual method(s) GetCount, GetNumItems, CountItems, Count or whatever.

Just breaking at word/fragment boundaries would be enough and your users will forever love you for your intelligent software.

Lookup should be timer-based so it doesn't start doing things until there is a sufficient pause, say about quarter of a second. (You could do a really cool adaptive algorithm based on average speed of letters typed within words but it would be a lot more work.)

I call this the "Filemaker Lesson". Once someone has experienced the word-based searches of FileMaker they are forever spoiled for so called database searches.

I suppose someone ten years younger would possibly call it the Google Lesson ;-)

regards

Andy
_______________________________________________
Unsubscribe or switch delivery mode:
<http://www.realsoftware.com/support/listmanager/>

Search the archives of this list here:
<http://support.realsoftware.com/listarchives/lists.html>

Reply via email to