changed to catch modified lines using cursor changed signal

instead of catching modified lines by the specific movement keys, a
connection is made to the cursorPositionChanged() to new slot function
cursorMoved(); this change also required to get the modified line using
the line modified variable instead of the current cursor position since
now the cursor has already been moved instead of about to be moved