View Single Post
Old 03-26-2018, 02:59 AM   #5
nqk
Fanatic
nqk does all things with Zen-like beautynqk does all things with Zen-like beautynqk does all things with Zen-like beautynqk does all things with Zen-like beautynqk does all things with Zen-like beautynqk does all things with Zen-like beautynqk does all things with Zen-like beautynqk does all things with Zen-like beautynqk does all things with Zen-like beautynqk does all things with Zen-like beautynqk does all things with Zen-like beauty
 
Posts: 564
Karma: 32228
Join Date: Feb 2012
Device: Onyx Boox Leaf
If the Browser Viewer, in the future, will support annotations, which can be exported to a list, something like
text 1=text I;
text 2=text II;
text 3=text III;
text n=text N;

I think we can use Regex Function and Saved Searches to do a batch replacement in Editor. I don't know anything about Python functions but I can make use of existing shared codes to convert the above list to a saved-searches file, which can be imported. It is now cumbersome, but at least it is faster than manually find and replace one by one.

Of course it would be best, I think, if the Browser Viewer and/or Viewer can export the list to .json format which can be directly imported to Editor for use (and then be removed)

Last edited by nqk; 03-26-2018 at 03:35 AM.
nqk is offline   Reply With Quote