DistributedProofreaders / guiguts

Perl/Tk text editor designed for editing and formatting public domain material for inclusion at Project Gutenberg
GNU General Public License v2.0
9 stars 10 forks source link

Trap AutoIndex bug when no lines to process #1280

Closed windymilla closed 11 months ago

windymilla commented 11 months ago

Attempting to run HTML -> AutoIndex when there are no non-blank lines before the end of file, e.g. on empty file, caused an infinite loop

windymilla commented 11 months ago

Testing notes: Run HTML -> AutoIndex on an empty file, or when cursor is at end of file.