Opened 14 months ago

#18494 new defect

wxRichTextCtrl bug: style applied to whole paragraph after line break on enter

Reported by: PeterO Owned by:
Priority: normal Milestone:
Component: wxRichText Version: dev-latest
Keywords: style bug Cc:
Blocked By: Blocking:
Patch: no


I noticed a style bug in wxRichTextCtrl. It's reproducable in the richtext-sample:

  1. Start the richttext-sample
  2. Scroll down to the bottom to the sentence: "This is a rectangle field".
  3. Select the word 'rectangle' and style it Red Bold.
  4. Set the cursor in the middle of the word and Enter.

A line break is inserted but now the whole first paragraph has become red (see attachment).

Attachments (1)

richtext style bug.png download (37.2 KB) - added by PeterO 14 months ago.
Bug screenshot

Download all attachments as: .zip

Change History (1)

Changed 14 months ago by PeterO

Bug screenshot

Note: See TracTickets for help on using tickets.