Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Limit _get_date_under_cursor to parsing current line #797

Closed
wants to merge 1 commit into from

Conversation

KnBrckr
Copy link

@KnBrckr KnBrckr commented Aug 18, 2024

To retrieve a date under the cursor, limit the scope to the current line. Parse all dates on the line, then filter the table to retrieve the member containing the cursor.

Addresses the TODO that would fail to return the correct entry when multiple are found on a given line.

Closes #796

To retrieve a date under the cursor, limit the scope to the current
line. Parse all dates on the line, then filter the table to retrieve
the member containing the cursor.

Addresses the TODO that would fail to return the correct entry when
multiple are found on a given line.
kristijanhusak added a commit that referenced this pull request Aug 19, 2024
@kristijanhusak
Copy link
Member

I fixed the underlying issue in d0baf31 so this PR is not needed any more. Thanks!

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

Successfully merging this pull request may close these issues.

ctrl-a/ctrl-x do not reliably modify dates
2 participants