GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — Add cursorOffset to Playground by thorn0 · Pull Request #15751 · prettier/prettier

Conversation

@thorn0

@thorn0 thorn0 commented Dec 4, 2023

Copy link
Copy Markdown
Member

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✨

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

fisker reacted with thumbs up emoji
All reactions
  • 👍 1 reaction
thorn0 added 2 commits December 5, 2023 01:30
@thorn0
Add cursorOffset to Playground
d945e17
@thorn0
Fix
52159d2
fisker
fisker approved these changes Dec 5, 2023
View reviewed changes
@fisker

fisker commented Dec 5, 2023 •
edited
Loading

Uh oh!

There was an error while loading. Please reload this page.

Copy link
Copy Markdown
Member

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

thorn0 reacted with thumbs up emoji
All reactions
  • 👍 1 reaction

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

@thorn0
Clear input instead of showing -1
e3232d3
sosukesuzuki
sosukesuzuki approved these changes Dec 7, 2023
View reviewed changes
@thorn0
Hide extra controls when option undefined
eda99c4
@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
@thorn0 @medikoo
Add cursorOffset to Playground (prettier#15751)
6d5b6e4
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Reviewers

@fisker fisker fisker approved these changes
@sosukesuzuki sosukesuzuki sosukesuzuki approved these changes

Uh oh!

There was an error while loading. Please reload this page.

Assignees

No one assigned

Labels

None yet

Projects

None yet

Milestone

No milestone

Development

Successfully merging this pull request may close these issues.

Uh oh!

There was an error while loading. Please reload this page.

3 participants

@thorn0 @fisker @sosukesuzuki
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
You are visitor 01402775 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.