Guest:
Register
|
Login
|
Member List
|
Search
|
Statistics
|
FAQ
Language
----------
Simplifed Chinese
Traditional Chinese
English
CnPack Forum
»
CnPack IDE 专家包(CnWizards)
» 关于自动缩进的问题。
‹‹ Last Thread
|
Next Thread ››
Poll
Trade
Reward
Activity
Printable Version
|
Email to Friend
|
Subscription
|
Favorites
Subject: 关于自动缩进的问题。
多事之秋
新警察
UID 1051
Digest Posts 0
Credits 5
Posts 5
点点分 5
Reading Access 10
Registered 2005-9-18
Location china zz
Status Offline
#1
Post at 2005-9-23 16:52
Profile
|
Site
|
Blog
|
P.M.
|
关于自动缩进的问题。
while not qry.eof do
begin
end;
版主,你看出来我贴出来的意思了吗?
begin
end;
begin
end;
begin
end;
begin
end;
就是我先写好 while not Qry.eof do
紧接着写:begin end;
这时候begin end 应该是对齐的。可是他不是自动对齐。他自动缩进。
我要的是
begin
end;
beign
end;
begin
end;
begin
end;
不是
begin
end;
begin
end;
begin
end;
begin
end;
我下的版本是 *.147.rar
[
Last edited by 多事之秋 on 2005-9-23 at 16:53
]
刮风了,下雨了,赶快起来收衣服哦!
zjy
管理员
UID 2
Digest Posts
6
Credits 2385
Posts 1543
点点分 2385
Reading Access 102
Registered 2002-12-16
Location China
Status Offline
#2
Post at 2005-9-24 18:28
Profile
|
Site
|
Blog
|
P.M.
这个是新版本专家提供的代码自动缩进功能,您可以在“代码编辑器扩展设置”中配置。
这个扩展默认在 begin 后进行缩进是因为通常我们在写完 begin 后,下面的代码是缩进的,到写 end 时再用退格缩回来。
如果您习惯先写 begin end;,再写中间的代码块,可以使用代码输入助手提供的 beg 这个预定义模板。在输入完 beg 后,弹出的助手列表中直接回车就会输入 begin..end 块。
Zhou JingYu
CnPack Administrator
http://www.cnpack.org/
Poll
Trade
Reward
Activity
CnPack Forum
CnPack English Forum
> CnWizards IDE Wizards
> CVSTracNT
> Announcements & Others
All times are GMT++8, the time now is 2024-11-23 13:37
Powered by
Discuz!
5.0.0
© 2001-2006
Comsenz Inc.
Processed in 0.008547 second(s), 7 queries , Gzip enabled
TOP
Clear Cookies
-
Contact Us
-
CnPack Website
-
Archiver
-
WAP
Member's CP Home
Edit Profile
Credits Transaction
Public User Groups
Buddy List
Main
Page Views
User Agents
Posts History
Top Forums
Top Threads
Post Ranking
Credit Ranking
Online Time
Team
Moderation Stats