unicode syntax highlight error

Display customization and font issues

unicode syntax highlight error

Postby imdjs » Fri May 03, 2013 11:39 pm

HI
I found the syntax highlight display wrong in unicode editing with some unicode words,but some unicode words are correct , what can I do to make the left bracket or left brace syntax highlight correctly ?

Image

here is my .cpp file
syntex error display.zip
(378 Bytes) Downloaded 18 times
imdjs
Newbie
 
Posts: 3
Joined: Fri May 03, 2013 11:13 pm

Re: unicode syntax highlight error

Postby Mofi » Sat May 04, 2013 8:45 am

Are ( and ) both listed in the wordfile on the line starting with /Delimiters = ?

And is the wordfile an ANSI file with DOS line terminators?

The wordfile cannot be encoded in any Unicode format. So words with Unicode characters cannot be defined in the wordfile.

If the parenthesis are defined as delimiter characters and the wordfile is an ASCII/ANSI file with DOS line terminators, you should report this issue to IDM support by email with attaching in a ZIP file the wordfile, the example file opened in UltraEdit and the PNG screenshot. Write also which font you have set as display font.
User avatar
Mofi
Grand Master
Grand Master
 
Posts: 4049
Joined: Thu Jul 29, 2004 11:00 pm
Location: Vienna

Re: unicode syntax highlight error

Postby imdjs » Sat May 04, 2013 11:02 pm

I use all the setting by default did not change anything, and I have tried every syntax to display my file for example c/c++, python, and have tried to change my file into different format. It all has the same error not only parenthesis but other delimiters.
imdjs
Newbie
 
Posts: 3
Joined: Fri May 03, 2013 11:13 pm

Re: unicode syntax highlight error

Postby Mofi » Sun May 05, 2013 9:24 am

I cannot reproduce the issue exactly as your screenshot shows using your CPP file, but the syntax highlighting is nevertheless not correct as it highlights also some Unicode characters with a color not being normal text color which should not be highlighted.

As this is a user-to-user forum and I'm also just a user, you need to report this issue by email to IDM support as stated at top of every forum page. Click on email us directly.
User avatar
Mofi
Grand Master
Grand Master
 
Posts: 4049
Joined: Thu Jul 29, 2004 11:00 pm
Location: Vienna

Re: unicode syntax highlight error

Postby imdjs » Thu May 09, 2013 5:02 am

I have reported this to IDM support by email ,and they have confirmed it. this error only occur when you set your windows system language to chinese or other unicode language.
imdjs
Newbie
 
Posts: 3
Joined: Fri May 03, 2013 11:13 pm


Return to Editor Display