Custom syntax files in 4.1

Post your bug reports here
Gingko
Posts: 19
Joined: Thu Aug 27, 2009 4:51 pm
Location: France

Custom syntax files in 4.1

Postby Gingko » Sun Sep 27, 2009 6:56 am

Hello,

Are custom syntax files working in Compare It! 4.1 ?
It seems that I cannot get anyone working, although taken from the ConTEXT web site.

I tried PHP/HTML, BASH Script and NSIS Script.

Dialog screenshot for NSIS Script :
Image

(full syntax file path, here, is C:\Program Files\Compare It!\syntax\NsisScript.chl).

  • Compare It! version 4.1.2170
  • Windows XP Professional SP3
Otherwise perfectly working with internal syntax hilighting (like C++).

What am I doing wrong ?

Gingko

grigsoft
Site Admin
Posts: 1671
Joined: Tue Sep 23, 2003 7:37 pm

Postby grigsoft » Sun Sep 27, 2009 11:43 am

It does work for me. Do you have syntax enabled at View>EnableSyntax? Also, try moving syntax file to another folder - maybe there is some problem with reading file from it's current location.

Gingko
Posts: 19
Joined: Thu Aug 27, 2009 4:51 pm
Location: France

Postby Gingko » Sun Sep 27, 2009 6:41 pm

grigsoft wrote:It does work for me. Do you have syntax enabled at View>EnableSyntax?

Yes, it is enabled. See picture.
Image
grigsoft wrote:Also, try moving syntax file to another folder - maybe there is some problem with reading file from it's current location.

I put them into the specific "C:\Program Files\Compare It!\syntax" directory created by Compare It  ! installation.
Anyway, trying another one, for example D:\TEMP\ doesn't make any change.

Do you want I send you a copy of my wincmp3.ini export file ?

Gingko

grigsoft
Site Admin
Posts: 1671
Joined: Tue Sep 23, 2003 7:37 pm

Postby grigsoft » Mon Sep 28, 2009 4:01 am

Yes, this might help, thank you. send it to support@grigsoft.com . Also, could you check if coloring will wok for some other nsis script?

Gingko
Posts: 19
Joined: Thu Aug 27, 2009 4:51 pm
Location: France

Custom syntax files in 4.1

Postby Gingko » Mon Sep 28, 2009 5:27 am

grigsoft wrote:Yes, this might help, thank you. send it to support@grigsoft.com .


Ok, I just sent it.

grigsoft wrote:Also, could you check if coloring will wok for some other nsis script?

Just checked also, but no change.

I also quickly tried on another computer with same OS, and same result (no colors).

Additional information, all my Windows installations are French localized. Maybe it could be related ?
(I also normally use French dictionary in Compare It !, but I reverted to English for the purpose of this report)

I will try to make other tests, for example on Windows Vista or Windows Seven.

Gingko

grigsoft
Site Admin
Posts: 1671
Joined: Tue Sep 23, 2003 7:37 pm

Postby grigsoft » Tue Sep 29, 2009 4:39 am

I have answered by email, but in case somebody else will have similar problem - try moving your file filter to the top of the list. If coloring will start working, check your filters - some filters may have * or similar which matches all files. I will make program to detect this.

Gingko
Posts: 19
Joined: Thu Aug 27, 2009 4:51 pm
Location: France

Postby Gingko » Tue Sep 29, 2009 4:55 am

grigsoft wrote:I have answered by email, but in case somebody else will have similar problem - try moving your file filter to the top of the list. If coloring will start working, check your filters - some filters may have * or similar which matches all files. I will make program to detect this.


Thank you very much, it works. I effectively had this kind of pattern, inherited from an old version install (I never wrote it).

Maybe something should be made for avoiding that any given pattern could completely mask another one following it in the list.

Gingko


Return to “Synchronize It! : Bug reports”

Who is online

Users browsing this forum: No registered users and 1 guest