Skip to content

Add Switch File button to ppcomp dialog#1726

Merged
windymilla merged 1 commit intoDistributedProofreaders:masterfrom
windymilla:ppcomp-switch
Feb 14, 2026
Merged

Add Switch File button to ppcomp dialog#1726
windymilla merged 1 commit intoDistributedProofreaders:masterfrom
windymilla:ppcomp-switch

Conversation

@windymilla
Copy link
Collaborator

  1. Saves the messages currently visible in the ppcomp dialog. Does not save messages that have been hidden.
  2. Switches which file is loaded: HTML or text
  3. Re-creates the dialog
  4. Populates the dialog with the saved messages, but swapping display of text and HTML line numbers
  5. Re-selects the same message that was selected before

Fixes #1725

1. Saves the messages currently visible in the ppcomp dialog.
Does not save messages that have been hidden.
2. Switches which file is loaded: HTML or text
3. Re-creates the dialog
4. Populates the dialog with the saved messages, but
swapping display of text and HTML line numbers
5. Re-selects the same message that was selected before

Fixes DistributedProofreaders#1725
@tjeffress
Copy link
Collaborator

tjeffress commented Feb 14, 2026

Ideally we wouldn't need to close and re-open the ppcomp window each time we switch files, but since it's saving the content and re-opening, it achieves the goal of having the ability to switch files and still have the content available. I tried several different file sets and didn't experience any issues.

I especially like that the highlight colors were added to the color palette in the settings because I've always used ppcomp with the text file first and HTML second, so I'm used to the HTML being green and the text being purple. But since I can switch the colors, I don't have to retrain my brain to the color meanings.

@windymilla windymilla merged commit d44dd54 into DistributedProofreaders:master Feb 14, 2026
1 check passed
@windymilla windymilla deleted the ppcomp-switch branch February 14, 2026 18:56
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Add "Switch Files" button to ppcomp

4 participants