-
Notifications
You must be signed in to change notification settings - Fork 10
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
Add page marker flags feature #1298
Add page marker flags feature #1298
Conversation
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.
Testing notes:
These notes should also work if "GG1" & "GG2" are swapped above. In summary, in both directions of transfer... |
I found the |
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 didn't go out of my way to try to break things on this one. I think that anyone who uses this should be very aware of when it should and shouldn't be used, because I'm not sure that there's much that can be done to protect the PPer from stupid mistakes (which we all make).
Observation: When testing I made a point of checking the contents of both bin files both before and after saving in the gg version I currently had it open in. My main test was just to add some lines at the top of the file and verify that when I saved, the start location for the second page changed to the new line number. 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 😁).
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) |
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: DistributedProofreaders/guiguts-py#272