Prevent non-editable lines of code from being edited

Also renames highlightedlines -> editableLines to be more accurate