CnPack Forum


 
Subject: Source Highlight not work in ".inc" files
freeman
灌水科科长
Rank: 3Rank: 3



UID 40762
Digest Posts 0
Credits 140
Posts 48
点点分 140
Reading Access 10
Registered 2008-8-10
Status Offline
Post at 2017-1-8 20:32  Profile | Blog | P.M. 
Source Highlight not work in ".inc" files

Hello,
Source Highlight not work in ".inc" files
and please chek .dpk file. 'cos broke it build 869
when click build or clean, or click on option, chaged dpk file source like this:
requires -> rrequires
contains -> ontains
and. -> d.

I think unicode problem.
regards
Top
Passion (LiuXiao)
管理员
Rank: 9Rank: 9Rank: 9


UID 359
Digest Posts 19
Credits 6431
Posts 3393
点点分 6431
Reading Access 102
Registered 2004-3-28
Status Offline
Post at 2017-1-9 17:16  Profile | Blog | P.M. 
Please tell me the Delphi Version which cause DPK corrupted?

Also some friends report this bug before but we can't reproduce. There's a clue shows it comes from the "Version Enhancement". Please disable the "Version Enhancement" in our setting dialog and try again to check whether this problem exists?
Top
Passion (LiuXiao)
管理员
Rank: 9Rank: 9Rank: 9


UID 359
Digest Posts 19
Credits 6431
Posts 3393
点点分 6431
Reading Access 102
Registered 2004-3-28
Status Offline
Post at 2017-1-9 18:24  Profile | Blog | P.M. 
About the inc file, in fact, we try to parse inc file as Pascal source. So it should be highlighted as Pascal. But maybe inc file does not have full structure like a Pascal unit, there maybe exists some problem when parsing. If can, could you send me the inc file with problem? master@cnpack.org
Top
freeman
灌水科科长
Rank: 3Rank: 3



UID 40762
Digest Posts 0
Credits 140
Posts 48
点点分 140
Reading Access 10
Registered 2008-8-10
Status Offline
Post at 2017-1-9 23:02  Profile | Blog | P.M. 
Delphi berlin upd 2
I'll try letter that. My solution was remobe cnwizard then reinstall
Top
freeman
灌水科科长
Rank: 3Rank: 3



UID 40762
Digest Posts 0
Credits 140
Posts 48
点点分 140
Reading Access 10
Registered 2008-8-10
Status Offline
Post at 2017-1-9 23:10  Profile | Blog | P.M. 
for inc file, you rigth, My idea is it can be optional, can set shortcut, not automatic Highlighting. and I'm talk about pascal source. IDE "Enable Structural Highlighting" not work too.
Regrads
Top
freeman
灌水科科长
Rank: 3Rank: 3



UID 40762
Digest Posts 0
Credits 140
Posts 48
点点分 140
Reading Access 10
Registered 2008-8-10
Status Offline
Post at 2017-1-15 14:44  Profile | Blog | P.M. 


QUOTE:
Originally posted by Passion at 2017-1-9 17:16
Please tell me the Delphi Version which cause DPK corrupted?

Also some friends report this bug before but we can't reproduce. There's a clue shows it comes from the "Version Enhancement". P ...

This solution fixed my problem. But need to close & reopen packages, after unchek "Version Enhancement".
Top
 




All times are GMT++8, the time now is 2017-12-15 04:32

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

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