[Geany-Devel] How to programmatically de-select text
elextr at xxxxx
Wed Aug 28 05:49:54 UTC 2019
On Wed, 28 Aug 2019 at 15:12, Austin Green <austin.green at orcon.net.nz> 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.
> Surely I'm missing something obvious here? I do hope so! :)
Scintilla docs say "If the anchor and the current position are the
same, there is no selected text." so probably set selection start and
end both to current position.
> Cheers, Austin.
> Devel mailing list
> Devel at lists.geany.org
More information about the Devel