Before I get hopes up, I spoke to Geoff about this yesterday. This request isn’t something they are currently interested in implementing. Regardless, I’m filing this so Xojo can gather interest. As I understand it, the issue isn’t that there’s no purpose, but it’s such a niche feature that it isn’t worth implementing. I don’t believe Xojo is wrong in this assessment.
We currently have the TextInputCanvas plugin that Xojo introduced 9 years ago, but does not get maintained anymore. There is still a niche need for somebody looking to develop their own text editor, like Xojo’s IDE does. Bob Keeney’s Formatted Text Control is another such implementation.
These text input events could be added to Canvas, but I think that would introduce far too much noise on the class for the average user. Instead, I’d like to see a subclass of Canvas that adds the required events. This subclass would be built into Xojo instead of requiring a plugin. Ideally, Xojo would migrate their own code editor to this subclass so they would be eating their own dog food, but that’s outside the scope of this case or what the public even needs to know.
Just reiterating, I’m not trying to pressure Xojo to implement this. I agree that this is currently too niche of a feature to implement. I’m hoping to discover that it isn’t as niche as I believe it to be and therefore would be more worth implementing. I have no intention of making a big deal out of this, it’s just here to gather potential interest. That’s it.