MarkdownDocument: one caret for every mode, pressed blocks kept across write-backs, preview read only, keyboard reach, history capped on every path
Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
This commit is contained in:
1 parent
2b6f5513aa
commit
fc181b44c2
13 files changed
+590
-242
No files matched your search
@@ -336,6 +336,7 @@ impl CodeEditor {
|
||||
}
|
||||
if let Some(previous) = self.history.undo(self.snapshot()) {
|
||||
self.restore(previous, cx);
|
||||
self.cap_history();
|
||||
}
|
||||
}
|
||||
|
||||
@@ -345,6 +346,7 @@ impl CodeEditor {
|
||||
}
|
||||
if let Some(next) = self.history.redo(self.snapshot()) {
|
||||
self.restore(next, cx);
|
||||
self.cap_history();
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user