rbaker26 / SAP1EMU

An Emulator for the SAP-1 Computer

Home Page:https://sap1emu.net

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Ignoring Comments and Whitespace in GUI Editor Line Numbers

rbaker26 opened this issue · comments

What part of the project is your feature request for?

  • Assembler CLI
  • Emulator CLI
  • Emulator GUI
  • API / Library

Is your feature request related to a problem? Please describe.

When a comment or newline is above a syntax error, it will throw-off the the number of the error message.
image

Todo List

  • Line number should start at 0
  • A blank line should not increment the line number
  • A line containing only comments should not increment the line number

This will have to deal with the JavaScript passed to the CodeMirror Lib.