Patent ID: 7398462

Claim:
A machine-readable medium having instructions stored thereon for execution by a processor to implement a computer program providing a common text framework through which applications and handlers for input devices can interact, comprising: a text store interface to permit an application having a document of primarily text to expose the document as an abstraction, the text store interface comprising, a text stream interface in which the abstraction of the document appears as an array, a position within the document represented as an offset from a beginning of the array, a dynamic text interface in which the abstraction of the document is such that a position within the document is represented as a floating anchor to a node, and a text processor input method for attaching a property to the document in at least one position in the document, wherein the property preserves originally entered data in order to facilitate text correction; and a text input processor interface to permit a handler for an input device to access the abstraction of the document and to insert additional text into the document.