This demo applet lets you cycle through consecutive occurrences of the types of text elements listed below. Use the right or left arrow key to highlight the next or previous occurrence. Many text editing applications allow the user to select sentences with a key combination or triple click. The sentence selection mechanism demonstrated here is sensitive to the context of periods and other punctuation. Sentence selection with correct interpretation of periods within numbers and abbreviations, and trailing punctuation marks such as quotation marks and parentheses.
Lines Line boundary analysis determines where a text string can be broken when line-wrapping.
Identification of places where lines could be broken if you needed to reflow the text. The mechanism correctly handles punctuation and hyphenated words. Though not demonstrated here, the boundary mechanism also handles line breaks for non-Roman scripts. Words Word boundary analysis is used by search and replace functions, as well as within text editing applications that allow the user to select words with a double click. Word selection with correct interpretation of punctuation marks within and following words.