exbin / bined-intellij-plugin

Hex viewer/editor plugin for JetBrains IntelliJ platform
https://bined.exbin.org/intellij-plugin
Apache License 2.0
60 stars 9 forks source link

Display the number of bytes selected #26

Closed ibarrac closed 4 years ago

ibarrac commented 4 years ago

It would be great if the number of bytes currently selected could be displayed somewhere like in one of the panes at the bottom. That would make it simpler to understand where a binary field ends.

Currently, it displays the cursor position but to know where a field ends you have to do the arithmetic in your head to add the field length to that position, instead of simply selecting the bytes until that display would read the right field length.

hajdam commented 4 years ago

You are right and I saw that in some other editors, but didn't have time to do that yet. I'll try to go with selection size instead of document size and selection start + end in cursor position when selection is active.

hajdam commented 4 years ago

Added to version 0.2.2.