CPC G06F 3/04842 (2013.01) [G06F 3/0481 (2013.01); G06F 16/903 (2019.01)] | 18 Claims |
1. A method for highlighting selected portions of text, comprising:
detecting at least one glyph within a user interface is selected by a user;
obtaining information defining an outline of a first glyph, the information including a set of coordinates corresponding to at least a portion of the first glyph within the user interface;
determining, from the set of coordinates defining the outline of the first glyph, horizontal bounds and vertical bounds of the first glyph within the user interface, wherein the vertical bounds of the first glyph correspond to a vertical maximum within the set of coordinates and a vertical minimum within the set of coordinates, and wherein the horizontal bounds of the first glyph correspond to a horizontal maximum within the set of coordinates and a horizontal minimum within the set of coordinates;
determining, within the user interface, a region at least partially defined by the horizontal bounds and vertical bounds of the first glyph,
detecting that a second glyph within the user interface is selected by the user;
updating, within the user interface, the region to include a vertical range of coordinates defined by the first glyph and the second glyph, and wherein the region includes a horizontal range of coordinates defined by the first glyph and the second glyph, wherein the vertical range does not extend beyond the first glyph and the second glyph; and
displaying the region within the user interface, the displayed region indicating that the first glyph and the second glyph are selected by the user.
|