Skip to content

Opening binary files results in a livelock #174

Description

@Piiit
 * Xed version (xed --version) 1.4.6
 * Distribution - (Mint 17.2, Arch, Fedora 25, etc...) LM18.2

Issue
Accidentally opening a binary file with xed results in a livelock.

Steps to reproduce
Open a binary file from any file manager using xed, or open a binary file in a running xed instance.

Expected behavior
Two possibilities:

  1. Xed should say: This is a binary file. I cannot open it.
  2. Xed could have a binary editor (plugin) to show binary files. Maybe this is out of scope for Xed, which is supposed to be a simple text editor.

Other information
Untested: Maybe the same problem occurs with a text file containing unknown characters or with a strange encoding.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions