Skip to content

Releases: hydrogen602/betterTextEditor

NASM Assembly Syntax Highlighting

12 Aug 16:51
Compare
Choose a tag to compare

Files with the .asm extension will switch syntax highlighting over to NASM style assembly syntax

May contain issues as it was derived from the python syntax highlighting class.

Bug fixes:

  • String started with " could be ended with ' and vice-versa, this has been fixed

Mostly complete syntax highlighting

12 Jul 18:27
Compare
Choose a tag to compare

Now highlights escape characters like \n and multiline comments.
Also prompts before closing when not saved.

As nano is a similar text editor and pico also leads to the nano text editor,
I've named mine femto for now as it's the next smallest prefix in the metric system.

Simply drag the femto file into a folder that is in $PATH, like /bin or /usr/bin or create
a new folder and add it to $PATH in ~/.bash_profile

The femto file is basically all files copy&pasted into one and then the import errors are fixed.

Note:
The file will need permission to be executed, so run chmod u+x,g+x,o+x femto on it.

Also requires python3 and the curses library, though that library is usually already installed with python.