Merge pull request #2896 from Mailaender/editor-ruler

Added switchable ruler markings to editor
added an eraser toolbar button

to erase with left-click as in image editing programs