-
Notifications
You must be signed in to change notification settings - Fork 122
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Bug: double clicking needs tons of undos #20
Labels
bug
Something isn't working
Comments
I guess it's QTextEditor bug. But I'll try to find some workaround. |
ouuan
added a commit
to cpeditor/QCodeEditor
that referenced
this issue
Jan 30, 2020
The occurrences were framed, but it sometimes cost a long time which is perceptible by the users. What's worse, it sometimes needs many undos, which is described in Megaxela#20. After this change, the occurrences are underlined other than framed, and the words are find by whole-word rule. This is fast and doesn't need any undos. It may be possible to use frames which is more beatiful without being slow or modifying the text, but I'm just lazy to implement it.
ouuan
added a commit
to cpeditor/QCodeEditor
that referenced
this issue
Jan 30, 2020
The occurrences were framed, but it sometimes cost a long time which is perceptible by the users. What's worse, it sometimes needs many undos, which is described in Megaxela#20. After this change, the occurrences are underlined other than framed, and the words are find by whole-word rule. This is fast and doesn't need any undos. It may be possible to use frames which is more beatiful without being slow or modifying the text, but I'm just lazy to implement it.
ouuan
added a commit
to cpeditor/QCodeEditor
that referenced
this issue
Feb 1, 2020
The occurrences were framed, but it sometimes cost a long time which is perceptible by the users. What's worse, it sometimes needs many undos, which is described in Megaxela#20. After this change, the occurrences are underlined other than framed, and the words are find by whole-word rule. This is fast and doesn't need any undos. It may be possible to use frames which is more beatiful without being slow or modifying the text, but I'm just lazy to implement it.
knarfS
pushed a commit
to knarfS/QCodeEditor
that referenced
this issue
Aug 23, 2020
endl is deprecated in Qt 5.15 Since QCodeEditor is a library, it's better to support Qt 5.12
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Double-clicking for highlighting the same words shouldn't affect the undo history.
OS: Windows 10
I'm using QCodeEditor in coder3101/cp-editor2.
The text was updated successfully, but these errors were encountered: