[Winform, C#] RichTextBox automatically changes 'selectionFont and Selectioncolor' when I click richTextbox

Banlim 0 Reputation points
2023-06-13T01:49:38.81+00:00

Hello.

I'm using WinForm's RichTextBox, and I found a bug.

Type text in A font, then type text in B font, and click RichTextBox a few times to automatically change the font.
For example, first you enter a '맑은고딕' font, 'Hello' in green, then a '굴림' font, and 'World' in blue.
If you click RichTextBox in this state, the '굴림' font should remain blue, but the font and color change.
I attached a reproduced video, and I hope you check it out.

Thanks.

richTextboxBug

Windows for business | Windows Client for IT Pros | User experience | Other
Developer technologies | C#
Developer technologies | C#
An object-oriented and type-safe programming language that has its roots in the C family of languages and includes support for component-oriented programming.
{count} votes

Your answer

Answers can be marked as 'Accepted' by the question author and 'Recommended' by moderators, which helps users know the answer solved the author's problem.