Closed HCui91 closed 1 month ago
const auto short_line = object->auxdata<std::vector<float>>("AuxDataKey")
const auto long_line = a_long_object->auxdata<std::vector<float>>("AuxDataKeyLongLongLong")
const auto long_line = a_long_object
->auxdata<std::vector<float>>("AuxDataKeyLongLongLong")
Thank you for the report.
However, according to my investigation, it seems to be an issue on the JetBrains front side (or TextKit-side). For instance, Fira Code, another font for coding with symbol ligatures, renders as expected in the current CotEditor.
I also looked for a workaround for JetBrains Mono but couldn't find an efficient way to avoid line breaking only for ligatured glyphs.
Description
CotEditor seemed to separate "-" and ">" when wrapping lines. For fonts like JetBrains Mono, it would render
->
as a whole. Therefore, the arrow is not rendered and it left a single>
on the second line.To Reproduce
->
in a language using the monospaced font, e.g. C++.->
if the line is wrapped.Expected behavior
Maybe avoid separating
->
when changing the line. Did not fix using Format -> Syntaxes -> C++...CotEditor version
5.0.2 (680)
macOS version
15.0
Additional context
No response