Thank You Captain.
Let's assume that a value of an integer should be changed. To do it quicker, we move cursor left and right, then increment or decrement with Up and Down buttons. Depending on position of cursor it will automatically changed by 1, 10, 100... How to write a program, which recognize where the cursor is?