Skip to content
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

Copy does nothing for non-printable characters #10

Open
reinderien opened this issue Aug 17, 2018 · 1 comment
Open

Copy does nothing for non-printable characters #10

reinderien opened this issue Aug 17, 2018 · 1 comment

Comments

@reinderien
Copy link

Currently, if you've selected a range of non-printable characters, 'copy as code' will function to show the hex content, but 'copy' will do nothing. This breaks the principle of least surprise. When a selection is made on the left-hand side, copy should simply copy the hex content shown in the editor. In other words,

  • Copy should use hex content or raw content based on context (left or right selection)
  • Copy as code should always use hex content
  • Copy as raw (which does not currently exist) should always use raw content
@hajdam
Copy link
Member

hajdam commented Aug 17, 2018

Actually copy works in raw mode, although it's only internal and is not compatible with other applications yet. This allows to insert (or overwrite) the same sequence of bytes in other position.

As for different text in clipboard depending on active section, it makes sense. But I would address this in combination with section specific popup menus, which should be available in version 0.2.

As for copy as code, preferred variant would be separate format configuration or to show dialog for it every time, but that's for later releases as well.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants