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代码提示失效
lwsxln
普通灌水员
UID 67314
Digest Posts 0
Credits 65
Posts 23
点点分 65
Reading Access 10
Registered 2011-11-23
Status Offline
#1
Post at 2011-11-23 09:30
Profile
|
Blog
|
P.M.
在有中文的行里,cnpack代码提示失效
这个真不好描述
看图吧
如果同一行里,出现了中文字符串,那么后面的代码全部不提示。
如果有英文的话,可以正常提示
Image Attachment
:
QQ截图20111123092850.png
(2011-11-23 09:30, 673 bytes)
Image Attachment
:
QQ五笔截图未命名.jpg
(2011-11-23 09:30, 16.9 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-11-23 13:21
Profile
|
Blog
|
P.M.
我们查一下,请问Delphi的版本和CnWizards的版本分别是?
lwsxln
普通灌水员
UID 67314
Digest Posts 0
Credits 65
Posts 23
点点分 65
Reading Access 10
Registered 2011-11-23
Status Offline
#3
Post at 2011-11-25 15:47
Profile
|
Blog
|
P.M.
cnpack是最新的,delphi 是xe
doorkey
新警察
UID 67246
Digest Posts 0
Credits 33
Posts 12
点点分 33
Reading Access 10
Registered 2011-10-20
Status Offline
#4
Post at 2011-11-27 17:38
Profile
|
Blog
|
P.M.
XE2好像也有这个问题。
lwsxln
普通灌水员
UID 67314
Digest Posts 0
Credits 65
Posts 23
点点分 65
Reading Access 10
Registered 2011-11-23
Status Offline
#5
Post at 2011-11-30 11: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
#6
Post at 2011-11-30 21:55
Profile
|
Blog
|
P.M.
导致此问题的有两个原因叠加。一是我们在XE下对光标位置计算有个UTF8转换的偏差,另外一个原因是XE/XE2下在行内有汉字时通过其OTA接口有时候返回的光标位置本身是错误的。前者我们可以修正,但后者不易完全避免。
不日将出一个新的每日构建版,楼主可以试一试修复后的效果,应该说还不是完全修复了。
lwsxln
普通灌水员
UID 67314
Digest Posts 0
Credits 65
Posts 23
点点分 65
Reading Access 10
Registered 2011-11-23
Status Offline
#7
Post at 2011-12-3 09:49
Profile
|
Blog
|
P.M.
我看了XE的PAS文件,是用ANSI保存的啊。怎么会和UTF8有关呢
Passion
(LiuXiao)
管理员
UID 359
Digest Posts
19
Credits 6838
Posts 3591
点点分 6838
Reading Access 102
Registered 2004-3-28
Status Offline
#8
Post at 2011-12-4 15:10
Profile
|
Blog
|
P.M.
部分版本的IDE内部使用UTF8,倒是似乎和保存的格式无关。
楼主用的是621的正式版还是最新的每日构建版624?
lwsxln
普通灌水员
UID 67314
Digest Posts 0
Credits 65
Posts 23
点点分 65
Reading Access 10
Registered 2011-11-23
Status Offline
#9
Post at 2011-12-5 11:15
Profile
|
Blog
|
P.M.
Embarcadero? Delphi? XE Version 15.0.3890.34076
Copyright ? 2010 Embarcadero Technologies, Inc. All Rights Reserved.
CnPack IDE Wizards for Delphi/C++Builder/BDS/Rad Studio
Version: 0.9.9.621 Build 2011.10.01
DELPHI XE把内部全改成了UNICODE,但是保存文件却用ANSI不选择UNICODE,简直是一种愚蠢的做法。导致很多国外的代码打开都会有乱码而无法编译。比如ICS就是。
Passion
(LiuXiao)
管理员
UID 359
Digest Posts
19
Credits 6838
Posts 3591
点点分 6838
Reading Access 102
Registered 2004-3-28
Status Offline
#10
Post at 2011-12-25 16:28
Profile
|
Blog
|
P.M.
烦请下载625每日构建版试一试?
http://www.cnpack.org/downbuilds.php
lwsxln
普通灌水员
UID 67314
Digest Posts 0
Credits 65
Posts 23
点点分 65
Reading Access 10
Registered 2011-11-23
Status Offline
#11
Post at 2012-1-4 20:34
Profile
|
Blog
|
P.M.
回复 #10 Passion 的帖子
Ver: 0.9.9.625_Unstable Build 2011.12.24
依然不弹出
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 13:36
Powered by
Discuz!
5.0.0
© 2001-2006
Comsenz Inc.
Processed in 0.011358 second(s), 8 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