Repository navigation
Fix/local history bugs - #60
Closed
ChenZhenIO wants to merge 15 commits into
Closed
ChenZhenIO wants to merge 15 commits into
ChenZhenIO wants to merge 15 commits into
Conversation
Scope focus-only caret reveal suppression to editor fields, retain the last editing target across desktop suspension, and preserve precise content-relative viewport sessions. Guard stale focus and scroll restoration, retain table ranges, and handle unpainted retained-table geometry. Add Linux lifecycle, selection/session/Source/workspace regressions and isolated native focus acceptance tools. Retain verification evidence and limitations in the development report.
Bound typing transactions by monotonic age and accumulated size, and give editor sessions distinct group identities. Route document field actions through the shared history, including exhausted operations. Reconcile accepted source and editing positions independently of parent frames, reject retired asynchronous publications, and retain displaced content at whole-document replacement boundaries. Protect each distinct pre-traversal source with independent retained recovery work. Add deterministic, application, persistence and native GTK regressions, and document the durability boundary.
Use the production workspace controller with memory stores for both fifteen-minute editor regressions. Dispatch Ctrl+Z and Ctrl+Shift+Z and compare shared source, visible controllers, historical Source caret and live rich serialization. The original grouping still fails both unchanged group-bound assertions.
Share position-aware split ownership for physical Enter and newline input, preserve heading identity and authored state, retain list subtrees, and stage rejected selection edits atomically. Preserve zero-width inline objects and enclosing formatting, correct nested checkbox ownership and empty-task serialization, and reject read-only structural history changes. Validate source rebinding, undo and save/reopen through production parser, widget, workspace and isolated native Linux regressions. Record failing-before/passing-after evidence, complete suite and release-build verification, and native acceptance results in the development report.
Restore semantic anchors for hard-break and blank-line commands using the actual clamped insertion offset and length instead of an ambiguous text diff. Keep existing object boundary affinity and other editing paths unchanged. Cover existing and consecutive breaks, multiple formatted images, object boundaries, publication, local and workspace history, and real saved-file reopening. Retain controller, widget and isolated native Linux failing-before/passing-after evidence and document the pre-existing spelling deadline failure in the broader suite.
Fix/history reset bug
Preserve document-owned history, immediate traversal synchronization and bounded grouping alongside editor focus, selection and viewport restoration. Keep regression coverage from both parents and repair reproduced integration failures in scroll-hook ownership, pre-edit snapshots and rejected-edit history. Retain command focus for non-editable selection endpoints without frame retries. Document the full-suite, pinned Linux build and isolated native verification.
Fix/editor view
…fety * Implement `LocalHistoryBatchReader` in `FileLocalHistoryStore` to batch read revisions and optimize search performance. * Persist document identities independently in `documents.json` and improve unindexed capture handling during index recovery. * Add `_LocalHistoryLossProtection` checks to guard entity deletions and external replacements against concurrent disk changes. * Refactor local history restore flows in comparison and workspace controllers with recovery state tracking, workspace navigation prompts, and final newline policy matching. * Observe external and authoritative note replacements separately using `LocalHistoryCaptureReason.externalChange`.
…8 decoding failure
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
No description provided.