On 07/31/2007 12:23:34 AM, blackdog wrote:
On looking at the sci_wrappers.c and having implemented the plugin sci stuff i think most people would be like me and want all of the sci wrapper functions available in the plugin api, more or less.
Is there a reason to not just add all of them in one go rather than piecemeal? If not, I'll do a little script to strip them out into the correct format.
Comments?
Well, I think most of sciwrappers are not common functions - to take the first 3: sci_set_line_numbers, sci_set_mark_long_lines, sci_get_line_numbers
I don't think plugins should use these. I think in the rare circumstance a plugin needs to use an unusual scintilla message, it can do that with scintilla_send_message() or by copying the wrapper from sciwrappers.c and making it static.
Of course, if you want to add a block of commonly used scintilla functions, go ahead ;-)
Regards, Nick