WPF APP will hang if the editor SyntaxHighlighting=python #241
Labels
No labels
Area-Accessibility
Area-Build
Area-CodeCompletion
Area-Document
Area-Documentation
Area-Editing
Area-Folding
Area-Highlighting
Area-i18n
Area-Indentation
Area-NetFx
Area-Rendering
Area-Search
Area-Snippets
dependencies
duplicate
Feedback Needed
help wanted
invalid
Issue-Bug
Issue-Discussion
Issue-Enhancement
Issue-Performance
Issue-Question
on-hold
Resolution-Answered
Resolution-By Design
Resolution-Duplicate
Resolution-Fixed
Resolution-Won't Fix
Up-for-Grabs
No milestone
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set
Reference
gh-icsharpcode/AvalonEdit#241
Loading…
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
OS: Windows_NT x64 10.0.14393
dotnetcore: 3.1.301
my wpf app is a editor using Avalonedit.
when setting the highlight==python(py). my wpf app hang, the only thing I can do is kill it by force.
but it works well when SyntaxHighlighting is not python, like markdown, csharp an so on.
there is the pic.

it seems that all SyntaxHighlighting will casuse the app-hang,
and also, it will hang if text length >5
I download the source code, and add it to my project.

there is the code that cause the hang.
hi,it seem that this problem has some to do with highlighted-rule,

eg: work well while input
mcu.Coreand hang when inputimporI just tried to reproduce this using a project targetting net5.0. I was unable to reproduce it. Is this still a problem using recent net5.0? Thanks!
thanks, finall we have found that i upgrade my embed-font
Cascadia Codewhich caused this issues. there is nothingto do with avalonedit. thanks