DistributedProofreaders / guiguts-py

Guiguts rewrite using Python/tkinter
GNU General Public License v2.0
2 stars 7 forks source link

Tools=>pptxt has many duplicate lines #311

Open okrick opened 3 months ago

okrick commented 3 months ago

For example, in the character check section, I see:

'' (7) 741.18: 741.26: 741.34: 741.42: 741.50: 1313.19: Justice & Compan [?] in p’tecting the fatherles shalbe argum^{ts} 1313.21: Justice & Compan [?] in p’tecting the fatherles shalbe argum^{ts}

I notice the program is not counting duplicates when deciding where it has reported 5 lines followed by a ...more line.

In the PP Workbench pptxt, this is condensed to two lines:

'' 739: 1311: Justice & Compan [?] in p’tecting the fatherles shalbe argum^{ts}

G4OEU commented 3 months ago

Unlike PPTXT on the PPWB, the GG2 PPTXT accurately reports the 'line.col' position of the start of any anomaly it finds on a line. Strictly speaking these are not duplicate messages as each refers to a different position on that line so are a different 'error'. PPTXT is being consistent here with the way it reports apparent errors in other sections.

This issue needs further discussion/consideration before any changes are made.