Using Edit Pad Pro, I want to delete about 100,000 lines from the end of a text file to reduce the size of the file to less than 2GB. I have identified a unique line number at which I want to divide the file, preserving from the beginning of the file to that line number, and discarding the remaining lines to the end of the file. In Edit Pad Pro, I have defined a block that begins at the point of deletion and ends at the end of the file using commands on the Block menu. The block is identified by an orange vertical line at the left margin. Despite that selection, the “delete” command does not do anything, whether I select “Delete” from the “Edit menu”, use the keyboard “delete” key or use the keyboard “Backspace” key which deletes text in other applications.
Would someone mentor me how to swiftly delete a block of text using that editor? Scrolling and deleting manually works, but for more than 100,000 lines, I would like to have an elegant solution.
Tom Luikens