On Wed, 28 Aug 2019 at 15:12, Austin Green austin.green@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. https://www.geany.org/manual/reference/sciwrappers_8h.html#a6649bca185bcc348...
Cheers Lex
Cheers, Austin. _______________________________________________ Devel mailing list Devel@lists.geany.org https://lists.geany.org/cgi-bin/mailman/listinfo/devel