Skip to content

fix(editor): sync replacement untitled file state#2483

Merged
bajrangCoder merged 2 commits into
mainfrom
fix/untitled-editor-state
Jul 12, 2026
Merged

fix(editor): sync replacement untitled file state#2483
bajrangCoder merged 2 commits into
mainfrom
fix/untitled-editor-state

Conversation

@bajrangCoder

Copy link
Copy Markdown
Member

No description provided.

@greptile-apps

greptile-apps Bot commented Jul 12, 2026

Copy link
Copy Markdown
Contributor

Greptile Summary

This PR fixes editor state syncing for replacement untitled files. The main changes are:

  • Reapplies editor content when the active file pointer is resynced.
  • Shows the editor container on the resync path.
  • Refreshes vertical and horizontal scrollbar state after reapplying the file.

Confidence Score: 5/5

This looks safe to merge.

  • No blocking issues found in the changed code.

Important Files Changed

Filename Overview
src/lib/editorManager.js Updates the active-pane resync path to reapply editor state and refresh scrollbar values.

Reviews (2): Last reviewed commit: "fix" | Re-trigger Greptile

Comment thread src/lib/editorManager.js
@bajrangCoder

This comment was marked as outdated.

@bajrangCoder bajrangCoder merged commit 0ebddff into main Jul 12, 2026
10 checks passed
@github-project-automation github-project-automation Bot moved this from Backlog to Done in The Code Board - Acode Jul 12, 2026
@bajrangCoder bajrangCoder deleted the fix/untitled-editor-state branch July 12, 2026 06:41
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

Status: Done

Development

Successfully merging this pull request may close these issues.

1 participant