Re: Setting the cursor type in editor

"David McClain (as dbm at refined-audiometrics dot com)" <[email protected]>
Newsgroups gmane.lisp.lispworks.general
Message-ID <[email protected]>
In my Plotter package, I have the ability to set the window cursor to different forms, depending on context.

To do so I perform:

(defmethod mouse-move ((pane plotter-pane) x y &rest args)
  (declare (ignore args))
  (cond ((on-legend pane x y)
         (highlight-legend pane)
         (setf (capi:simple-pane-cursor pane) :move))
        (t
         (unhighlight-legend pane)
         (setf (capi:simple-pane-cursor pane)
               (plotter-cursor pane))
        )))

Presumably, if you can get the handle to the IDE editor window you ought to be able to do something similar.


> On Feb 19, 2025, at 14:13, Yuri Davidovsky (as work at disclosure dot ie) <[email protected]> wrote:
> 
> The IDE sets the cursor type to a vertical line when in the mac mode, and to a block cursor in the emacs mode automatically. I would very much like to keep the blocky cursor in the mac mode too. 
> 
> Is there a way to set the cursor type programmatically?
> 
> _______________________________________________
> 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.