coq-community / vsc-conceal

Prettify Symbols Mode for Visual Studio Code [maintainer=@rtetley]
MIT License
51 stars 6 forks source link

Line break don't happen at the right place with word wrap #17

Open ArnaudPannatier opened 2 years ago

ArnaudPannatier commented 2 years ago

Hello Thanks for the amazing plugin! I have found a small error that is annoying and I assume will be quite complicated to solve. When word wrapping is activated, the line breaks are inserted at the the position of the unconcealed text

Example : Screenshot from 2021-09-28 11-40-56 Where the line breaks are not consistent when the symbols are concealed But the line breaks are at the right place when the symbols are not concealed Screenshot from 2021-09-28 11-41-26