Problem with Search

General questions about using TextPad

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

Post Reply
gcotterl
Posts: 252
Joined: Wed Mar 10, 2004 8:43 pm
Location: Riverside California USA

Problem with Search

Post 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?
User avatar
MudGuard
Posts: 1295
Joined: Sun Mar 02, 2003 10:15 pm
Location: Munich, Germany
Contact:

Re: Problem with Search

Post 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.
gcotterl
Posts: 252
Joined: Wed Mar 10, 2004 8:43 pm
Location: Riverside California USA

Problem with Search

Post 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.
ben_josephs
Posts: 2464
Joined: Sun Mar 02, 2003 9:22 pm

Post 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.)
gcotterl
Posts: 252
Joined: Wed Mar 10, 2004 8:43 pm
Location: Riverside California USA

Problem with Search

Post 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.
User avatar
MudGuard
Posts: 1295
Joined: Sun Mar 02, 2003 10:15 pm
Location: Munich, Germany
Contact:

Post 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
gcotterl
Posts: 252
Joined: Wed Mar 10, 2004 8:43 pm
Location: Riverside California USA

Problem with Search

Post 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.
ak47wong
Posts: 703
Joined: Tue Aug 12, 2003 9:37 am
Location: Sydney, Australia

Post 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.
laila55
Posts: 1
Joined: Sat Nov 06, 2010 6:12 am

Post 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!
Post Reply