add comment explaining offsets
This commit is contained in:
parent
f20e3f35a1
commit
9cec6d8d65
1 changed files with 2 additions and 0 deletions
|
@ -848,6 +848,8 @@ struct ClipboardSelection {
|
||||||
}
|
}
|
||||||
|
|
||||||
pub struct NavigationData {
|
pub struct NavigationData {
|
||||||
|
// Matching offsets for anchor and scroll_top_anchor allows us to recreate the anchor if the buffer
|
||||||
|
// has since been closed
|
||||||
anchor: Anchor,
|
anchor: Anchor,
|
||||||
offset: usize,
|
offset: usize,
|
||||||
scroll_position: Vector2F,
|
scroll_position: Vector2F,
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue