CodeEditApp / CodeEditSourceEditor

A code editor view written in Swift powered by tree-sitter.
https://codeeditapp.github.io/CodeEditSourceEditor/documentation/codeeditsourceeditor
MIT License
510 stars 78 forks source link

🐞 When changing font size, line heights are not recalculated until view refresh #110

Closed austincondiff closed 1 year ago

austincondiff commented 1 year ago

If you change your font size, lines do not grow with the new size as expected. The lines only reflect the font size change when changing tabs or closing and reopening the file.

ben-p-commits commented 1 year ago

@austincondiff - can we generalize this issue to instead be:

"Changing any code editing preference should automatically update the CodeEditTextView with the changes" ?

I'd be happy to tackle this one as well.

thecoolwinter commented 1 year ago

Closed with #122