CnPack Forum


 
Subject: REQUEST: Current Line Highlight
MaximKorobov
普通灌水员
Rank: 2


UID 40759
Digest Posts 0
Credits 51
Posts 17
点点分 51
Reading Access 10
Registered 2008-8-8
Status Offline
Post at 2008-8-8 18:33  Profile | Blog | P.M. 
REQUEST: Current Line Highlight

When IDE editor is focused, current line of code highlight's by

I found such option in HomeSite Editor (it names as "Outline Current Line") and it looks like this:



http://picasaweb.google.com/Maxim.Korobov/CNPackRequest/photo#5232089816414301698

I think that there is very useful.

[ Last edited by  MaximKorobov at 2008-8-8 13:35 ]
Top
Passion (LiuXiao)
管理员
Rank: 9Rank: 9Rank: 9


UID 359
Digest Posts 19
Credits 6688
Posts 3523
点点分 6688
Reading Access 102
Registered 2004-3-28
Status Offline
Post at 2008-8-9 11:41  Profile | Blog | P.M. 
Thanks for your suggestion. In fact, we considered this requirement before, but due to IDE's limitation, it's not so easy to draw the background color "transparently" under IDE chars.

We'll try to do some researching  to find a practicable way to implement it.
Top
MaximKorobov
普通灌水员
Rank: 2


UID 40759
Digest Posts 0
Credits 51
Posts 17
点点分 51
Reading Access 10
Registered 2008-8-8
Status Offline
Post at 2008-8-11 22:19  Profile | Blog | P.M. 
Hm. Stange to read that feature is not easy to implement cause you already do it such for "Lines and Structure Background Highlight" in the last release.
Top
Passion (LiuXiao)
管理员
Rank: 9Rank: 9Rank: 9


UID 359
Digest Posts 19
Credits 6688
Posts 3523
点点分 6688
Reading Access 102
Registered 2004-3-28
Status Offline
Post at 2008-8-11 23:19  Profile | Blog | P.M. 
The style of a Keyword is simple(bold or color), we can just fill the rect and re-textout it. But for the whole line, it's not easy to re-parse the line text to get to know what should be painted as bold, what to be symbol or comment. So hard to re-paint them.
Top
 




All times are GMT++8, the time now is 2022-9-25 10:55

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

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