Moving right
- Put selection one character before the underline
- Move selection by one character to the right using right arrow
- underline button should be not selected
- Press right arrow once again
- selection should be at the same position
- underline button should be selected
- Using right arrow move selection at the end of the underline
- underline button should be selected
- Press right arrow once again
- selection should be at the same position
- underline button should be not selected
Moving left
- Put selection one character after the underline
- Move selection by one character to the left using left arrow
- underline button should be not selected
- Press left arrow once again
- selection should be at the same position
- underline button should be selected
- Using left arrow move selection at the beginning of the underline
- underline button should be selected
- Press left arrow once again
- selection should be at the same position
- underline button should be not selected
Mouse
- Put selection at the beginning of the underline
- underline button should be not selected
- Put selection at the end of the underline
- underline button should be selected
Attributes set explicit
- Put selection one character before the end of the underline
- Move selection by one character to the right using right arrow
- underline button should be selected
- Turn on bold attribute (
Ctrl + B)
- Press right arrow once again
- selection should be at the same position
- underline button should be not selected
- bold button should stay selected
Moving from one bound attribute to another
- Make sure that moving between underline and italic text from second paragraph works the same way as above.
Not bounded attribute
Just make sure that two-steps caret movement is disabled for bold text from the third paragraph.
Right–to–left content
Tip: Change the system keyboard to Hebrew before testing.
Two-steps caret movement should also work when the content is right–to–left. Repeat all previous steps keeping in mind that the flow of the text is "reversed".