XML lexer not using colors
XML lexer not using colors
Hello,
I have an XML that is about 1.5MB in size. This file has about 48000 lines and none of them is longer than 100 chars. When I open that file, XML lexer is used. However, It does not color highlight the file except the first line. Sample screen capture is attached.
File using end-of-line chars as LF but changing it to CRLF does not help either. I do not see any update for XML lexer in Update add-ons screen.
Manually switching to XML Lite lexer is my current work around.
I appreciate any help.
Thanks & Regards,
Ertan
I have an XML that is about 1.5MB in size. This file has about 48000 lines and none of them is longer than 100 chars. When I open that file, XML lexer is used. However, It does not color highlight the file except the first line. Sample screen capture is attached.
File using end-of-line chars as LF but changing it to CRLF does not help either. I do not see any update for XML lexer in Update add-ons screen.
Manually switching to XML Lite lexer is my current work around.
I appreciate any help.
Thanks & Regards,
Ertan
-
- Posts: 2245
- Joined: 25.08.2021 18:15
That is good question. I wrote the reply, now, to the wiki--
https://wiki.freepascal.org/CudaText#Wh ... _XML_lexer
https://wiki.freepascal.org/CudaText#Wh ... _XML_lexer
I personally liked option
Modified it in Settings - user and all is fine now.
Thanks for the wiki.
Code: Select all
"ui_max_size_lexer":2
Thanks for the wiki.
-
- Posts: 2245
- Joined: 25.08.2021 18:15
-
- Posts: 2245
- Joined: 25.08.2021 18:15
Right, it does work with long lined files. But, I find number color Navy to be a bit difficult to read on my theme setting. Comparing it with XML Lite lexer.
Thanks for the feature.
Edit: Navy color is better on my ViewSonic monitor and difficult to read on Asus monitor. I take it depends on the monitor capabilities, too.
Thanks for the feature.
Edit: Navy color is better on my ViewSonic monitor and difficult to read on Asus monitor. I take it depends on the monitor capabilities, too.
-
- Posts: 2245
- Joined: 25.08.2021 18:15
-
- Posts: 2245
- Joined: 25.08.2021 18:15