Large Files and Word Wrap and Search
Moderators: AmigoJack, bbadmin, helios, Bob Hansen, MudGuard
-
- Posts: 4
- Joined: Mon May 03, 2004 8:49 pm
Large Files and Word Wrap and Search
I've been working at my company since 2006, and I keep a daily log in Textpad. It's nice, because I can search it, and it will show me passwords and hostname for a host that I connected to for a client years ago, or what I used to solve a certain issue, or whatever. Right now it is 48,787 lines long, and I use Word Wrap. When I do searches now, sometimes the search won't find the right spot in the file, and I'll have to scroll up or down to find it. It'll work if it isn't word wrapped, but when I wrap it doesn't work anymore. I think it worked fine when I had 45,000 lines or fewer. Anyway... Any suggestions to resolve? Seems like maybe I should make a bug report, except I don't want to share this file, though I could troubleshoot or debug on my end if needed...
Does it really "not work" as in "the search finds nothing"? Or does the search find something, but you just don't see the any highlighted selection? In the latter case just press UP or DOWN or LEFT or RIGHT, because the text cursor is surely right next to the found text, but outside the current viewport.
-
- Posts: 4
- Joined: Mon May 03, 2004 8:49 pm
Yes; you are right... it works, but my viewpoint is nowhere near the found search term.AmigoJack wrote:Does it really "not work" as in "the search finds nothing"? Or does the search find something, but you just don't see the any highlighted selection? In the latter case just press UP or DOWN or LEFT or RIGHT, because the text cursor is surely right next to the found text, but outside the current viewport.
Your workaround is a good one, I'm surprised I didn't think of that. I think that'll be good enough for me.
Thank you AmigoJack
I keep log files too, but I split them by date to keep the size down
- at work I often paste in whole chunks of console session files, so they can get large very quickly -- so they are split by DAY -- log-20200703.txt etc.
- at home they are less bulky so are split by month -- log-202007.txt etc.
I then have some simple batch / bash files to search them in various ways.
I also have textpad macros to load the current log file and also to invoke the batch files, but that is a step too far for here ...
- at work I often paste in whole chunks of console session files, so they can get large very quickly -- so they are split by DAY -- log-20200703.txt etc.
- at home they are less bulky so are split by month -- log-202007.txt etc.
I then have some simple batch / bash files to search them in various ways.
I also have textpad macros to load the current log file and also to invoke the batch files, but that is a step too far for here ...