Guest:
Register
|
Login
|
Member List
|
Search
|
Statistics
|
FAQ
Language
----------
Simplifed Chinese
Traditional Chinese
English
CnPack Forum
»
CnPack IDE 专家包(CnWizards)
» CnWizards 在 C++builder 中的“注释/取消注释” BUG
‹‹ Last Thread
|
Next Thread ››
Poll
Trade
Reward
Activity
Printable Version
|
Email to Friend
|
Subscription
|
Favorites
Subject: CnWizards 在 C++builder 中的“注释/取消注释” BUG
CCED136
新警察
UID 42209
Digest Posts 0
Credits 29
Posts 9
点点分 29
Reading Access 10
Registered 2009-4-17
Status Offline
#1
Post at 2014-10-23 15:19
Profile
|
Blog
|
P.M.
CnWizards 在 C++builder 中的“注释/取消注释” BUG
在 C++builder 中的现象如下:
正常代码:
//---------------------------------------------------------------------------
/*
* 属性方法,读取服务状态
*/
bool __fastcall GetActive(void)
{
if ( FHandle == NULL )
{
return false;
}
return true;
}
注释后代码(选中后Ctrl+/):
---------------------------------------------------------------------------
///*
// * 属性方法,读取服务状态
// */
//bool __fastcall GetActive(void)
//{
// if ( FHandle == NULL )
// {
// return false;
// }
//
// return true;
//}
取消注释(反转注释,仍然是 Ctrl+/):
//---------------------------------------------------------------------------
/////*
* 属性方法,读取服务状态
*/
bool __fastcall GetActive(void)
{
if ( FHandle == NULL )
{
return false;
}
return true;
}
可以看到,取消注释后, 注释格式发生错误了, 导致取消注释后,需要手工重新修改注释才能编译了。
希望开发组改进一下。
Passion
(LiuXiao)
管理员
UID 359
Digest Posts
19
Credits 6838
Posts 3591
点点分 6838
Reading Access 102
Registered 2004-3-28
Status Offline
#2
Post at 2014-10-27 10:42
Profile
|
Blog
|
P.M.
http://www.cnpack.org/downbuilds.php?lang=zh-cn
最新每日构建版686里已经针对此问题做出了修复。
CCED136
新警察
UID 42209
Digest Posts 0
Credits 29
Posts 9
点点分 29
Reading Access 10
Registered 2009-4-17
Status Offline
#3
Post at 2014-10-27 16:28
Profile
|
Blog
|
P.M.
感谢开发组的辛勤劳动
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-24 12:23
Powered by
Discuz!
5.0.0
© 2001-2006
Comsenz Inc.
Processed in 0.007420 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