摘要 |
The present disclosure provides a method and a device for editing a text in an electronic device (7). The electronic device (7) comprises a memory (11) and a touchscreen (10) configured to display a text area (8) comprising the text to be edited and a keyboard area (9) comprising a number of symbols. The method comprises the steps of: detecting (1) the presence of an object at a first position on the touchscreen (10), wherein the first position is located in the keyboard area (9); identifying (2) one of the symbols based on the first position; storing (3) the symbol in the memory (11); detecting (4) the presence of an object at a second position on the touchscreen (10), wherein the second position is located in the text area (8) and pasting (5) the symbol in the text by inserting the symbol at the second position in the text area (8). |