Guest:
Register
|
Login
|
Member List
|
Search
|
Statistics
|
FAQ
Language
----------
Simplifed Chinese
Traditional Chinese
English
CnPack Forum
»
CnPack IDE 专家包(CnWizards)
» 括号匹配高亮的新bug
‹‹ Last Thread
|
Next Thread ››
Poll
Trade
Reward
Activity
Printable Version
|
Email to Friend
|
Subscription
|
Favorites
Subject: 括号匹配高亮的新bug
firstrose
新警察
UID 648
Digest Posts 0
Credits 47
Posts 37
点点分 47
Reading Access 10
Registered 2005-1-16
Status Offline
#1
Post at 2005-8-19 23:55
Profile
|
Blog
|
P.M.
括号匹配高亮的新bug
看图说话好了
如果editor的字体不是CourierNew,那么就有这样的问题!应该是字体宽度计算误差。
V0.7.7.127
括号位置计算错误
原文是
FillChar(RetData,1024,0);
[
Last edited by firstrose on 2005-8-20 at 00:08
]
Image Attachment
:
error.JPG
(2005-8-19 23:55, 18.73 K)
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-8-23 09:58
Profile
|
Site
|
Blog
|
P.M.
请问您设置的是哪种字体?大小是多少?
Zhou JingYu
CnPack Administrator
http://www.cnpack.org/
firstrose
新警察
UID 648
Digest Posts 0
Credits 47
Posts 37
点点分 47
Reading Access 10
Registered 2005-1-16
Status Offline
#3
Post at 2005-8-23 11:30
Profile
|
Blog
|
P.M.
宋体,小五
但是其他的字体也有问题!
最新版131也是这样!
[
Last edited by firstrose on 2005-8-23 at 12:24
]
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 2005-8-23 15:20
Profile
|
Site
|
Blog
|
P.M.
我的 XP SP2 中文版上面编辑器字体列表中没有 宋体,只有 新宋体 和 宋体-方正超大字符集。前者能正常显示,后者显示为不等宽字体,很难看,括号也不正常。
在其它的一组测试中,只要显示是等宽字体,宽度都正常。不知您用的是什么系统?除了宋体,能否再举个例子出来?
IDE 的字体列表很奇怪,其中有些字体是系统字体列表中找不到的,如“Courier New Greek”。而有些等宽字体列表中又没有。这部分处理已改进了好几次,真麻烦:(
Zhou JingYu
CnPack Administrator
http://www.cnpack.org/
firstrose
新警察
UID 648
Digest Posts 0
Credits 47
Posts 37
点点分 47
Reading Access 10
Registered 2005-1-16
Status Offline
#5
Post at 2005-8-23 17:15
Profile
|
Blog
|
P.M.
我在W2k+SP4+Rollup1/XP+SP2下都测试过。结果都有问题。
新宋体当然是等宽的,但是宋体-方正似乎不是。
其他字体比如Fixedsys等。
我用Delphi Upd#1
zjy
管理员
UID 2
Digest Posts
6
Credits 2385
Posts 1543
点点分 2385
Reading Access 102
Registered 2002-12-16
Location China
Status Offline
#6
Post at 2005-8-23 17:44
Profile
|
Site
|
Blog
|
P.M.
Fixedsys 在我这上面 XP SP2 中文 Delphi5 下显示正常啊。
如果字体不等宽,在编辑器中选择一块代码时,选择的代码显示位置都会不正常。
您的 Delphi 是几呢?
Zhou JingYu
CnPack Administrator
http://www.cnpack.org/
firstrose
新警察
UID 648
Digest Posts 0
Credits 47
Posts 37
点点分 47
Reading Access 10
Registered 2005-1-16
Status Offline
#7
Post at 2005-8-24 08:28
Profile
|
Blog
|
P.M.
我也是Delphi5啊
这么说吧:
环境1:Windown2000 SP4 Rollup1中文版
环境2:WindownXP SP2中文版
Delphi:英文版Delphi5 / Update#1 / ADO Update#1+Update#2
D里只装了CNW,最新的Stable,没有其它任何IDE插件。
我用的当然是等宽字体。否则注释显示首先就出问题。
我注意到你写了“XP SP2 中文 Delphi5”,请问“中文”是指哪个?XP还是D5?
firstrose
新警察
UID 648
Digest Posts 0
Credits 47
Posts 37
点点分 47
Reading Access 10
Registered 2005-1-16
Status Offline
#8
Post at 2005-8-24 18:53
Profile
|
Blog
|
P.M.
已经证明部分情况是RAV的注册表监控在捣鬼。
[
Last edited by firstrose on 2005-8-24 at 18:55
]
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:52
Powered by
Discuz!
5.0.0
© 2001-2006
Comsenz Inc.
Processed in 0.008935 second(s), 10 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