Text direction indicator
AssigneeMicrosoft Technology Licensing, LLC
InventorsHarish Dhawan, Rahul Dhaundiyal, Jitendra Kumar
Life of this patent
Estimating the term…
Abstract
Systems, methods, and computer-executable instructions for indicating a text direction are disclosed. Operations for indicating a text direction may include determining an insertion point in a bidirectional document. A keyboard layout at the insertion point is determined. A visual characteristic for a cursor, that indicates a text direction of the first keyboard layout, is selected based upon the keyboard layout. A cursor with the visual characteristics is displayed.
Claims20
A system for indicating a text direction, the system comprising:
- a processor;
- and
- memory coupled to the processor, the memory including instructions, which when executed by the processor, cause the processor to perform operations comprising:
- determining a first insertion point in a bidirectional document comprising at least two languages, wherein the at least two languages comprise a left-to-right (LTR) language and a right-to-left (RTL) language;
- determining a first keyboard layout at the first insertion point, wherein the first keyboard layout comprises a left-to-right mode or a right-to-left mode;
- identifying a visual characteristic of a directional portion of a first cursor comprising both a main portion and the directional portion, the visual characteristic distinguishing the directional portion from the main portion, and wherein the directional portion of the first cursor indicates a text direction of text to be entered at the first insertion point, based upon the first keyboard layout;
- and
- displaying the first cursor comprising the main portion and the directional portion at the first insertion point, wherein the directional portion is located left of the main portion of the first cursor when the first keyboard layout is in the LTR mode, and wherein the directional portion is located right of the main portion of the first cursor when the first keyboard layout is in the RTL mode.
A method for indicating a text direction, the method comprising:
- determining a first insertion point in a bidirectional document comprising at least two languages, wherein the at least two languages comprise a left-to-right (LTR) language and a right-to-left (RTL) language;
- determining a first keyboard layout at the first insertion point, wherein the first keyboard layout comprises a left-to-right mode or a right-to-left mode;
- identifying a visual characteristic of a directional portion of a first cursor comprising both a main portion and the directional portion, the visual characteristic distinguishing the directional portion from the main portion, and wherein the directional portion of the first cursor indicates a text direction of text to be entered at the first insertion point, based upon the first keyboard layout;
- and
- displaying the first cursor comprising the main portion and the directional portion at the first insertion point, wherein the directional portion is located left of the main portion of the first cursor when the first keyboard layout is in the LTR mode, and wherein the directional portion is located right of the main portion of the first cursor when the first keyboard layout is in the RTL mode.
A computer-readable storage media storing computer-executable instructions for causing a computing device to notify user interface (UI) components of state changes, the stored instructions comprising:
- instructions to determine a first insertion point in a bidirectional document comprising at least two languages, wherein the at least two languages comprise a left-to-right (LTR) language and a right-to-left (RTL) language;
- instructions to determine a first keyboard layout at the first insertion point, wherein the first keyboard layout comprises a left-to-right mode or a right-to-left mode;
- instructions to identify a visual characteristic of a directional portion of a first cursor comprising both a main portion and the directional portion, the visual characteristic distinguishing the directional portion from the main portion and, wherein the directional portion of the first cursor indicates a text direction of text to be entered at the first insertion point, based upon the first keyboard layout;
- and
- instructions to display the first cursor comprising the main portion and the directional portion at the first insertion point, wherein the directional portion is located left of the main portion of the first cursor when the first keyboard layout is in the LTR mode, and wherein the directional portion is located right of the main portion of the first cursor when the first keyboard layout is in the RTL mode.
Dependencies are inferred from the claim text.