Skip to content

Add cursorOffset to Playground#15751

Merged
thorn0 merged 4 commits intoprettier:mainfrom
thorn0:playground-cursor-offset
Dec 8, 2023
Merged

Add cursorOffset to Playground#15751
thorn0 merged 4 commits intoprettier:mainfrom
thorn0:playground-cursor-offset

Conversation

@thorn0
Copy link
Copy Markdown
Member

@thorn0 thorn0 commented Dec 4, 2023

Description

Checklist

  • I’ve added tests to confirm my change works.
  • (If changing the API or CLI) I’ve documented the changes I’ve made (in the docs/ directory).
  • (If the change is user-facing) I’ve added my changes to changelog_unreleased/*/XXXX.md file following changelog_unreleased/TEMPLATE.md.
  • I’ve read the contributing guidelines.

Try the playground for this PR

@fisker
Copy link
Copy Markdown
Member

fisker commented Dec 5, 2023

Small issue, if the value of cursorOffset is -1, can't delete 1 from the end.

@thorn0 thorn0 merged commit 39e4e7b into prettier:main Dec 8, 2023
@thorn0 thorn0 deleted the playground-cursor-offset branch December 8, 2023 14:34
medikoo pushed a commit to medikoo/prettier-elastic that referenced this pull request Feb 16, 2024
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.

3 participants