Selectable content?
First of all thank you for publishing this asset! It saved me a lot of time!
I'm trying to figure out is there a way to make a renderer markdown text selectable. When I'm writing documentation for other developers usually I want them to copy some parts to minimize errors. Do you have an idea how I can make the content selectable by mouse?
I may try to contribute, but I would like to know do you see a way to actually do it?
Everything is possible its just a question of time and effort and you can always select and copy from the raw view of course 🙂
UMV does the layout by hand, which means you would need to implement cut and paste by hand too.
To make the markdown itself selectable you would need to handle the mouse events directly, keep track of the select region and implement the highlight and copy buffer. UMV does not keep any internal representation of the data layout, so you would need to compare the rectangle for each component against the select region during the render. At least that's how I would approach it, there may be a better way. You should only need to keep track of the start and end though.
GL & HF 🙃