Skip to content

Fix programmatic cursor position updates - #380

Open
gerardp wants to merge 1 commit into
CodeEditApp:mainfrom
gerardp:fix/377-programmatic-cursor-positions
Open

Fix programmatic cursor position updates#380
gerardp wants to merge 1 commit into
CodeEditApp:mainfrom
gerardp:fix/377-programmatic-cursor-positions

Conversation

@gerardp

@gerardp gerardp commented Aug 31, 2026

Copy link
Copy Markdown

Description

Fixes programmatic cursor updates by comparing the requested SourceEditorState.cursorPositions with the controller's current cursor positions instead of comparing the state value with itself.

Adds a focused regression test that moves the controller cursor through a state update.

Related Issues

Checklist

  • I read and understood the contributing guide as well as the code of conduct
  • The issues this PR addresses are related to each other
  • My changes generate no new warnings
  • My code builds and runs on my machine
  • My changes are all related to the related issue above
  • I documented my code

Screenshots

Not applicable; this fixes state synchronization without changing the UI.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

1 participant