While working on SpiceC I discovered GCC supports 0b notation for binary values. I don't know when this occurred, but am quite pleased to see it! Before this change you could only use numbers represented in decimal, hexadecimal, and octal. At my job we use Visual Studio 2005 and 2012 for the supported and current versions of our software (V13 was developed with 2005, V14 and V15 with 2012). Neither of those versions of Visual Studio support it. We've started work on V16 and are currently in the process of figuring out issues(!@#$%^$#) with Visual Studio 2017 not liking our custom User Controls. I just tested VS2017 and it does support binary!
Because of this I decided to clone jEdit's mode file (syntax highlighting rules) for C and added the binary colorization rule so graphic images within binary numbers become clearer to see:
See this blog entry for how to add the new mode file. The assembly entry for the catalog file is:
<MODE NAME="C colorized binary" FILE="c.xml" FILE_NAME_GLOB="*.c"/>
Catalog file, for reference:
Addendum: I was running jEdit 5.3.0. It did not support HiDPI on the Mac:
Just realized 5.4.0 was released a year ago(!) and noticed this in the change log:
- Use new version of JarBundler that also sets LSApplicationCategoryType and
NSHighResolutionCapable. (BjÃ¶rn "Vampire" Kautler)
I wondered if that meant it now supported HiDPI, so installed the updated. It does!
Note the difference in the text quality and window buttons at the top-left. The toolbar icons are still low-def though.
- iesposta likes this