pop-os / cosmic-text

Pure Rust multi-line text handling

Home Page:https://pop-os.github.io/cosmic-text/cosmic_text/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

The `prune` parameter to `shape_until_scroll` is not documented

nicoburns opened this issue · comments

The PR introducing the change has some explanation of what the parameter does but the method documentation does not. Ideally I'd like to see a high-level explanation of how the "scroll region" works in cosmic-text (presumably it relates to both the Buffer's height and it's scroll position?) as well as details on the difference between pruning and not pruning.