[Openmcl-devel] How do I move the cursor in a window under program control?
ron at flownet.com
Fri Oct 17 13:24:11 PDT 2014
On Oct 17, 2014, at 12:35 PM, Gail Zacharias <gz at clozure.com> wrote:
> Yeah, the thing is that the buffer-selection-info gets secretly switched in and out of the buffer by Cocoa code (that's what I meant about it being a back-door kludge, and that's why I suggested grepping for references - to find where it gets fiddled with).
Yeah, I did that, but it turns out I was looking in the wrong branch (I was in v1.8) so I didn’t find any. Sorry about that. I will follow that lead.
> Alternatively, try doing whatever you're doing inside hi::handle-hemlock-event (pass a function as the second argument). That should insure that whatever weirdness we do around hemlock events also gets done around your code. Just running on the main thread is not enough context for doing editor things, at least not any more.
OK, I’ll try that too. Thanks!
More information about the Openmcl-devel