development GUI_server v0.99

Notices and updates
Locked
Lutz
Posts: 5289
Joined: Thu Sep 26, 2002 4:45 pm
Location: Pasadena, California
Contact:

development GUI_server v0.99

Post by Lutz »

fixes two important Win32 issues:

- directories now always visible when doing file masks in filedialog boxes

- problems in positionng text selections in find command

newlisp-edit.lsp has now undo/redo

Changes: http://newlisp.org/downloads/developmen ... UI-099.txt

File: http://newlisp.org/downloads/developmen ... r-0.99.tgz

Documentation: http://newlisp.org/downloads/developmen ... rver-0.99/

Today I have started to use newlisp-edit.lsp as my main texteditor to give it a good workout. The only main missing feature at this moment are syntax highlighting and some kind of preferences dialog for various settings.

Unfortunately I have not had much opportunity to test on Win32. So I depend on HPW's and Didi's (and anybody else's) bug-reports and observations thanks ;-)

Lutz

didi
Posts: 166
Joined: Fri May 04, 2007 8:24 pm
Location: Germany

Post by didi »

newLISP-edit with gui-server 0.99:
works fine, only the find-function highlights the wrong text, about 10chars or more after the searched word is highlighted (win) .
Yesterday i stuck in an endless loop , after i started my faulty program out of the newlisp-editor, i used the task-manager to exit - is there another way?

It's fun to program with the gui-server and to see the result - and kind of exciting like discovering a unknown land :-)

Dmi
Posts: 408
Joined: Sat Jun 04, 2005 4:16 pm
Location: Russia
Contact:

Post by Dmi »

Is there a way to add into text-area the various handlers (for TAB, ENTER etc)?
WBR, Dmi

Lutz
Posts: 5289
Joined: Thu Sep 26, 2002 4:45 pm
Location: Pasadena, California
Contact:

Post by Lutz »

about 10chars or more after the searched word is highlighted (win)
yes and the parenthesis behaviour is broken, something broke it all last minute. I will take 0.99 off and repost later as 0.991

Is there a way to add into text-area the various handlers (for TAB, ENTER etc)?
There is a general handler, firing on any character typed and cursor movements, see in newlisp-edit.lsp:

Code: Select all

(define (editarea-handler id code dot mark len undo redo)
...
)
id -> the id of the editarea
code -> the character typed
mark, dot -> the position(s) of the text cursor
len -> the current length of the document
undo,redo -> the state of undo, redo

Code: Select all

Yesterday i stuck in an endless loop , after i started my faulty program out of the newlisp-editor
newlisp-edit doesn't come back until the external program exits/finishes. Today I am trying to put back the stateful newLISP evaluation from console.lsp.

Lutz

Locked