Using BUFFERS
Hi, Does someone have some experience with using buffers for manipulating texts ? I would like to create and manipulate buffers with basic operations i.e. creating, deleting buffers, inserting deleting text in/from these buffers, etc. The documentation in the LW Editor User Guide seems not to include all of these operations. My buffers need to be edited by programming with these operations, or manually when associated with an editor-pane. Moreover, the following simple preliminary test crashes : (let ((ed (editor::make-buffer "mybuffer"))) (editor::use-buffer ed (editor::insert-string 0 "hello"))) ==> Error: Bus error(10) [code 0] at 20A132AF {Offset 21 inside #<Function EDITOR::IN-INSERT-STRING 20A1329A>} eax 56 ; ebx 80000066 ; ecx 600 ; edx 22E22131 esp 22E220F0 ; ebp 22E22108 ; esi 0 ; edi 204F2207 1 (abort) Return to level 0. 2 Return to top loop level 0. Thanks for any help ! Jean Bresson