atom-hex
atom-hex copied to clipboard
Consecutive space (whitespace) are consolidated into one
Looks like the white spaces are consolidated in the character view. There are many spaces after and between those "0". The in the ASCII column of the Hex 5.0, they appear to be just one.

@nedzhang can you send me an example file that I can use to fix this bug?
fixed this by changing these lines in hex-view.coffee
if (v == 32)
ascii += " "
else if (v > 32 and v < 127) or v > 159
EDIT: There's now a pull request available #29 .
Also: if the spaces are at the beginning or end of a line, they are not shown.
Please accept PR #29, it looks good.
Looks like the maintainer don't give a shit about this project anymore.