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

Pasting partial multiline expression code into Console doesn't move cursor to end #3593

Open
timtmok opened this issue Jun 19, 2024 · 1 comment
Assignees
Labels
area: console Issues related to Console category. bug Something isn't working

Comments

@timtmok
Copy link
Contributor

timtmok commented Jun 19, 2024

Positron Version:

Positron Version: 2024.06.0 (Universal) build 770
Code - OSS Version: 1.90.0
Commit: 5d79ea6
Date: 2024-06-14T05:53:04.122Z
Electron: 29.4.0
Chromium: 122.0.6261.156
Node.js: 20.9.0
V8: 12.2.281.27-electron.0
OS: Darwin arm64 23.4.0

Steps to reproduce the issue:

  1. Copy a multiline expression but not the entire expression
  2. Paste it into the console

For example:

ggplot(
  data = penguins,
  mapping = aes(x = flipper_length_mm, y = body_mass_g)
) +
Screen.Recording.2024-06-19.at.10.36.53.AM.mov

What did you expect to happen?

The cursor should move to the end so that pressing Enter will run it and be ready to paste the next part of the expression.

Were there any error messages in the output or Developer Tools console?

none

@timtmok timtmok added bug Something isn't working area: console Issues related to Console category. labels Jun 19, 2024
@petetronic petetronic added this to the Release Candidate milestone Jun 20, 2024
@softwarenerd softwarenerd self-assigned this Jan 24, 2025
@softwarenerd
Copy link
Contributor

softwarenerd commented Jan 25, 2025

I've addressed this issue, and several other issues I found, in #6125.

Additionally, I worked up a little spec of how paste should work here:
https://docs.google.com/document/d/1j3Wrxee0GZbULUO25DhooJDYHdnThLtAXx88tnzSJWA/edit?usp=sharing

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area: console Issues related to Console category. bug Something isn't working
Projects
None yet
Development

No branches or pull requests

5 participants