> SCI_SETSEL(position anchor, position caret) ... scintilla_send_message()
> which is in the API
@Lex: Yay! SCI_SETSEL was right on target! Or "rem acu tetigiste" as the
Romans used to say. Overnight my brain had come up with the idea of
investigating the Scintilla message API, so you saved
On Wed, 28 Aug 2019 at 20:38, Austin Green wrote:
>
> Hi Lex,
>
> > > Trying to programmatically cancel a text selection. There are functions
> > > that will probably do it, e.g. sci_set_selection, but bearing in mind the
> > > restriction on changing the API, those functions are not callable f
Le 28/08/2019 à 12:38, Austin Green a écrit :
> […]>
> Yes, that's what I tried first. It only appears to have no selection
> -- as soon as I move the caret, it starts selecting again (even
> without the shift key!) So appears to have gone into a strange
> extend-selection-just-by-moving mode. I
Hi Lex,
> > Trying to programmatically cancel a text selection. There are functions
> > that will probably do it, e.g. sci_set_selection, but bearing in mind the
> > restriction on changing the API, those functions are not callable from my
> > code.
> > Surely I'm missing something obvious her
On Wed, 28 Aug 2019 at 15:12, Austin Green wrote:
>
> Trying to programmatically cancel a text selection. There are functions that
> will probably do it, e.g. sci_set_selection, but bearing in mind the
> restriction on changing the API, those functions are not callable from my
> code.
>
> Sure
Trying to programmatically cancel a text selection. There are functions that
will probably do it, e.g. sci_set_selection, but bearing in mind the
restriction on changing the API, those functions are not callable from my code.
Surely I'm missing something obvious here? I do hope so! :)
Cheer