Stefano Mtangoo:
> I understand that documetation thing is application functionality in this case but even the map will be useless as Scintilla have no way to
> get currently selected word in AC box. I have implemented a signal that does this (adding to what wxForum bcteh have started of course).
> Can I send a patch to scintilla?
An API to retrieve the currently selected item's text is simple to implement so would be fine.
A signal that is triggered when the selection changes is more difficult, since this is not currently supported by the Platform interface, that is, the interface between Scintilla and platform libraries. Changing the Platform interface generally breaks building on each platform until that platform’s maintainer adds an implementation for the new functionality. There are 4 platform interfaces included in the Scintilla distribution and something like 6 or more maintained independently, so adding a new feature costs the time of each of those downstreams.
Generally, features exposed through the Platform interface should be widely implementable. Any new feature should be checked against other platforms to ensure that either the feature isn’t needed for a platform or that the proposed API can be reasonably implemented.
Neil