Notepad, a question or 3

ok I had a nice funny post to go with this question but the squirrels that run the MB ate my post…so

is there a way to use a comand to select line X - line X in notepad?

if not is there a notepad like program that has this comand?

I just spent 12 minutes holding down left click and wiggling my mouse back and forth so I could modify a macro faster…I honestly wonder if it worked. in 12 min I could have done just as much with my smaller copy sample I think.

anyway before I do this again I am hoping for a yes.

“line X - line X”

I’m not sure I follow you correctly, but if you go to the beginning of the line you want to select, hold down shift, and press the down arrow.

I would love to know what exactly this means? All it conjures in my head is an image of someone trying to wind up a computer by swinging the mouse wildly across the desk…

If you wish to join the vi cult, there are several windows vi clones (“Lemmy” is my favorite) that have fairly obscure command that do this sort of thing very, very quickly. Once you get over the learning curve, you’d never settle for notepad again.

-lv

OK, I think I just realized what you’re trying to say…

You want to highlight many lines of text, more than will fit on screen. As you bring your mouse down, it’s autoscrolling quickly, so you move the mouse left and right to make it scroll faster. Right?

If so, keyboard shortcuts are gonna help here. Place the cursor where you want to begin highlighting, hold down shift, and hit “Page Down” until you get into the vicinity, then use the arrow keys to finalize your exact cut.

There’s no way to specifiy a line number in notepad.

That should be “it’s not autoscrolling quickly”

It may depend on which version of Notepad, but version 5 has a goto function. Select Edit -> Go To, or type <Ctrl>G. Of course, you need to know what line number you want to goto, and Notepad doesn’t show line numbers. The Go To function will give you your current line.

And I just realized that the GoTo doesn’t allow you to select text, so Eleusis’s suggestion is the way to go. (Don’t forget <Ctrl><End> and <Ctrl><Home> to jump to the end or the beginning.

Another alternative program that I use is the Semware Editor. I’ve used this program for editing for many years.

I always recommend TextPad for these kinds of things. (Never heard of Semware, so I can’t compare them). Textpad has really nice macro capabilities and such that really facilitate manipulation of text files.

Here’s an alternative way: Place the cursor at the beginning of the section you want to highlight, then use the scroll bar (not PgDn or arrow keys) to scroll down until you can see the end of the section you want to highlight. Then shift-click (hold down shift key and click) at the end of the section.

you guys rule the world without stairs, thanks I forgot about page down and I will check out the other software recomended.

emacs! :stuck_out_tongue:
:wink: