Toad World® Forums

Problems changing a block of text to lowercase [2 Attachments]


#1

[ Attachment(s) from McAllister, Michael AU CTR Contractor AETC AETC/A3IS
included below]

Hi

I am using Toad 10.1.1.8 on Vista. I block selected some text (alt+mouse select)
in the editor, then with that text selected hit CTRL-L. Only the first line was
changed to lowercase. See the attached before and after screen shots.

Regards,

Mike McAllister

Principal Systems Engineer

TKC Global, LLC

Phone: 512 423 7447

Email: michael@pairofsixes.com

Attachment(s) from McAllister, Michael AU CTR Contractor AETC AETC/A3IS

2 of 2 Photo(s)

BEFORE.GIF

AFTER.GIF


#2

Anyone else able to replicate this, and if so, any news on when it will be
fixed. Honestly, it’s a low-medium priority, but it would be nice to get
working. For the moment I do this in Textpad as a workaround.

Regards,

Mike McAllister

Principal Systems Engineer

TKC Global, LLC

Phone: 512 423 7447

Email: michael@pairofsixes.com


#3

I can reproduce is in 10.1, but not in 10.5. It may have been addressed already.

Michael


#4

I have no problem doing Ctrl-L or CTRL-U in blocks of code with Toad 10.1 But
then I have Win XP. But it does nothing with comments. I don’t know if
that is a bug or feature.
image001.jpeg


#5

Erwin – is that blocks of code selected with the ALT key? i.e multiple
lines, but not the entire width of each line.

Regards,

Mike McAllister

Principal Systems Engineer

TKC Global, LLC

Phone: 512 423 7447

Email: michael@pairofsixes.com


#6

I select via CTRL-A or mouse drag

And then I tried CTRL-U and CTRL-L

They work, but only on not commented code. Nothing happens to commented code.

I use Toad 10.1 on Win XP

PS

I don’t know how to select using ALT
image001.jpeg


#7

ALT invokes block select mode. The mode you’ve been using is not block
select mode. Try selecting some text with ALT-Left Mouse Click, you’ll see
the power :slight_smile:

Regards,

Mike McAllister

Principal Systems Engineer

TKC Global, LLC

Phone: 512 423 7447

Email: michael@pairofsixes.com


#8

I must be missing a setting because Alt Mouse click does nothing for me.
image001.jpeg


#9

There is an Editor option for Block Select.


#10

Toad options: Editor -> Behaviour -> Block Select


#11

[ Attachment(s) from Dunbar, Norman included below]

Morning Erwin,

I must be missing a setting because Alt Mouse click does
nothing for me.

Make sure options->Editor->Block select is checked first.

Then, press and hold ALT (the left one) and drag across and down in the MOE -
does it select a rectangular block rather then selecting whole lines? See
attached (hopefully)

Cheers,
Norm. [TeamT]

Information in this message may be confidential and may be legally privileged.
If you have received this message by mistake, please notify the sender
immediately, delete it and do not copy it to anyone else.

We have checked this email and its attachments for viruses. But you should still
check any attachment before opening it.

We may have to make this message and any reply to it public if asked to under
the Freedom of Information Act, Data Protection Act or for litigation. Email
messages and attachments sent to or from any Environment Agency address may also
be accessed by someone other than the sender or recipient, for business
purposes.

If we have sent you information and you wish to use it please read our terms and
conditions which you can get by calling us on 08708 506 506. Find out more about
the Environment Agency at www.environment-agency.gov.uk

Attachment(s) from Dunbar, Norman

1 of 1 Photo(s)

block_select.png


#12

Thanks. That did it.
image001.jpeg


#13

Thanks. That did it.
~WRD000.jpeg


#14

If I have a list of strings (such as for an In-List operator), I can’t
highlight them all and change their case (either upper-to-lower or vice-versa).

‘a’,‘b’,‘c’

‘A’,‘B’,‘C’

Can’t convert these up or down.

I’m guessing because of the single quotes.

This is true in 10.0 and 10.5 Beta.

Dan Clamage

Oracle Database Developer

C O N F L U E N C E

412.246.1806 direct

412.802.8632 main

412.802.8647 fax

THE MATERIAL CONTAINED IN THIS MESSAGE IS CONFIDENTIAL AND IS SUBJECT TO
RESTRICTIONS ON ITS DISCLOSURE. The recipient acknowledges that the information
contained herein is the exclusive, proprietary and confidential property of
Confluence Technologies, Inc. and shall be at all times regarded, treated and
protected as such by the recipient. The use and disclosure of this information
is subject to the restrictions contained in the Software License Agreement
between the recipient (or the recipient’s employer or its affiliates) and
Confluence Technologies, Inc.


#15

I think that’s the intended effect.


#16

I think that’s the intended effect.

A way to get the “other intended” effect would be to highlight the
first starting character after the first quote and upper/lower from there. For
example, instead of highlighting the line:

‘a’,’b’,’c’

You highlight:

A’,’b’,’c

Works every time for me and I have the added benefit of selecting that first
quote when I don’t want what’s in the quotes to change :wink:

RAS