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

Indented heredoc injection editing fails #2894

Open
hurricup opened this issue Sep 3, 2024 · 0 comments
Open

Indented heredoc injection editing fails #2894

hurricup opened this issue Sep 3, 2024 · 0 comments

Comments

@hurricup
Copy link
Collaborator

hurricup commented Sep 3, 2024

  1. Create indented heredoc with html injection
  2. Use intention to edit html fragment
  3. try to type something

Exp: Changing text should be reflected in heredoc
Act: editor window closes immediatelly with an error

@hurricup hurricup added this to the 2024.2.2 milestone Sep 3, 2024
hurricup added a commit that referenced this issue Sep 14, 2024
Editor is not closed but updated text is wrong
hurricup added a commit that referenced this issue Sep 15, 2024
- No fancy indentation adjustments.
- One line updates will work by themselves, because injection is already indented
- One line to multiline updates are now properly indented
- Added tests
hurricup added a commit that referenced this issue Sep 15, 2024
hurricup added a commit that referenced this issue Sep 15, 2024
hurricup added a commit that referenced this issue Sep 15, 2024
hurricup added a commit that referenced this issue Sep 23, 2024
@hurricup hurricup modified the milestones: 2024.2.2, 2024.2.3 Sep 23, 2024
@hurricup hurricup modified the milestones: 2024.2.3, 2024.2.4 Oct 20, 2024
@hurricup hurricup modified the milestones: 2024.2.4, 2024.3.1 Nov 17, 2024
@hurricup hurricup modified the milestones: 2024.3.1, 2025.1 Dec 15, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant