Ben Sez: One question: how would you parse the current item for this? Just scan for the C identifier that currently contains the cursor (or is just before it)? What if you have just typed a space after typing a keyword. I just want to get details nailed down so it can be implemented quickly.
That's two questions. :) I'm not sure how the guts of CW works now, but when I stick my cursor over an identifier (usually a function name that's already been syntax colored), CW knows how to search it (Ctrl-F3), and if I right click it, CW knows that I'm looking at an identifier, because it has an option like, "go to function definition of xxx". Since I don't have to select the identifier with my mouse (as a text selection), this saves BIG TIME. So, whatever algorithm CW is using now for this would be perfect for context help. So, say I stick my cursor somewhere in the middle of "WinDrawChars", I'd either like to hit F1, or if I just right click, I'd like to see a menu item like, "get help on function WinDrawChars". While we're on this subject, I would LOVE for CW to make the same intelligent parsing on #include "xxx" directives. Right now, I have to select the file between the quotes or angle brackets, and then right click to select "find and open file". It would be MUCH better for me to simply click on the include file name, and be able to right click and open without having to select the entire filename. Thanks, Doug. -----Original Message----- From: Ben Combee [mailto:[EMAIL PROTECTED]] Sent: Thursday November 8, 2001 16:40 To: Palm Developer Forum Subject: Re: CW 8...integrated API docs? "Doug McFadyen" <[EMAIL PROTECTED]> wrote in message news:67430@palm-dev-forum... > > This worked for me, but the way it works is clunky. > > Say I want some help on WinDrawChars(). I have to use the mouse to select > "WinDrawChars", then press the F1 key. This works. > > I really wish (SUGGESTION TIME), that I didn't have to select the function > name (it should work the very same way a Ctrl-F3 search works) to get help > on it. I should just need to stick the cursor on the function name, and > press F1; I use this shortcut technique to search for function usage with > Ctrl-F3. > > I also wish that if I right-clicked the function name, that "HELP" was one > of the options in the dropdown menu. Good suggestions. I'm sending them on to the IDE developer who is doing the context-sensitive help. This is our first release with it, and we're trying to clean some things up for the 8.1 patch. One big change I hope to get in is to separate each API function to its own page. That will help a lot with browsing in the "contents" tab, and it also fixes some problems with bad anchor locations in our source data. One question: how would you parse the current item for this? Just scan for the C identifier that currently contains the cursor (or is just before it)? What if you have just typed a space after typing a keyword. I just want to get details nailed down so it can be implemented quickly. -- For information on using the Palm Developer Forums, or to unsubscribe, please see http://www.palmos.com/dev/tech/support/forums/ -- For information on using the Palm Developer Forums, or to unsubscribe, please see http://www.palmos.com/dev/tech/support/forums/
