Skip to content
This repository has been archived by the owner on Dec 22, 2023. It is now read-only.

Scintilla Control causes caret in other controls to jump/bug #531

Open
MaxBGitHub opened this issue Dec 30, 2022 · 1 comment
Open

Scintilla Control causes caret in other controls to jump/bug #531

MaxBGitHub opened this issue Dec 30, 2022 · 1 comment

Comments

@MaxBGitHub
Copy link

MaxBGitHub commented Dec 30, 2022

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.

@chswin
Copy link

chswin commented Jan 12, 2023

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

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants