Page 1 of 1

Problem with Search

Posted: Sat Oct 30, 2010 4:40 pm
by gcotterl
I select one character

I click "Search"

I click "Go To", tick "Line", type "9999999", tick the "Extend selection" button (to go to line "9999999") and press Enter

Rather than just one character being highlighted, eight characters are being highlighted.

What am I doing wrong?

Re: Problem with Search

Posted: Sat Oct 30, 2010 7:54 pm
by MudGuard
gcotterl wrote:I select one character

I click "Search"

I click "Go To", tick "Line", type "9999999", tick the "Extend selection" button (to go to line "9999999") and press Enter

Rather than just one character being highlighted, eight characters are being highlighted.

What am I doing wrong?
You have one character selected, then go thru some procedure that obviously has to select more than the one character you have already selected, and then complain that more than one character got selected.

The easiest solution would be just to do nothing after you select the one character.

Then only the one character will stay selected.

Problem with Search

Posted: Sat Oct 30, 2010 9:07 pm
by gcotterl
]Here's exactly what I do:

I select (highlight) one character on line 1.

I then click "Search" and click "Go To".

On the "Go To" menu, I tick the "Line" button, type 99999 in the box, tick the "Extend Selection" button then click "Go To".

I expect a one-character-wide column (from line 1 to line 99999) to be highlighted; instead, an eight-character-wide column is highlighted.

Posted: Sat Oct 30, 2010 9:59 pm
by ben_josephs
You omitted to say that you had block mode selected.

Perhaps there are tabs in the column and TextPad is selecting them.

(Please don't shout.)

Problem with Search

Posted: Sat Oct 30, 2010 10:07 pm
by gcotterl
(Sorry about the large font size - my eyesight is not too good so, when I read your response, the large font size helps me read what I wrote).

Yes, block select mode is selected.

There are no tabs in or near the selected column.

Posted: Sun Oct 31, 2010 6:03 am
by MudGuard
Ah, block select.

I just tested. And it works here as expected - I get a one-column wide selection.

using Textpad 5.4 on WinXP and Win7

Problem with Search

Posted: Sun Oct 31, 2010 6:39 am
by gcotterl
I get a column that's NOT one-character wide; the column may be two, eight characters, thirteen or xxx characters wide.

The same problem occurs with TEXTPAD 5.3.1 and 5.4

I'm running Window XP Professional.

Posted: Sun Oct 31, 2010 11:19 pm
by ak47wong
What font are you using? The procedure you described only works if you're using a monospaced font like Courier New, Lucida Console or Consolas. If you use a proportional font like Arial you'll get unexpected results. In other words, if you're using a proportional font, switch to a monospaced one and try it again.

Posted: Sat Nov 06, 2010 6:19 am
by laila55
I also encounteering situation such this last time.
But I dont have any solution to it,,
Any suggestion would be greatly appreciated here,
God Bless!