Guest:
Register
|
Login
|
Member List
|
Search
|
Statistics
|
FAQ
Language
----------
Simplifed Chinese
Traditional Chinese
English
CnPack Forum
»
CnPack IDE 专家包(CnWizards)
» 源代码高亮扩展在D2010下面显示不正确
‹‹ Last Thread
|
Next Thread ››
Poll
Trade
Reward
Activity
Printable Version
|
Email to Friend
|
Subscription
|
Favorites
Subject: 源代码高亮扩展在D2010下面显示不正确
edwinyeah
灌水司司长
UID 40580
Digest Posts 0
Credits 343
Posts 129
点点分 343
Reading Access 10
Registered 2008-6-18
Status Offline
#1
Post at 2011-5-12 21:58
Profile
|
Blog
|
P.M.
源代码高亮扩展在D2010下面显示不正确
大家好,
CNPACK非常棒!
这里汇报一个问题, 就是源代码高亮扩展在D2010下面显示不正确 (关键字高亮显示), 见附件.
Image Attachment
:
code editor coloring problem 2011-5-12 21-35-51.png
(2011-5-12 21:58, 49.95 K)
Passion
(LiuXiao)
管理员
UID 359
Digest Posts
19
Credits 6838
Posts 3591
点点分 6838
Reading Access 102
Registered 2004-3-28
Status Offline
#2
Post at 2011-5-13 10:33
Profile
|
Blog
|
P.M.
请问CnWizards是什么版本?源文件中是否使用了Tab键?
edwinyeah
灌水司司长
UID 40580
Digest Posts 0
Credits 343
Posts 129
点点分 343
Reading Access 10
Registered 2008-6-18
Status Offline
#3
Post at 2011-5-13 13:04
Profile
|
Blog
|
P.M.
Reply #2 Passion's post
CNPACK版本: Ver: 0.9.7.591 Build 2010.10.01
Delphi 版本: Embarcadero? Delphi? 2010 Version 14.0.3593.25826
EDITOR没有启用TAB,源文件也没有包含TAB.
Passion
(LiuXiao)
管理员
UID 359
Digest Posts
19
Credits 6838
Posts 3591
点点分 6838
Reading Access 102
Registered 2004-3-28
Status Offline
#4
Post at 2011-5-13 20:46
Profile
|
Blog
|
P.M.
那可否下载最新的每日构建版看看是否仍旧有此问题?
http://www.cnpack.org/downbuilds.php
修复过一次错位的Bug的。
edwinyeah
灌水司司长
UID 40580
Digest Posts 0
Credits 343
Posts 129
点点分 343
Reading Access 10
Registered 2008-6-18
Status Offline
#5
Post at 2011-5-13 22:55
Profile
|
Blog
|
P.M.
下载升级到了CnWizards_0.9.7.599_Unstable.exe 2011-04-08, 问题一样存在.
Passion
(LiuXiao)
管理员
UID 359
Digest Posts
19
Credits 6838
Posts 3591
点点分 6838
Reading Access 102
Registered 2004-3-28
Status Offline
#6
Post at 2011-5-14 10:49
Profile
|
Blog
|
P.M.
奇怪,可否将错位的源文件发到
master@cnpack.org
供我们查一查?
edwinyeah
灌水司司长
UID 40580
Digest Posts 0
Credits 343
Posts 129
点点分 343
Reading Access 10
Registered 2008-6-18
Status Offline
#7
Post at 2011-5-14 17:36
Profile
|
Blog
|
P.M.
是AnyiQuack-1.0.3(一个通用的动画算法库,非常好! 建议大家看看)里面的一个例子的单元, 文件名是NotificationWindows.pas.
下载地址:
http://sourceforge.net/projects/accessquery/files/
麻烦你们啦!
edwinyeah
灌水司司长
UID 40580
Digest Posts 0
Credits 343
Posts 129
点点分 343
Reading Access 10
Registered 2008-6-18
Status Offline
#8
Post at 2011-5-14 23:45
Profile
|
Blog
|
P.M.
对了,我的屏幕DPI设置是 135% 这个应该是比较特别的,有可能是这个原因?
Passion
(LiuXiao)
管理员
UID 359
Digest Posts
19
Credits 6838
Posts 3591
点点分 6838
Reading Access 102
Registered 2004-3-28
Status Offline
#9
Post at 2011-5-15 19:38
Profile
|
Blog
|
P.M.
和DPI无关。经过检查,是该源文件中使用了Tab键所致,而IDE的Use Tab Character选项又未选上,导致CnWizards对Tab键判断错误从而产生的错位。
这个外来的源文件的Tab和IDE是否use tab设置不一致的问题比较难以避免,楼主针对此文件可将IDE的Use Tab Character选上,或查找替换掉源文件中的Tab来避免此问题?
edwinyeah
灌水司司长
UID 40580
Digest Posts 0
Credits 343
Posts 129
点点分 343
Reading Access 10
Registered 2008-6-18
Status Offline
#10
Post at 2011-5-15 23:28
Profile
|
Blog
|
P.M.
谢谢! 我的方法是暂时禁止了这个专家,知道问题原因就好,下次有类似问题我就知道如何解决了
Passion
(LiuXiao)
管理员
UID 359
Digest Posts
19
Credits 6838
Posts 3591
点点分 6838
Reading Access 102
Registered 2004-3-28
Status Offline
#11
Post at 2011-7-12 22:32
Profile
|
Blog
|
P.M.
我们在最新的每日构建版610中对Tabkey做了进一步处理,应该没类似的问题了。但改动较大,需要多加测试。烦请楼主也帮忙下载最新每日构建版试一试?
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-22 06:23
Powered by
Discuz!
5.0.0
© 2001-2006
Comsenz Inc.
Processed in 0.010486 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