corrects undo redo for line
Merge pull request #117 from kamalpreetgrewal/master

corrects undo redo for line