Closed windymilla closed 5 months ago
Testing notes:
These notes should also work if "GG1" & "GG2" are swapped above.
In summary, in both directions of transfer... Immediately before saving, Add Page Markers, and immediately after loading, Remove Page Markers (only if the editor is a version of Guiguts, of course, or it won't have those options).
I found the File->Set Page Markers
option in GG1 confusing, but remembered to look it up in the manual. Is this something that just won't be implemented in GG2, or is that something else we need to open an issue about?
I found the
File->Set Page Markers
option in GG1 confusing, but remembered to look it up in the manual. Is this something that just won't be implemented in GG2, or is that something else we need to open an issue about?
I don't think we need it in GG2. Our new page marker flags remove any need that there may have been in the past. Historically, there is a Pref in GG1 that lets you not set the page markers when you first load a file, and then you would have had to use that menu option to set them later. I wonder if many versions ago, that was the only way of setting page markers, then someone added the feature to auto-set them when the file was loaded (also adding a Pref to keep the old-old-timers happy)
It worked as expected for me, but it probably should be documented that until a save is done, the
bin
/json
files won't be updated (unless, of course, that's pounded into PPers' heads much earlier in the process 😁).
However, if you don't do a save, then the changes you've made to the file itself won't be updated, so you've just loaded a file and done nothing to it (or discarded your changes). So, I don't think there would be any need to save the json file in that circumstance.
It worked as expected for me, but it probably should be documented that until a save is done, the
bin
/json
files won't be updated (unless, of course, that's pounded into PPers' heads much earlier in the process 😁).However, if you don't do a save, then the changes you've made to the file itself won't be updated, so you've just loaded a file and done nothing to it (or discarded your changes). So, I don't think there would be any need to save the json file in that circumstance.
Good point.
This feature is in GG2, and allows editing in a different editor without losing the page break positions.
In particular, swapping between GG1 & GG2 should be easy, but any other editor is OK too.
Linked with GG2 PR: https://github.com/DistributedProofreaders/guiguts-py/pull/272