Selecting a portion of text in editor pane

"Krupka Michal (as michal dot krupka at upol dot cz)" <[email protected]>
Newsgroups gmane.lisp.lispworks.general
Message-ID <[email protected]>
Hello,

I need to select a part of text in capi:editor-pane given two buffer points. I tried this (inside a correct process) but it doesn't work correctly:

(editor:use-buffer (capi:editor-pane-buffer my-pane)
        (editor:move-point (editor:current-point) point-1)
        (editor:set-current-mark point-2))

Any advice? Thanks.

Michal

_______________________________________________
Lisp Hug - the mailing list for LispWorks users
[email protected]
http://www.lispworks.com/support/lisp-hug.html
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.