fork-dev / Tracker

Bug and issue tracker for Fork for Mac
505 stars 12 forks source link

C# - String highlighting is broken in some strings in code change window #2174

Open danwilkins opened 1 month ago

danwilkins commented 1 month ago
image

This above example looks fine.

This one particular file does not:

image

I haven't figure out how to repro it. I could send you the source file with the info redacted if that would help narrow it down.

DanPristupov commented 1 month ago

Probably highlighting is affected by unpaired colons. Fork doesn't have a proper AST parser to handle them.

https://github.com/fork-dev/Tracker/issues/941

danwilkins commented 1 month ago

Can you give me a line that would repro this so I can confirm?