CnPack Forum


 
Subject: 我想请问专家包编辑器的行号高亮等用的什么?
lean
新警察
Rank: 1



UID 40671
Digest Posts 0
Credits 10
Posts 4
点点分 10
Reading Access 10
Registered 2008-7-19
Status Offline
Post at 2008-7-19 10:31  Profile | Blog | P.M. 
我想请问专家包编辑器的行号高亮等用的什么?

我想请问专家包编辑器的行号高亮等用的什么?能不能说下是不是synedit?
Top
Passion (LiuXiao)
管理员
Rank: 9Rank: 9Rank: 9


UID 359
Digest Posts 19
Credits 6838
Posts 3591
点点分 6838
Reading Access 102
Registered 2004-3-28
Status Offline
Post at 2008-7-19 12:20  Profile | Blog | P.M. 
行号高亮?显示行号就一个Panel,在上面画当前行,无需用synedit。
Top
lean
新警察
Rank: 1



UID 40671
Digest Posts 0
Credits 10
Posts 4
点点分 10
Reading Access 10
Registered 2008-7-19
Status Offline
Post at 2008-7-21 13:55  Profile | Blog | P.M. 
哦。高啊
Top
lean
新警察
Rank: 1



UID 40671
Digest Posts 0
Credits 10
Posts 4
点点分 10
Reading Access 10
Registered 2008-7-19
Status Offline
Post at 2008-7-21 13:56  Profile | Blog | P.M. 
能不能借鉴下代码啊。比如高亮部分。和显示行号
Top
lean
新警察
Rank: 1



UID 40671
Digest Posts 0
Credits 10
Posts 4
点点分 10
Reading Access 10
Registered 2008-7-19
Status Offline
Post at 2008-7-21 14:06  Profile | Blog | P.M. 
大哥能不能详细讲解下如何在panel上划出行号又如何和比如memo里的行关联,我最终是想在panel上划出流程图
Top
Passion (LiuXiao)
管理员
Rank: 9Rank: 9Rank: 9


UID 359
Digest Posts 19
Credits 6838
Posts 3591
点点分 6838
Reading Access 102
Registered 2004-3-28
Status Offline
Post at 2008-7-21 15:31  Profile | Blog | P.M. 
行号绘制参见:cnwizards\Source\SrcEditorEnhance\CnSrcEditorGutter.pas
在Panel上画行号也就OnPaint时调用TextOut吧。
和memo行关联则需要获取memo的行列以计算其座标。
Top
 




All times are GMT++8, the time now is 2024-11-23 12:29

    本论坛支付平台由支付宝提供
携手打造安全诚信的交易社区 Powered by Discuz! 5.0.0  © 2001-2006 Comsenz Inc.
Processed in 0.008374 second(s), 8 queries , Gzip enabled

Clear Cookies - Contact Us - CnPack Website - Archiver - WAP