Re: [Geany-Devel] Problem with pointer from API function -- solved

2019-08-27 Thread Lex Trotman
On Tue, 27 Aug 2019 at 16:00, Austin Green wrote: > > Hi Lex, > > On Tue, 27 Aug 2019 14:39:52 +1000 > Lex Trotman wrote: > > > On Tue, 27 Aug 2019 at 14:29, Austin Green > > wrote: > > ... > > > As well as adding the GEANY_API_SYMBOL macro to the function definition, > > > the function

[Geany-Devel] How to programmatically de-select text

2019-08-27 Thread Austin Green
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! :)

Re: [Geany-Devel] How to programmatically de-select text

2019-08-27 Thread Lex Trotman
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. > >

Re: [Geany-Devel] Problem with pointer from API function -- solved

2019-08-27 Thread Nick Treleaven
Thanks, this info should be added to HACKING to explain how to add API symbols. On Tue, 27 Aug 2019 05:29 Austin Green, wrote: > Hi All, > > OK, after further research I have stumbled on the answer: > > As well as adding the GEANY_API_SYMBOL macro to the function definition, > the function