Syntax highlighting in the Inno IDE

43 views
Skip to first unread message

Tommi Prami

unread,
Sep 12, 2025, 3:22:47 AMSep 12
to inno...@googlegroups.com
Hello.

Seems that Pascal(script) highlighting does not work very well in all the files.

And that makes reading the code that much harder. Seems that in included files only comments work, like // -Pascal style single line comments. Did not check all the others.

Would be nice if this could be fixed or enabled somehow. Don't know if there is some kind of workaround for this?

Code looks like this for me:

image.png

And when it works, in the dark theme, could you change to blue color, lighter, it is really difficult for me to read. Like inn screenshots from the Text Editor Pro/TTextEditor-Delphi component.

image.png

-----------------------------
Also if possible enhance the Pascal scripting highlighting. If possible or someone has time for it. I know It is its own kind of art. But maybe take inspiration  from Text Editor Pro. Using TTextEditor "syntax highlightingable" component could be a big task, but it develops quite nicely. Changing to that would definitely take some time. 

I'll put some screen shots from it, from dark theme, which I use:

image.png

image.png

image.png


Martijn Laan

unread,
Sep 12, 2025, 9:01:04 AMSep 12
to innosetup
Add a [Code] section header to your include files to fix this.

I will look into the blue color. 

Greetings,
Martijn


Op vr 12 sep , Tommi Prami <tommi...@gmail.com> schreef:
--
You received this message because you are subscribed to the Google Groups "innosetup" group.
To unsubscribe from this group and stop receiving emails from it, send an email to innosetup+...@googlegroups.com.
To view this discussion visit https://groups.google.com/d/msgid/innosetup/CABwd-aqTBhCkGe4uQ5ywbVS8xr4R6Nmw3Fds4nxFDjcxjtkhkg%40mail.gmail.com.

Martijn Laan

unread,
Sep 26, 2025, 2:29:57 PM (3 days ago) Sep 26
to innosetup
Hi,

Op 12-9-2025 om 09:22 schreef Tommi Prami:
And when it works, in the dark theme, could you change to blue color, lighter, it is really difficult for me to read

I've checked the contrast ratio of all syntax highlighting colors and increased it to at least 4.5 when needed.

In dark mode this lightened red, blue, purple and gray. 
In light mode this darkened red, green, orange and teal. 

Hope this will help you. See below for a comparison.

This will be in 6.6.0, I don't know yet when it will be released.

Greetings,
Martijn

Before



After

Tommi Prami

unread,
Sep 27, 2025, 1:12:55 AM (2 days ago) Sep 27
to inno...@googlegroups.com
Yellow,

Way good. Looks better.

Thanks for your efforts.

-tee-

--
You received this message because you are subscribed to the Google Groups "innosetup" group.
To unsubscribe from this group and stop receiving emails from it, send an email to innosetup+...@googlegroups.com.
Reply all
Reply to author
Forward
0 new messages