Skip to content

refactor(input): extract EditPipeline from input views (iOS & Android)#589

Merged
hryhoriiK97 merged 1 commit into
mainfrom
hryhoriiK97/extract-edit-pipeline
Jul 25, 2026
Merged

refactor(input): extract EditPipeline from input views (iOS & Android)#589
hryhoriiK97 merged 1 commit into
mainfrom
hryhoriiK97/extract-edit-pipeline

Conversation

@hryhoriiK97

Copy link
Copy Markdown
Collaborator

What/Why?

Move the per-keystroke text-change processing sequence (store adjustment, orphan pruning, block continuation, pending styles, formatting, and detection) into a dedicated EditPipeline class on each platform. The views now build an immutable EditContext and delegate to the pipeline, keeping only UI-specific post-processing (formatting on iOS, scroll/cursor sync, event emission on Android stays in the pipeline).

Pure structural extraction - no behavioral changes.

Testing

PR Checklist

  • Code compiles and runs on iOS
  • Code compiles and runs on Android
  • Updated documentation/README if applicable
  • Ran example app to verify changes
  • E2E tests are passing
  • Required E2E tests have been added (if applicable)

Move the per-keystroke text-change processing sequence (store adjustment,
orphan pruning, block continuation, pending styles, formatting, and
detection) into a dedicated EditPipeline class on each platform. The views
now build an immutable EditContext and delegate to the pipeline, keeping
only UI-specific post-processing (formatting on iOS, scroll/cursor sync,
event emission on Android stays in the pipeline).

Pure structural extraction — no behavioral changes.

Co-authored-by: Cursor <cursoragent@cursor.com>
@hryhoriiK97
hryhoriiK97 merged commit 2c30f86 into main Jul 25, 2026
9 checks passed
@hryhoriiK97
hryhoriiK97 deleted the hryhoriiK97/extract-edit-pipeline branch July 25, 2026 21:44
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant