Guest:
Register
|
Login
|
Member List
|
Search
|
Statistics
|
FAQ
Language
----------
Simplifed Chinese
Traditional Chinese
English
CnPack Forum
»
CnPack IDE 专家包(CnWizards)
» 请教:CnPack有没有编辑多行代码用的快捷键?
‹‹ Last Thread
|
Next Thread ››
Poll
Trade
Reward
Activity
Printable Version
|
Email to Friend
|
Subscription
|
Favorites
Subject: 请教:CnPack有没有编辑多行代码用的快捷键?
lonebone
新警察
UID 44604
Digest Posts 0
Credits 16
Posts 6
点点分 16
Reading Access 10
Registered 2009-11-23
Status Offline
#1
Post at 2009-11-23 21:10
Profile
|
Blog
|
P.M.
请教:CnPack有没有编辑多行代码用的快捷键?
例如:复制、剪切、粘贴、删除 鼠标选中的多行?就像Ctrl+/,可以把选中的多行注释这样的?
多谢
Lonebone
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 2009-11-24 13:26
Profile
|
Site
|
Blog
|
P.M.
代码编辑器中这些基本操作都可以用Win标准快捷键 Ctrl+C/X/V Del 来操作啊?
难道是别的需求?
Zhou JingYu
CnPack Administrator
http://www.cnpack.org/
lonebone
新警察
UID 44604
Digest Posts 0
Credits 16
Posts 6
点点分 16
Reading Access 10
Registered 2009-11-23
Status Offline
#3
Post at 2009-11-24 14:44
Profile
|
Blog
|
P.M.
是的,Ctrl+C/X/V Del也可以用,不过我的意思是随便用鼠标选中数行(有的行可能只选中几个字符),而不必完全选中这几行的文字,就可以把这几行完全复制、剪切、删除等(尤其是删除,我觉得这样十分方便,就相当于Ctrl+Y,可惜Ctrl+Y只能删除一行,即使在选中多行的时候)。
粘贴则是完全按照这几行的格式粘贴(例如先自动换行,然后再插入这几行),而不是从光标的位置开始粘贴。
也许这样的需求不多?不过像我这样老是粘贴相似代码的还是挺有用的。
Lonebone
zjy
管理员
UID 2
Digest Posts
6
Credits 2385
Posts 1543
点点分 2385
Reading Access 102
Registered 2002-12-16
Location China
Status Offline
#4
Post at 2009-11-24 17:25
Profile
|
Site
|
Blog
|
P.M.
这个是特殊需求
CW一般不考虑这种很特别的需求,不过您可以用CW的脚本工具来实现,脚本是可以指定快捷键的。
Zhou JingYu
CnPack Administrator
http://www.cnpack.org/
lonebone
新警察
UID 44604
Digest Posts 0
Credits 16
Posts 6
点点分 16
Reading Access 10
Registered 2009-11-23
Status Offline
#5
Post at 2009-11-24 17:38
Profile
|
Blog
|
P.M.
好的,我研究研究,多谢
Lonebone
lonebone
新警察
UID 44604
Digest Posts 0
Credits 16
Posts 6
点点分 16
Reading Access 10
Registered 2009-11-23
Status Offline
#6
Post at 2009-11-24 21:58
Profile
|
Blog
|
P.M.
用脚本搞定了。多谢!
CnPack真是一个大宝库啊,不会的东西还是太多了
Lonebone
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 00:27
Powered by
Discuz!
5.0.0
© 2001-2006
Comsenz Inc.
Processed in 0.007500 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