Re: Edita Wish list - was: Searching Docs - was: the Dollar Sign [$]
- Posted by Kenneth Rhodes <ken_rhodes30436 at yahoo.com> Jan 18, 2006
- 477 views
Pete Lomax wrote: > > On Sun, 15 Jan 2006 16:03:27 -0800, Kenneth Rhodes wrote: > > >My dream was to implement some type of "universal context sensitive help" > >system whereby once a library was included in the file being edited, > >efficient context sensitive help would be automatically available. > That is exactly what Edita does. When you start Edita, there is a > little man in a red triangle, working away. When the triangle turns > grey (which it does quicker next time you load), it knows all about > the includes and all the globals defined in them. It goes red again > for a while, each time you save the file. Let me know if there > is something I have completely missed on this part. > It depends upon how Edita shares all it knows about the includes/globals with the user... if the sole fruit of that knowledge is to change the color of a global once it is used in the editor, then we probably aren't understanding each other. I gather that Edita is able to provide color syntax help on the fly - and I think that is a fantastic feature. :) This is more pertinent to my focus: > The ELR.hlp file shipped with that is now nearly seven years old! > If only has the second half of refman in it, and misses out things > such as chdir, crash_file, crash_routine, define_c_var, flush, > (un)lock_file, pretty_print, sleep, and probably a few more... > Unable as I am to find or build a new one, I think I have to flatly > refuse. >I am also unaware how one might invoke a help file, with a > specific topic... If Edita keeps track of the current "word", and I assume that it must, then all you have to do is search the relevant document for that word and then display that portion of the document. For the Official Euphoria "words" - for text help all you have to do is open library.doc and position your cursor on the appropriate article by use of your "find" routine. We are talking about several lines of simple code here. Example: Once the word "length" is entered it is recognised by the editor as indicated by a change of color - pressing a designated key opens the file "library.doc" then searches for "< length". For hypertext help see Juergen's Hypertext Help file link below: > Now if someone wants to ship me an updated file with > the source mods to Edita, or better yet a how-to... > > Juergen's Hypertex help file effectively provides a "how to" as far as the official RDS Documentation. Here's a paste of his post to the forum: >Pete, it might be useful for you then to look at my contribution >"Euphoria HyperText Help", in order to get a table of many keywords >and their related hyperlink targets in the official Euphoria >documentation. >Regards, > Juergen And this is a download link to Juergen's Hypertext help program. Its cross platform! :) It should be easy to plug in or incorporate/modify the code directly into Edita, if such functionality is not already available in the editor. http://www.rapideuphoria.com/euhthelp.zip Bottom Line - Elaborate context sensitive help, in either text of hypertext format, can easily be implemented in any text editor - at least for the official RDS Euphoria language. But the real trick is to provide that type of elaborate contest sensitive help for any third party library included in the file being edited. Ken Rhodes 100% MicroSoft Free SuSE Linux 10.0 No AddWare, SpyWare, or Viruses! Life is Good :)