-
-
Notifications
You must be signed in to change notification settings - Fork 1.4k
Exporter: selected files #10453
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Exporter: selected files #10453
Conversation
plugins/exporter.koplugin/main.lua
Outdated
@@ -171,6 +171,18 @@ function Exporter:exportAllNotes() | |||
self:exportClippings(clippings) | |||
end | |||
|
|||
function Exporter:exportFilesNotes(files) | |||
-- @table files {[file_path] = true} |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The comment is intended to explain the type/structure of the argument.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I'd prefer if you made it a regular ldoc comment above the definition. People copy things. ;-)
I don't have time to look into it atm but just leaving a note that that last commit seems to have made the docs unhappy. :-) |
Don't know exactly what breaks the docs; koreader/plugins/exporter.koplugin/main.lua Lines 176 to 178 in 3d57752
Maybe brackets? |
Possibly, try to put that section between |
If anybody should wonder in the future, fixed in #10465 |
Thanks! |
Export highlights for selected files.
Having a button "Select all files in folder", it is easy to export the whole folder.
So, closes #10402.
To keep even number of buttons, added a feature "Show selected files list". May be useful to check selections before an operation. Just a sorted list, no titlebar or popup menu, tapping a file jumps to its folder.
This change is