mirror of
https://github.com/xiaoqidun/ofdgo.git
synced 2026-10-29 08:46:55 +08:00
1 parent
52d7b6aa64
commit
10e724d57f
13 files changed
+127
-46
No files matched your search
@@ -333,7 +333,7 @@ func (e *Editor) editDocumentsContext(ctx context.Context, edit func(*Reader, []
|
||||
}
|
||||
before := e.transactionSnapshot()
|
||||
reader.documentIndex, reader.doc = index, nil
|
||||
if err := reader.initRoot(); err != nil {
|
||||
if err := reader.initRootContext(ctx); err != nil {
|
||||
return err
|
||||
}
|
||||
current := reader.OFD.DocBody[index]
|
||||
|
||||
Reference in new issue
Block a user