mirror of
https://github.com/xiaoqidun/ofdgo.git
synced 2026-10-29 15:06:46 +08:00
1 parent
5d599dc835
commit
290fc57c34
17 files changed
+220
-38
No files matched your search
@@ -33,6 +33,9 @@ func (e *Editor) Annotations(index int) ([]AnnotationInfo, error) {
|
||||
if e.source == nil {
|
||||
return nil, nil
|
||||
}
|
||||
if _, err := e.source.reader.Doc(); err != nil {
|
||||
return nil, err
|
||||
}
|
||||
return e.source.reader.annotationInfos(index, e.pages[index].ID), nil
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user