Approved
Last Updated: 31 Oct 2018 08:11 by Allan
Allan
Created on: 04 Mar 2015 14:18
Category: RichTextBox
Type: Bug Report
0
RichTextBox: Replacing text removes the formatting of the replaced word
When using the "Replace" function or the API, the formatting of the replaced word is lost.

Note: Using "Replace All" does not reset the formatting.

Steps to reproduce:
1. Enter the text "The quick brown fox" in a document
2. Apply formatting to the word "brown" (eg, make it bold)
3. Perform a find/replace on the word brown (eg, replace with blue) using "replace", not "replace all"
4. The formatting of the word is reset (it's no longer bold) 
0 comments