CnPack Forum


 
Subject: TABS instead SPACES
egochnpp
新警察
Rank: 1



UID 68137
Digest Posts 0
Credits 6
Posts 2
点点分 6
Reading Access 10
Registered 2014-5-26
Status Offline
Post at 2014-5-26 17:08  Profile | Blog | P.M. 
TABS instead SPACES

Hello everyone!

I use cnwizards in delphi 5 and I have one intresting question...
If you press Enter key when cursor is at the string's end Delphi automatically aligns cursor position at the new line to the first world at the previous line.
But space between begin of new line and cursor position will be filled with SPASE chars.
How to change this behaviour? I want some amount of TAB characters from begin of new line to the cursor position, as notepad++ do that.

Thanks
Top
egochnpp
新警察
Rank: 1



UID 68137
Digest Posts 0
Credits 6
Posts 2
点点分 6
Reading Access 10
Registered 2014-5-26
Status Offline
Post at 2014-5-26 19:18  Profile | Blog | P.M. 
The problem is solved. Tools\Editor options. Check 'Use tab characters' and 'Optimal fill'
Top
Passion (LiuXiao)
管理员
Rank: 9Rank: 9Rank: 9


UID 359
Digest Posts 19
Credits 6750
Posts 3551
点点分 6750
Reading Access 102
Registered 2004-3-28
Status Offline
Post at 2014-5-27 10:33  Profile | Blog | P.M. 

It's done by IDE itself.
Top
 




All times are GMT++8, the time now is 2024-3-29 14:30

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

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