Re: Find/Replace a 'block' of text in a text file?
Ok i didnt run into that issue, but i see wut may have caused it... I never jumped out of the loop after i found what i wanted to replace..
Changes:
Can now delete a line
Exit loop after choosing to edit or delete a line
The data is now copied to the edit box for easier editing
Data is selected for edit/delete based on line number not value
Split the open file sub-procedure into two. (one to open file, one to write file to screen)
After file is edited it updates on screen (thanks to splitting openfile sub)
Back up is created whenever file is opened for editing
Can create manual backup
Few cosmetic changed
Few other minor stuff...