TurboPack / SynEdit

SynEdit is a syntax highlighting edit control, not based on the Windows common controls.
226 stars 75 forks source link

Super long lines slow down SynEdit #161

Closed pyscripter closed 2 years ago

pyscripter commented 2 years ago

Lines much longer that 10K slow down caret positioning and file looading.

Discussed in https://github.com/TurboPack/SynEdit/discussions/157

Originally posted by **pyscripter** February 6, 2022 @MShark67 I have introduced a parallel for loom (from System.Threading) in the calculation of MaxWidth. Could you please test it with you 250K file and check whether it makes a difference in performance? Thanks!
pyscripter commented 2 years ago

Implemented a switch to Wordwrap when lines greater than 10000 characters long are inserted,