linebender / linebender/parley
Output effects from PlainEditorDriver actions (for undo, etc.)
Nobody has claimed this yet.
- Dominant language
- Rust
- Stars
- 736
- Forks
- 120
- Avg merge
- 1d 3h
- Merged PRs (30d)
- 53
Description
Currently, PlainEditorDriver's actions like `delete_word` don't return any information about what action was performed. It would be useful if these functions returned, at the very least, the position and text/range deleted by this action. This would allow recording of reversibility information for an undo stack.
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start by locating PlainEditorDriver and its actions, especially delete_word, then inspect their current return types and callers. Determine a consistent output containing the performed action's position and deleted text or range; the work is done when the relevant actions expose enough information to record reversibility for an undo stack.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- rust
- Domain
- frontend
- Issue type
- Feature
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Quiet
- Clarity
- Mostly clear
- Newbie friendliness
- 45/100