CnPack Forum


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



UID 40762
Digest Posts 0
Credits 206
Posts 68
点点分 206
Reading Access 10
Registered 2008-8-10
Status Offline
Post at 2017-1-8 20:32  Profile | 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 6838
Posts 3591
点点分 6838
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 6838
Posts 3591
点点分 6838
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: 4



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



UID 40762
Digest Posts 0
Credits 206
Posts 68
点点分 206
Reading Access 10
Registered 2008-8-10
Status Offline
Post at 2017-1-9 23:10  Profile | 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: 4



UID 40762
Digest Posts 0
Credits 206
Posts 68
点点分 206
Reading Access 10
Registered 2008-8-10
Status Offline
Post at 2017-1-15 14:44  Profile | 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 2024-11-21 21:04

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

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