Last Updated: 31 Oct 2018 08:11 by ADMIN
Created on: 08 Sep 2015 08:18
Category: RichTextBox
Type: Bug Report
RichTextBox: Deleting style definition does not update the formatting of the currently visible document elements
If style is applied to some document elements and this style is deleted through the Change Styles dialog, currently visible document elements (paragraph, spans) are not affected and retain the formatting as if the style is still applied.

Steps to reproduce:
- Add some text
- Select the text and create new style with distinguishable formatting, e.g. red forecolor. The style is applied to the selected text.
- Delete the style
Expected: the paragraph gets Normal style, and its forecolor becomes the default black one.
Actual: the Paragraph has still the custom paragraph styling