Script for newLISP Function Reference Viewer.

Q&A's, tips, howto's
Locked
johu
Posts: 143
Joined: Mon Feb 08, 2010 8:47 am

Script for newLISP Function Reference Viewer.

Post by johu »

I make newLISP Function Reference and GUI Fuction Reference Viewer.

ScreenShot is here.(Japanese blog. 日本語の使い方もこちらで。)

Download URL is http://cid-23a9a25e1aec3626.skydrive.li ... P-help.zip

Usage: newlisp newLISP-help.lsp [directory | -URL | -URL=xxx.html] [yyy.ini] [zzz.hlp]
      directoy is the directory of newlisp_manual.html.
      xxx.html is the url or file for reading.
      yyy.ini is the initial file for Window's position and size with yyy.hlp.
      zzz.hlp is the function reference data file.

and examples:

Code: Select all

newlips newLISP-help.lsp
newlips newLISP-help.lsp /usr/share/newlisp
newlips newLISP-help.lsp -URL=/usr/share/newlisp/newlisp_manual.html <- same as the usage above.
newlips newLISP-help.lsp -URL                                                       <- The latest reference is always shown. 
newlips newLISP-help.lsp -URL=http://www.newlisp.org/downloads/newlisp_manual.html  <- same as the usage above.
newlips newLISP-help.lsp guiserver.hlp <- GUI Funcion Reference showing.
newlips newLISP-help.lsp newlisp.ini   <- Firstly, newlisp.ini and newlisp.hlp are created. At next time, Function Reference and Window's position and size are recoverd.
Thank you for reading to the last minute.

I welcome any advice, i.e. usage, code technique, mistake, etc.

cormullion
Posts: 2038
Joined: Tue Nov 29, 2005 8:28 pm
Location: latiitude 50N longitude 3W
Contact:

Re: Script for newLISP Function Reference Viewer.

Post by cormullion »

Works great on my Mac so far. Thanks!

itistoday
Posts: 429
Joined: Sun Dec 02, 2007 5:10 pm
Contact:

Re: Script for newLISP Function Reference Viewer.

Post by itistoday »

Very nice!

One request: there doesn't seem to be a way to get out of a search without changing the topic. Can you make it so that deleting the search string brings back the whole list (and maybe bind the escape key to that action)?
Get your Objective newLISP groove on.

johu
Posts: 143
Joined: Mon Feb 08, 2010 8:47 am

Re: Script for newLISP Function Reference Viewer.

Post by johu »

Thank you, cormullion.
I bear Cormullion's Corollary in mind.

Thanks for request, itistoday.

I added Back button.
And deleting the search string brings back, but with return key.
An updated version is here:
http://cid-23a9a25e1aec3626.skydrive.li ... P-help.zip

Is it suitable for your request ?

old-version is here:
http://cid-23a9a25e1aec3626.skydrive.li ... 100514.zip

I use gs:text-field for InputBox, then I can't do an escape key work.
If using gs:text-pane, I can do. But it may request a focused InputBox.
And I have not learned the usage of gs:key-event, yet

If you do not like it, I will improve it.

P.S. additionally, Back Button has a simple history of search.

itistoday
Posts: 429
Joined: Sun Dec 02, 2007 5:10 pm
Contact:

Re: Script for newLISP Function Reference Viewer.

Post by itistoday »

Cool, thanks johu! Seems to work nicely. :-)
Get your Objective newLISP groove on.

johu
Posts: 143
Joined: Mon Feb 08, 2010 8:47 am

Re: Script for newLISP Function Reference Viewer.

Post by johu »

Sorry, Back-Button version has bug.

Search-button without search word enables Back Button.

Corrected version is here:
http://cid-23a9a25e1aec3626.skydrive.li ... P-help.zip

Locked