int movePos(int delta)/file

Moves the cursor position using a delta value. This method returns a negative value if it fails.