Board index » delphi » Shifting blocks in Delphi's Editor...How?

Shifting blocks in Delphi's Editor...How?

In article <4eo0r2$...@david.wheaton.edu> jcfow...@david.wheaton.edu (John C. Fowler) writes:

Quote
>Hi.  I use to know how to shift blocks of code right or left using
>Delphi's editor, but I can't remember how.  Could someone e-mail me
>or post the key combinations to use once a block of text has been
>highlighted?

Shift+Control+U and Shift+Control+I.  The editor has a number of obscure and
obscurely-documented niceities that are buried somewhere in the on-line help.

/mr/

 

Re:Shifting blocks in Delphi's Editor...How?


Hi.  I use to know how to shift blocks of code right or left using
Delphi's editor, but I can't remember how.  Could someone e-mail me
or post the key combinations to use once a block of text has been
highlighted?

my email address is:  jcfow...@david.wheaton.edu

john...

                  'When peace like a river attendeth my way,
                      when sorrows like sea billows roll;
                  Whatever my lot thou hast taught me to say,
                   "It is Well!  It is Well, with my soul!"'

Re:Shifting blocks in Delphi's Editor...How?


Quote
sund...@primenet.com (Sundial Services) wrote:
>In article <4eo0r2$...@david.wheaton.edu> jcfow...@david.wheaton.edu (John C. Fowler) writes:
>>Hi.  I use to know how to shift blocks of code right or left using
>>Delphi's editor, but I can't remember how.  Could someone e-mail me
>>or post the key combinations to use once a block of text has been
>>highlighted?
>Shift+Control+U and Shift+Control+I.  The editor has a number of obscure and
>obscurely-documented niceities that are buried somewhere in the on-line help.
>/mr/

or with the classic (read: WordStar) settings:

Control K-U
Control K-I

Stefan

Re:Shifting blocks in Delphi's Editor...How?


On 31 Jan 1996 09:11:30 -0600, John C. Fowler with Wheaton College,
Wheaton, IL commented on Shifting blocks in Delphi's Editor...How?:

Quote
>Could someone e-mail me
>or post the key combinations to use once a block of text has been
>highlighted?

<Ctrl><Shift>I    Inserts highlighted block

<Ctrl><Shift>U    Uninserts highlighted block

(Be EGSU nobhg gur rqvgbe)

James V. Bacus

===============================================================================
 JVB Imaging                           jvba...@bix.com

 Medical Imaging Software & Systems - Custom Software Development - Consulting
===============================================================================

Re:Shifting blocks in Delphi's Editor...How?


Quote
jvba...@BIX.com (James Bacus) wrote:
>On 31 Jan 1996 09:11:30 -0600, John C. Fowler with Wheaton College,
>Wheaton, IL commented on Shifting blocks in Delphi's Editor...How?:
>>Could someone e-mail me
>>or post the key combinations to use once a block of text has been
>>highlighted?

><Ctrl><Shift>I    Inserts highlighted block
><Ctrl><Shift>U    Uninserts highlighted block
>(Be EGSU nobhg gur rqvgbe)
>James V. Bacus
>===============================================================================
> JVB Imaging                           jvba...@bix.com
> Medical Imaging Software & Systems - Custom Software Development - Consulting
>===============================================================================

No knowing what the orginal post said but by reading the title the
following Key combos might also help

CTRL-K-I         Indents a block of code
CTRL-K-U        Unindents a block of code

The above do it one space at a time.

Eric Miles
mil...@usafe14.ramstein.af.mil
.............................................
My opinions and comments are my own and ONLY
my own and reflect in no way the Air Force's.
.............................................

Re:Shifting blocks in Delphi's Editor...How?


In article <4f4hqa$...@wrdis02.robins.af.mil>,
   mil...@usafe14.ramstein.af.mil (Eric Miles) wrote:
Quote
]-jvba...@BIX.com (James Bacus) wrote:

]-
]->On 31 Jan 1996 09:11:30 -0600, John C. Fowler with Wheaton College,
]->Wheaton, IL commented on Shifting blocks in Delphi's Editor...How?:
]->>Could someone e-mail me
]->>or post the key combinations to use once a block of text has been
]->>highlighted?
]->>
]-
]-><Ctrl><Shift>I    Inserts highlighted block
]-
]-><Ctrl><Shift>U    Uninserts highlighted block
]-
]->(Be EGSU nobhg gur rqvgbe)
]-
]->James V. Bacus
]-
]->===============================================================================
]-> JVB Imaging                           jvba...@bix.com
]-
]-> Medical Imaging Software & Systems - Custom Software Development - Consulting
]->===============================================================================
]-No knowing what the orginal post said but by reading the title the
]-following Key combos might also help
]-
]-CTRL-K-I       Indents a block of code
]-CTRL-K-U      Unindents a block of code
]-
]-The above do it one space at a time.

You can change the indent/undent step size using
Options|Environment|Editor Options|Block Indent.

Mark Vaughan

]-
]-
]-Eric Miles
]-mil...@usafe14.ramstein.af.mil
]-..............................................
]-My opinions and comments are my own and ONLY
]-my own and reflect in no way the Air Force's.
]-..............................................
]-

Other Threads