Skip to content
This repository has been archived by the owner on Aug 6, 2023. It is now read-only.

Add TableState.offset(&self) -> usize #481

Closed
wants to merge 1 commit into from
Closed

Conversation

arennow
Copy link

@arennow arennow commented May 20, 2021

Description

Add simple getter method to TableState that returns a copy of its offset field.

My motivating case is a program that allows scrolling a Table and an adjacent (related) Paragraph at the same time

Testing guidelines

I don't know that any testing is useful here since it only exposes an existing piece of data.

Checklist

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants