[PR #606] [MERGED] feat: position and selection #12643

Closed
opened 2026-03-24 21:41:56 +00:00 by mirror · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/AppFlowy-IO/AppFlowy/pull/606
Author: @vincentdchan
Created: 7/12/2022
Status: Merged
Merged: 7/13/2022
Merged by: @appflowy

Base: feat/flowy_editorHead: feat/flowy_editor


📝 Commits (6)

  • 9c73a8c feat: position and selection
  • 1b0c29e feat: implement editor state operation
  • 2881edd feat: implement text delta operation
  • 8bd748d fix: unit tests
  • f2c477e feat: change attributes map to dynamic
  • de50700 fix: use UnmodifiableListView for OpIterator

📊 Changes

11 files changed (+828 additions, -1 deletions)

View changed files

📝 frontend/app_flowy/packages/flowy_editor/lib/document/node.dart (+1 -1)
📝 frontend/app_flowy/packages/flowy_editor/lib/document/path.dart (+6 -0)
frontend/app_flowy/packages/flowy_editor/lib/document/position.dart (+27 -0)
frontend/app_flowy/packages/flowy_editor/lib/document/selection.dart (+27 -0)
frontend/app_flowy/packages/flowy_editor/lib/document/text_delta.dart (+415 -0)
frontend/app_flowy/packages/flowy_editor/lib/document/text_node.dart (+13 -0)
frontend/app_flowy/packages/flowy_editor/lib/editor_state.dart (+31 -0)
frontend/app_flowy/packages/flowy_editor/lib/operation/operation.dart (+58 -0)
frontend/app_flowy/packages/flowy_editor/lib/operation/transaction.dart (+6 -0)
frontend/app_flowy/packages/flowy_editor/test/delta_test.dart (+175 -0)
📝 frontend/app_flowy/packages/flowy_editor/test/flowy_editor_test.dart (+69 -0)

📄 Description

This PR is implementing the position and selection part of the flowy_editor.

@LucasXu0


🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.

## 📋 Pull Request Information **Original PR:** https://github.com/AppFlowy-IO/AppFlowy/pull/606 **Author:** [@vincentdchan](https://github.com/vincentdchan) **Created:** 7/12/2022 **Status:** ✅ Merged **Merged:** 7/13/2022 **Merged by:** [@appflowy](https://github.com/appflowy) **Base:** `feat/flowy_editor` ← **Head:** `feat/flowy_editor` --- ### 📝 Commits (6) - [`9c73a8c`](https://github.com/AppFlowy-IO/AppFlowy/commit/9c73a8cd9ab86e931d796a1df31c3d7ae79bfaa7) feat: position and selection - [`1b0c29e`](https://github.com/AppFlowy-IO/AppFlowy/commit/1b0c29ea09ac8b5a9e702bd332c18cba6feb7256) feat: implement editor state operation - [`2881edd`](https://github.com/AppFlowy-IO/AppFlowy/commit/2881edd50529c3e2bd8fda4b4552feeb73d18618) feat: implement text delta operation - [`8bd748d`](https://github.com/AppFlowy-IO/AppFlowy/commit/8bd748d7cd614a1f88b49e4c69f6e6580774cc45) fix: unit tests - [`f2c477e`](https://github.com/AppFlowy-IO/AppFlowy/commit/f2c477e89feb0905bb0ece8ecb5a090f8cec64a8) feat: change attributes map to dynamic - [`de50700`](https://github.com/AppFlowy-IO/AppFlowy/commit/de507001f4c54b0d4727094aec6415d37eb00471) fix: use UnmodifiableListView for OpIterator ### 📊 Changes **11 files changed** (+828 additions, -1 deletions) <details> <summary>View changed files</summary> 📝 `frontend/app_flowy/packages/flowy_editor/lib/document/node.dart` (+1 -1) 📝 `frontend/app_flowy/packages/flowy_editor/lib/document/path.dart` (+6 -0) ➕ `frontend/app_flowy/packages/flowy_editor/lib/document/position.dart` (+27 -0) ➕ `frontend/app_flowy/packages/flowy_editor/lib/document/selection.dart` (+27 -0) ➕ `frontend/app_flowy/packages/flowy_editor/lib/document/text_delta.dart` (+415 -0) ➕ `frontend/app_flowy/packages/flowy_editor/lib/document/text_node.dart` (+13 -0) ➕ `frontend/app_flowy/packages/flowy_editor/lib/editor_state.dart` (+31 -0) ➕ `frontend/app_flowy/packages/flowy_editor/lib/operation/operation.dart` (+58 -0) ➕ `frontend/app_flowy/packages/flowy_editor/lib/operation/transaction.dart` (+6 -0) ➕ `frontend/app_flowy/packages/flowy_editor/test/delta_test.dart` (+175 -0) 📝 `frontend/app_flowy/packages/flowy_editor/test/flowy_editor_test.dart` (+69 -0) </details> ### 📄 Description This PR is implementing the position and selection part of the flowy_editor. @LucasXu0 --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
mirror 2026-03-24 21:41:56 +00:00
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
AppFlowy-IO/AppFlowy#12643
No description provided.