D0n9X1n/MJsonViewer

[Feature request] Highlight the hovered border

sabi0 opened this issue · 5 comments

sabi0 commented

Highlighting a JSON element "indentation guide" on hover would help to trace to where it begins.
This is particularly useful for long elements. Especially the ones that span multiple pages.

Here is a mockup of what I mean:
image

It would be also nice to be able to click the "indentation guide" to collapse the element.

Looks Good. Will support next version.

Now, you can highlight the block on v3.6.

First, you should enble this feature in about:addons page.

Then click on the block which you need to highlight. It looks like:

image

sabi0 commented

This is cool! Thank you.
But please allow a few pixels "tolerance" if possible.
Currently clicking when mouse pointer is like this toggles the "wrong" line:
image

Now, it has more space in the area in v3.7.

sabi0 commented

I've updated the add-on to version 3.7.
Distance between the "indentation guides" has increased indeed. But when I click a few pixels to the left of some "guide" another "guide" is highlighted. Just like shown on the screenshot in my previous comment.