The MASM Forum Archive 2004 to 2012

Project Support Forums => IDE Development and Support => RadAsm Support Forum => Topic started by: TmX on June 01, 2009, 04:51:01 PM

Title: Customizing *.INI
Post by: TmX on June 01, 2009, 04:51:01 PM
Hi Ketil,

I want to customize the Free Pascal's highlighter, so I need to edit fp.ini
(http://www.stooorage.com/thumbs/106/127794_fp.png) (http://www.stooorage.com/show/106/127794_fp.png)

First, I'm going to change the background color. As you can see, it's sort of dark blue.
By using CPick (http://home.hccnet.nl/s.j.francke/software/cpick.zip), it's known the hex value is 000040

So I take a look at fp.ini, and I'm guessing "Back=4194304" one should be the background color:

[Color]
UseColor=1
DivLine=1
NoFlicker=1
Back=4194304
Fore=12632256
SelBack=8421504


No match.
Then I try to see what color is this "4194304". CPick shows it as a green.
I don't think this is no a decimal, or hex format.
So how can I interpret is?
Title: Re: Customizing *.INI
Post by: Jimg on June 01, 2009, 10:03:10 PM
Why not?  That's 400000h, looks pretty green to me.
Title: Re: Customizing *.INI
Post by: TmX on June 02, 2009, 01:12:47 AM
I think I solved it: use RadASM's Colref tool.

Now I need to figure out what do these lines mean:

UseColor=1
DivLine=1
NoFlicker=1
Back=4194304
Fore=12632256
SelBack=8421504
SelText=16777215
HiLine1=5395026
HiLine2=12644544
HiLine3=6052956
Bar=12632256
BarPen=8421504
LnrFontColor=4194304
Cmnt=65535
Str=16777215
Oper=12632256
C0=16744448
C1=12615935
C2=12615808
C3=11184640
C4=16777215
C5=16777215
C6=33488896
C7=16711808
C8=285212671
C9=16777215
C10=255
C11=8421376
C12=33023
C13=0
C14=0
C15=0
Output=4194304
Project=4194304
Property=4194304
Dialog=65280
CustColors=0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0
Outputtext=12632256
Projecttext=12632256
Propertytext=12632256
Num=12632256
CmntBack=0
StrBack=0
NumBack=0
OperBack=0
B0=0
B1=0
B2=0
B3=0
B4=0
B5=0
B6=0
B7=0
B8=0
B9=0
B10=0
B11=0
B12=0
B13=0
B14=0
B15=0
Info=8421376
Infotext=8421504


The Bxx and Cxx are not pretty obvious. Wonder what do they mean. Hmm...
Title: Re: Customizing *.INI
Post by: Mark Jones on June 02, 2009, 06:25:05 PM
It is easier to just change the colors from Option-->Colors & Keywords. Can see there are 16 "Groups" there and their colors. :U
Title: Re: Customizing *.INI
Post by: TmX on June 03, 2009, 11:48:57 AM
Quote from: Mark Jones on June 02, 2009, 06:25:05 PM
It is easier to just change the colors from Option-->Colors & Keywords. Can see there are 16 "Groups" there and their colors. :U

Isn't that to change RadASM's theme?
What I'd like to change is the syntax highlighter file, not the theme.