aboutsummaryrefslogtreecommitdiff
path: root/helix-view/src/lib.rs
diff options
context:
space:
mode:
authorGokul Soumya2022-04-08 00:42:57 +0000
committerGitHub2022-04-08 00:42:57 +0000
commit420b5b8301060aa19ecc7d06cb05d0e8e11e570d (patch)
treef7ac6b153d3576d028064dd0a82a56d23519f888 /helix-view/src/lib.rs
parent31c468ab95fe775dc65bef0674ca3c3ec219259f (diff)
Compute style only once per source highlight event (#1966)
During a single HighlightEvent::Source, the highlight spans do not change and we can merge them into a single style at the beginning of the event and use it instead of re-computing it for every grapheme
Diffstat (limited to 'helix-view/src/lib.rs')
0 files changed, 0 insertions, 0 deletions