edbee / edbee-lib

QWidget based Text Editor Component for Qt. Multi-caret, Textmate grammar and highlighting support.
Other
74 stars 25 forks source link

`TextRenderer::lineHeight()` should be cached #105

Open gamecreature opened 4 years ago

gamecreature commented 4 years ago

Thanks! Something I noticed in the lineHegiht() code is a comment of caching the value. I think that would be a good idea indeed :)

Originally posted by @emoon in https://github.com/edbee/edbee-lib/issues/103#issuecomment-664773994