Highlight Active Row

General questions about using TextPad

Moderators: AmigoJack, bbadmin, helios, Bob Hansen, MudGuard

Post Reply
geoffrey

Highlight Active Row

Post by geoffrey »

Is there a way to highlight the row that I am typing on. In many of my script files the rows go beyond the margins on the screen and this highlight would be very helpful. (Word wrap is not an option; it would make it even more difficult to read).

Thanks!
robbage

RE: Highlight Active Row

Post by robbage »

Click the left side of the group of characters you want to highlight, while holding the left mouse button down, drag to the right until you have highlighted all the characters required. Or drag down one line (keep the pointer as far left as possible) to highlight the whole line.

Alternatively, use the keyboard to move the cursor to the left side of the group of characters you want to highlight, while holding the shift key down, press the right-cursor key to highlight the characters required OR press the down-cursor key to highlight the whole line.

The method I usually use to highlight the whole of one line is to move the cursor to the start of the line, then press shift and while still pressing shift, press the cursor-down key. Note that this won't work while you are in 'Block Select' mode (thats the first item in the 'Configure' menu.
robbage

RE: Highlight Active Row

Post by robbage »

Thanks for your email explanation :) It doesn't appear that textpad supports this feature yet but it sounds like a good idea. The best text editor on Amiga has this feature, and the best (IMHO) DOS text editor also does it.
Basically what you want is a feature that visually highlights the line that the cursor is on to make easier reading.
Andreas

RE: Highlight Active Row

Post by Andreas »

There are several ways to highlight a complete line:
- double click in the left margin
- press End, then Shift-Pos1 (if you want to highlight indention characters as well press Shift-Pos1 again)
- you could assign the command "SelectLine" to a key (to do this: Configure/Preferences, select "keyboard" in tree, select "selection" in categories, select "SelectLine" in commands, then assign the key you want to use).

If you just want to cut or copy the current line, there is also Edit/Cut Other/Line or Edit/Copy Other/Line

HTH
Andreas
Nino

RE: Highlight Active Row

Post by Nino »

I too would like to see this feature (I know that UltraEdit 32 has it). Even just having one of the blue arrows on the left would be great.

-Nino
Sparkplug

RE: Highlight Active Row

Post by Sparkplug »

You can get a blue arrow on the left by right-clicking on the line and selecting toggle bookmark or pressing CTRL-F2. The current line will then stay marked while you edit another part of the file. You can then go back to the bookmark by pressing SHIFT-F2.

It would be nice if you could highlight lines and sections of text with like a yellow tint. You could then refer to the highlighted text while editing some where else.

Sparkplug
Robbage

RE: Highlight Active Row

Post by Robbage »

I think people are getting off the track, as I did. All Geoffrey wants is a visual indication which line he is currently on, besides the cursor. E.g. Using the dos QEdit, when you cursor to a line, the text for that line changed from white to yellow (at least, on mine it did). The whole idea is that if you use the scrollbars to view something that puts the cursor off the screen, you still know which line is the current line.
Post Reply