Strypper / mauisland

MAUIsland 🏝️ is the number 1 controls gallery for .NET MAUI
MIT License
198 stars 14 forks source link

[Bug]: core:SourceCodeExpander With the large code string cause the app to stuck and RAM overflow #188

Closed E-vaTRON closed 8 months ago

E-vaTRON commented 8 months ago

Contact Details

envaory@gmail.com

What happened?

image

Version

7.0

What platforms are you seeing the problem on?

Windows

Relevant log output

No response

Code of Conduct

E-vaTRON commented 8 months ago

It is because the string is dirty (usually because of double "\r\n")

E-vaTRON commented 8 months ago

News, I did check about the mechanic of the SourceCodeExpander the FormattedStringFormatter is working fine I did change the FormattedText of the Label in SourceCodeExpander .xaml to Text, and it renders fine. The FormattedText is the issue i guess