development GUI_server v0.99

Started by Lutz, July 08, 2007, 01:24:12 PM

Previous topic - Next topic

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/development/CHANGES-GUI-099.txt">http://newlisp.org/downloads/developmen ... UI-099.txt">http://newlisp.org/downloads/development/CHANGES-GUI-099.txt



File: http://newlisp.org/downloads/development/guiserver-0.99.tgz">http://newlisp.org/downloads/developmen ... r-0.99.tgz">http://newlisp.org/downloads/development/guiserver-0.99.tgz



Documentation: http://newlisp.org/downloads/development/guiserver-0.99/">http://newlisp.org/downloads/developmen ... rver-0.99/">http://newlisp.org/downloads/development/guiserver-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

#1
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

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

Lutz

#3
Quoteabout 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


Quote  

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:


(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


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