CnPack Forum


 
Subject: Cursor on the wrong line?
nmad
新警察
Rank: 1



UID 67801
Digest Posts 0
Credits 7
Posts 2
点点分 7
Reading Access 10
Registered 2013-2-25
Status Offline
Post at 2013-2-25 03:14  Profile | Blog | P.M. 
Cursor on the wrong line?

Hi:

I am a new CnPack Wizards user. First and foremost, thank you for such a great tool!

I noticed that the IDE's own cursor/caret shows up lower that the active line (see image, where the active line starts with begin where the vertical cursor is, and the triangle is two-and-a-half lines below in the gutter).

Is this a feature by design, a bug, or a matter of incorrect settings?

Windows 7 x64 Ultimate; Rad Studio XE3 Enterprise (Update 2, build 17.0.4770.56661), CnPack Wizards 1.0.0.638.

Thanks!

NM


Image Attachment: [Bitmap Image] CnPack.bmp (2013-2-25 03:14, 23.9 K)

Top
Passion (LiuXiao)
管理员
Rank: 9Rank: 9Rank: 9


UID 359
Digest Posts 19
Credits 6756
Posts 3554
点点分 6756
Reading Access 102
Registered 2004-3-28
Status Offline
Post at 2013-2-25 10:24  Profile | Blog | P.M. 
Thanks for your report. We don't see the triangle at the left side in IDE editor. In fact, the triangle is not designed by CnWizards. Maybe it's an IDE internal feature, or by other wizards?

You can try to disable CnWizards from Start Menu and run XE3 again. If this triangle still exists, it's not our function.
Top
nmad
新警察
Rank: 1



UID 67801
Digest Posts 0
Credits 7
Posts 2
点点分 7
Reading Access 10
Registered 2013-2-25
Status Offline
Post at 2013-3-23 03:46  Profile | Blog | P.M. 
Thank you for your response. I have looked into this and the cause. The problem is indeed caused by cnPack:

The triangle is from ModelMaker Code Explorer for Delphi. The reason why it appears on the wrong line is because the structural highlighting of cnPack changes the editor font for begin and end tags, and therefore the line heights are altered. This was confirmed with MMX Tools forum.

Is there an option to maintain the basic editor font without changes of font size, type and weight?

Thanks again,

NM
Top
 




All times are GMT++8, the time now is 2024-4-25 16:51

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

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