25. The device of claim 21 , wherein the processor is further operable to locate a cursor between the inputted predefined opening and corresponding predefined closing characters.
21. An electronic device comprising: a display; a memory for storing a plurality of predefined character pairs, each of the predefined character pairs including a predefined opening and closing character; a user input device for allowing a user to input characters; and a processor connected to the display, the memory and the user input device, the processor operable to receive a predefined opening character from the input device and to determine whether the predefined opening character has been input by comparing it with the stored plurality of predefined character pairs, the processor further operable to determine which one of the stored plurality of predefined character pairs the inputted predefined opening character corresponds to and to display the inputted predefined opening character on a display and to automatically display the corresponding predefined and closing character on the display after the predefined opening character.