Approved
Last Updated: 31 Oct 2018 08:06 by ADMIN
ADMIN
Todor
Created on: 22 Jun 2016 06:45
Category: RichTextBox
Type: Bug Report
1
RichTextBox: Changing current editing style between two words with two spaces and annotation between them, affects the style of the previous word
If there are two words with two spaces between them, and between the spaces there is annotation with SkipPositionBefore = false (e.g. track changes revision annotation or comment), and current editing style is changed on the position between the spaces (i.e. Toggle Bold, for example, without selection present) the first word formatting is affected (e.g. it becomes bold).

Steps to reproduce:
Variant 1:
- Insert two words with a single space between them (e.g. "text telerik")
- Turn Track Changes On
- Insert a space after the single space between the two words. (i.e. right before 'telerik')
- Toggle Bold
Observe: "text" gets bold.
Expected: "text" doesn't get bold, just current editing style is changed.

Variant 2:
- Insert two words with a two spaces between them (e.g. "text  telerik")
- Select the second space and the second word, and insert comment.
- Put the caret between the spaces.
- Toggle Bold
Observe: "text" gets bold.
Expected: "text" doesn't get bold, just current editing style is changed.
(Total attached files size should be smaller than 20mb. Allowed extensions: .zip, .rar, .jpg, .png, .gif)
0 comments