News:

MASM32 SDK Description, downloads and other helpful links
MASM32.com New Forum Link
masmforum WebSite

Customizing *.INI

Started by TmX, June 01, 2009, 04:51:01 PM

Previous topic - Next topic

TmX

Hi Ketil,

I want to customize the Free Pascal's highlighter, so I need to edit fp.ini


First, I'm going to change the background color. As you can see, it's sort of dark blue.
By using CPick, 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?

Jimg

Why not?  That's 400000h, looks pretty green to me.

TmX

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...

Mark Jones

It is easier to just change the colors from Option-->Colors & Keywords. Can see there are 16 "Groups" there and their colors. :U
"To deny our impulses... foolish; to revel in them, chaos." MCJ 2003.08

TmX

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.