4. In a computer, a method comprising steps of: receiving a handwritten user input including a first symbol, which is a shorthand entry of both of an expanded text and a program; determining that the handwritten user input includes a second symbol in addition to the first symbol; based on the handwritten user input including the second symbol, selecting the text expansion to be displayed; and displaying the text expansion in place of the first symbol.
7. The method of claim 4 , wherein the second symbol consists of any handwritten user input on a same line as the first symbol and simultaneously displayed with the first symbol.