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

Handle if caret is after the end offset of the buffer #36

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

picimako
Copy link
Contributor

@picimako picimako commented Mar 7, 2023

Changes

  • Added a condition to not show a snippet preview if the caret offset happens to be after the end of the current text buffer.

@github-actions
Copy link

github-actions bot commented Mar 7, 2023

Test Results

    1 files  ±0    30 suites  ±0   9s ⏱️ -1s
273 tests ±0  265 ✔️ ±0  8 💤 ±0  0 ±0 
278 runs  ±0  270 ✔️ ±0  8 💤 ±0  0 ±0 

Results for commit fc17d16. ± Comparison against base commit 3171c01.

♻️ This comment has been updated with latest results.

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.

1 participant