I’m trying to create a selectable Region / Annotation / Phantom to display some text that is not part of a view. This would be similar in behaviour to the text displayed when you activate the Show Diff Hunk.
I have tried hunting down the code for the toggle_inline_diff command to no avail. I’m not sure how it runs or where it is pointing. I think if I could use that as an example, I would be able to build this.
I have built something similar using Phantoms to get that inline below text look that I was hoping for but the text is not selectable. I have tried building region annotations but again am running into selectable difficulties and cannot align it underneath.
- Below desired region in the same manner as a Phantom
Any help would be very much appreciated.