摘要 |
A method and system for automatically determining when an application should switch from a writing mode to a text entry mode, and vice-versa. When a soft input panel (SIP) or input method (IM) is selected, the application is notified and enters a text entry mode. Inputting via the IM while in this mode causes a character to be sent to the application, while pen events in the application window enable text editing and the selection of text and ink data in the application widow. When the SIP is deselected, the application is notified and enters a pen (writing) mode, whereby the pen events are interpreted as digital ink strokes instead of characters. Sub-modes of the pen mode are also available, via which the pen events are used to manipulate existing ink in the application window. Visual feedback may be provided to remind the user of the current mode and/or sub-mode.
|