Guest:
Register
|
Login
|
Member List
|
Search
|
Statistics
|
FAQ
Language
----------
Simplifed Chinese
Traditional Chinese
English
CnPack Forum
»
CnPack IDE 专家包(CnWizards)
» 代码划线建议
‹‹ Last Thread
|
Next Thread ››
Poll
Trade
Reward
Activity
Printable Version
|
Email to Friend
|
Subscription
|
Favorites
Subject: 代码划线建议
Zero42
普通灌水员
UID 40887
Digest Posts 0
Credits 55
Posts 16
点点分 55
Reading Access 10
Registered 2008-9-4
Status Offline
#1
Post at 2008-9-9 11:04
Profile
|
Blog
|
P.M.
代码划线建议
当我的代码中的“then”之类的词缺少时,代码结构线就被隐去,这点觉的不得劲。能不能只以“begin”,“end”配对为划线参考,当有语法错误时以气泡提示,而不隐去代码结构线。
另:我那个cnWizard在D2009下还是不能用,什么办法都试了,先不管他了,D7已经足够满足使用了。不过还是谢谢各位了。
还有,各位有谁用过OpenGL?窗口不动时,画面无闪动,动画也很流畅,当我使用滚动条拖动时,画面就闪的厉害,后来override了窗口的Invalidate方法(改为空过程)后好了许多,但还达不到autocad那样的效果,不晓得哪位高人有更好的方法,不吝赐教。
Passion
(LiuXiao)
管理员
UID 359
Digest Posts
19
Credits 6838
Posts 3591
点点分 6838
Reading Access 102
Registered 2004-3-28
Status Offline
#2
Post at 2008-9-9 21:33
Profile
|
Blog
|
P.M.
语法错误的气泡提示比较难搞,难点在于即时以及位置正确的语法分析与判断。这功能还是IDE自己做起来比较顺。
只处理begin end的话,怕其它朋友习惯了try except end等语句的有怨言呢。
Zero42
普通灌水员
UID 40887
Digest Posts 0
Credits 55
Posts 16
点点分 55
Reading Access 10
Registered 2008-9-4
Status Offline
#3
Post at 2008-9-10 09:16
Profile
|
Blog
|
P.M.
呵呵,我没说清楚,我的意思是在类似if、while等必须需要begin,end标界语句块的地方以begin和end为参考画线,在类似try、repeat等语句块中以其自身语法结构为参考,begin和end的优先级可以教高一些。另,语法错误提示是否可用自定义hint的方式实现?(这个我不懂:)不知道Castalia是怎样实现的。
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 12:54
Powered by
Discuz!
5.0.0
© 2001-2006
Comsenz Inc.
Processed in 0.007838 second(s), 9 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