-
-
Notifications
You must be signed in to change notification settings - Fork 648
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add overlays to the debugger. #1155
Conversation
I figured this is safe enough to go in |
I like it, although it should probably be configurable, as people used to |
Oh, the screenshot doesn't show, but it still uses the minibuffer. And there's a custom option to turn the overlays off.
The only problem is that these overlays are a little annoying if they stick around. In order to not change the contents of the buffer, they have 0 width, which means the user is completely unable to erase them. There's probably a better way to do this though, as I'm sure I've seen somewhere overlays that vanish when you write over them. |
Yep, that'd be best. Another thing to consider is their exact position - some people might not like the overlay shifting things to the right, so an alternative showing the overlay outside the text on the line might be nice to have as well. |
Only applies to \"*cider-debug ...*\" buffers, which are used in debugging | ||
sessions." | ||
:type 'boolean | ||
:group 'cider) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Don't forget the :package-version
properties.
On an unrelated note - add a changelog entry for this and drop the |
All done, and I've factored out the overlay handling as well so it can be reused. Should these functions go in another file or do I leave them there? |
Also, see new pic at the top. |
👍 Fantastic work! |
👍 |
👍 Awesome!! |
Too much? :)
end-of-line
inline