New editor functions: addLineClass, showLine, and change event.