You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Dec 15, 2022. It is now read-only.
Checked that there is not already an Atom package that provides the described functionality: https://atom.io/packages
Description
In strings, normally '\xXX' makes the char at that position chr(int(XX,16)), it converts the hex value XX into that raw byte. However if one of the chars in X is non-decimal (so a-f) it doesn't get recognized.
Steps to Reproduce
Create the string "\x44\xff\x32RandomString\xa4\x4a\x44" in atom, and observe that the bytes with non decimal chars don't get highlighted.
Expected behavior:
All escaped hex bytes inside of strings to be highlighted.
Prerequisites
Description
In strings, normally '\xXX' makes the char at that position chr(int(XX,16)), it converts the hex value XX into that raw byte. However if one of the chars in X is non-decimal (so a-f) it doesn't get recognized.
Steps to Reproduce
Create the string "\x44\xff\x32RandomString\xa4\x4a\x44" in atom, and observe that the bytes with non decimal chars don't get highlighted.
Expected behavior:
All escaped hex bytes inside of strings to be highlighted.
Actual behavior: [What actually happens]
Reproduces how often: 100% of the time for me
Versions
I am on Linux Mint 17.3
atom 1.6.2
apm 1.6.0
npm 2.13.3
node 0.10.40
python 2.7.6
git 1.9.1
The text was updated successfully, but these errors were encountered: