15 мая 2023 года "Исходники.РУ" отмечают своё 23-летие!
Поздравляем всех причастных и неравнодушных с этим событием!
И огромное спасибо всем, кто был и остаётся с нами все эти годы!

Главная Форум Журнал Wiki DRKB Discuz!ML Помощь проекту


Block indenting in VC++4.0 using Emacs emulation?

Richard Morris -- richard@zoom.com
Tuesday, January 23, 1996

I recently tried switching from the default editor controls to the Emacs
emulation
and ran into a problem.  I can't get the editor to do block indentation.

I am a regular Epsilon user and have tried many varients of the key
sequences it uses,
all with no success in VC++ 4.0.  I have also tried the key sequences shown
in the key
bindings for the Emacs emulation in VC++ 4.0, again without success.

As an aside, I typically do block indenting when indenting or outdenting
blocks of code.
This is functionality which is rather hard to live without.

If you would be so kind as to provide me with the exact key sequences to use
once
I have highlighted a block of text, I would be grateful.




Philip Liu -- pliu@pcmail.healthvision.ca
Thursday, January 25, 1996



emacs works differently than MSVC workbench editor does.

If you want to make sure a block of code is in its   
"correct-tab-position,"
try the following:
0. use ctrl-space to mark the beginning of the block
1. move the cursor to the end of the block by any means
2. go meta-ctrl-\ (backslash)

I m 100% sure that will work in almost all versions of g/x/emacs.
MSVC workbench? Not sure though.

Phil
(pliu@healthvision, the smallest potato in the company)


 ----------
From:  owner-mfc-l[SMTP:owner-mfc-l@netcom.com]
Sent:  Tuesday, January 23, 1996 4:06 PM
To:  mfc-l
Subject:  Block indenting in VC++4.0 using Emacs emulation?

I recently tried switching from the default editor controls to the Emacs
emulation
and ran into a problem.  I can't get the editor to do block indentation.

I am a regular Epsilon user and have tried many varients of the key
sequences it uses,
all with no success in VC++ 4.0.  I have also tried the key sequences   
shown
in the key
bindings for the Emacs emulation in VC++ 4.0, again without success.

As an aside, I typically do block indenting when indenting or outdenting
blocks of code.
This is functionality which is rather hard to live without.

If you would be so kind as to provide me with the exact key sequences to   
use
once
I have highlighted a block of text, I would be grateful.





| Вернуться в корень Архива |