Subject: 源代码高亮扩展的颜色有点小问题 [Print This Page]
Author:
hq200306 Time: 2012-12-1 13:09 Subject: 源代码高亮扩展的颜色有点小问题
下面代码的第二个except的颜色不对
procedure TForm19.SpeedButton11Click(Sender: TObject);
begin
try
except
on E: Exception do
begin
try
except
on E: Exception do
begin
end;
end;
end;
end;
end;
[ 本帖最后由 hq200306 于 2012-12-5 10:46 编辑 ]
Image Attachment:
高亮颜色1.GIF (2012-12-5 10:46, 21.95 K) / Download count 18
http://bbs.cnpack.org/attachment.php?aid=916
Author:
Passion Time: 2012-12-4 14:11
请问您使用的CnWizards是什么版本?在我们最新的每日构建版里,效果如附件。
每日构建版下载地址:http://www.cnpack.org/downbuilds.php
Image Attachment:
未命名.jpg (2012-12-4 14:11, 16.46 K) / Download count 20
http://bbs.cnpack.org/attachment.php?aid=915
Author:
hq200306 Time: 2012-12-5 10:48 Subject: 测试环境winXp,delphi xe,cnpack 0.9.9.637
我试了两台机,Win Xp,新装的D2007,DXE,DXE3,cnpack 637版效果还是一样,第二个except的颜色不对,而且光标到excpet上不会亮显(变黄)
[ 本帖最后由 hq200306 于 2012-12-5 11:00 编辑 ]
Author:
Passion Time: 2012-12-5 14:12
比较奇怪。是否代码中出问题的except前面有全角空格或是其他特殊字符?
我从本帖复制的代码,一切正常。在D5/D7/XE3下用637,均没有您说的现象。
Author:
hzzsn520 Time: 2012-12-5 23:47
确实存在.
XE3 + win7 x64
Image Attachment:
[1]
QQ截图20121205234533.jpg (2012-12-5 23:47, 15.17 K) / Download count 22
http://bbs.cnpack.org/attachment.php?aid=917
Author:
hzzsn520 Time: 2012-12-5 23:53
如果不加begin end; 显示正常
begin
try
except
on E: Exception do
try
// ...
except
try
// ...
except
on E: Exception do
try
// ...
except
end;
end;
end;
end;
end;
Author:
Passion Time: 2012-12-7 11:20
比较诡异。可能是win7 64位导致的,我想法找个64位环境验证一下。
Author:
hq200306 Time: 2012-12-7 14:00
我的Win Xp,D2007,DXE,DXE3 都是新装的,颜色都不对
如果在第一个 on E: Exception do 不加begin end; 显示正常
Author:
npc8 Time: 2012-12-17 18:51
确实不正常
server2008 r2 X64 + XE3 Version 17.0.4625.53395 + cnpack 637
Image Attachment:
QQ截图20121217184923.png (2012-12-17 18:51, 8.58 K) / Download count 15
http://bbs.cnpack.org/attachment.php?aid=919
Welcome to CnPack Forum (http://bbs.cnpack.org/) |
Powered by Discuz! 5.0.0 |