1. RE: [IDE] find documentation function
- Posted by Judith <camping at txcyber.com> Jun 24, 2001
- 372 views
Hi, Dan, It looks like your routine does basically exactly what mine does. I first search under EUphoria for the files. The user can also use a menu item to use open file dialog. Some users have their files on a CD or alternate drive so be sure your routine can get to those. However, if your method works better, I don't mind looking at it. If it would be easier just point me to where I can pick up your routines. Thanks, Judith DanMoyer at PRODIGY.NET wrote: > Judith, > > You have a sort of "find documentation" feature in the IDE which seems > to > ask the user to provide the location of the documentation for the IDE > and > for Win32Lib, as well as for the ruler. In my RunDemos program, I made > a > series of routines which allowed the user to find the location of > pertinent > files much easier. > > Works like this: > If the selected file's location *wasn't* in a config file already, a box > popped up which allowed the user to either: > 1. cause an automatic search of the disk in any pre-specified > directories > (in one or more directories, and for one or more file names), or, > 2. bring up a dialog box which allows the user to scan through a tree > of > directories and files until they find the one they want to use. > > Whatever the user selects gets put into a config file, and I provided > that > the user could force an opportunity to re-select the location by right > clicking on the same button that would otherwise jump to the config > pointed > file. > > If you're interested, I could try to modify it to work with the IDE for > you. > > Dan > > >
2. RE: [IDE] find documentation function
- Posted by Judith <camping at txcyber.com> Jun 24, 2001
- 367 views
DanMoyer at PRODIGY.NET wrote: > Judith, > > Sorry, I may have misunderstood how your locator works; I thought it was > set > up so the user *had* to manually input where they thought the doc were, > as > opposed to an "auto" find or "user seek" by open file dialog choice. If > your routines do find the docs, then no need for any improvement. > > But when I use it, it doesn't seem to auto find the docs locations. > Here's > what happens: I go to the "configure" menu choice, and select > documentation > location; I get a window with 3 combo boxes, the first two empty, and > the > third (for Win32Lib doc) having "c:\Euphoria\register" or something like > that in it. There *is* a version of a Win32Lib html there, but it's not > the > current one. Maybe I'm doing something wrong? > Hum. IDE should look in the folder where your Euphoria is and walkdir through all the sub folders. If it finds win32lib.html it adds the name to the dropdown list. If it finds multiple copies it adds them all. IDE then adds (if it is not already in the list) and sets the file name from IDE.cfg, if there is one. I don't understand why it is finding euphoria\register. If the dropdown lists are not correct, user may use the menu to obtain the open dialog. I'll certainly take a look at my routine. Thanks, Dan, Judith > Dan > > ----- Original Message ----- > From: "Judith" > > > Hi, Dan, > > > > It looks like your routine does basically exactly what mine does. I > > first search under EUphoria for the files. The user can also use a menu > > item to use open file dialog. Some users have their files on a CD or > > alternate drive so be sure your routine can get to those. > > > > However, if your method works better, I don't mind looking at it. If it > > would be easier just point me to where I can pick up your routines. > > > > Thanks, > > > > Judith > > > > DanMoyer at PRODIGY.NET wrote: > > > Judith, > > > > > > You have a sort of "find documentation" feature in the IDE which seems > > > to > > > ask the user to provide the location of the documentation for the IDE > > > and > > > for Win32Lib, as well as for the ruler. In my RunDemos program, I made > > > a > > > series of routines which allowed the user to find the location of > > > pertinent > > > files much easier. > > > > > > Works like this: > > > If the selected file's location *wasn't* in a config file already, a > box > > > popped up which allowed the user to either: > > > 1. cause an automatic search of the disk in any pre-specified > > > directories > > > (in one or more directories, and for one or more file names), or, > > > 2. bring up a dialog box which allows the user to scan through a tree > > > of > > > directories and files until they find the one they want to use. > > > > > > Whatever the user selects gets put into a config file, and I provided > > > that > > > the user could force an opportunity to re-select the location by right > > > clicking on the same button that would otherwise jump to the config > > > pointed > > > file. > > > > > > If you're interested, I could try to modify it to work with the IDE for > > > you. > > > > > > Dan > > > > > > > > > > > > > > > <snip>