ScintillaNET icon indicating copy to clipboard operation
ScintillaNET copied to clipboard

Scintilla Control causes caret in other controls to jump/bug

Open MaxBGitHub opened this issue 2 years ago • 1 comments

After starting a Form with one or more Scintilla controls, the Scintilla control causes the caret of other controls to jump. ScintillaNet_CaretIssue

If you click into the Scintilla control and then into a different control, the caret does not jump around. One workaround is to set the CaretPeriod to 0, after that, no caret jumps around. Another workaround is not show the caret at all within the Scintilla control.

Is this a known issue and if so, are there other workarounds or fixes? Do I have to change a property or do something after the parent Form is shown?

The jumping caret actually happens as soon as the Scintilla control is instantiated. While designing controls in Visual Studio, on a Form that uses the control, the text boxes within the Properties tab also have this issue. It is no limited to runtime.

MaxBGitHub avatar Dec 30 '22 12:12 MaxBGitHub

I have the same issue... using .net 7

chswin avatar Jan 12 '23 17:01 chswin