[Implemented] PB IDE - Own color schemes

Got an idea for enhancing PureBasic? New command(s) you'd like to see?
User avatar
Joakim Christiansen
Addict
Addict
Posts: 2452
Joined: Wed Dec 22, 2004 4:12 pm
Location: Norway
Contact:

[Implemented] PB IDE - Own color schemes

Post by Joakim Christiansen »

Would be cool if we could make our own color schemes so they are selectable in the color schemes list. Wouldn't be too hard to make it so either! :P
I like logic, hence I dislike humans but love computers.
Trond
Always Here
Always Here
Posts: 7446
Joined: Mon Sep 22, 2003 6:45 pm
Location: Norway

Post by Trond »

And I would like a way to select the background colour once and for all. It's a bit annoying to change the colour 8 times to change it.
freak
PureBasic Team
PureBasic Team
Posts: 5940
Joined: Fri Apr 25, 2003 5:21 pm
Location: Germany

Post by freak »

8 times !?

btw, you can use the export/import function to save your color schemes.
quidquid Latine dictum sit altum videtur
Kale
PureBasic Expert
PureBasic Expert
Posts: 3000
Joined: Fri Apr 25, 2003 6:03 pm
Location: Lincoln, UK
Contact:

Post by Kale »

Heres my colour scheme, and it rocks! I nabbed it from somewhere on these forums. ;)

Code: Select all

ASMKeywordColor = 8698098
BackgroundColor = 4337457
BasicKeywordColor = 12615808
CommentColor = 13816530
ConstantColor = 9889280
LabelColor = 8698098
NormalTextColor = 9671571
NumberColor = 12615808
OperatorColor = 32896
PointerColor = 13487565
PureKeywordColor = 7313271
SeparatorColor = 32896
StringColor = 13805222
StructureColor = 9671571
LineNumberColor = 9276813
LineNumberBackColor = 3218981
MarkerColor = 11184640
CurrentLineColor = 4074280
CursorColor = 12632256
SelectionColor = 12632256
SelectionFrontColor = 0
DisabledBackColor = 4337457
Debugger_LineColor = 16771304
Debugger_ErrorColor = 255
Debugger_BreakPointColor = 53503
Debugger_LineSymbolColor = 16771304
Debugger_ErrorSymbolColor = 255
Debugger_BreakpoinSymbolColor = 53503
Just replace the values inside your 'Purebasic.prefs' file.
--Kale

Image
Trond
Always Here
Always Here
Posts: 7446
Joined: Mon Sep 22, 2003 6:45 pm
Location: Norway

Post by Trond »

freak wrote:8 times !?
Well, I was only guessing.
1. Background
2. Current line background
3. Current line background (debugger)
4. Error background (debugger)
5. Breakpoint (debugger)
6. Background (debugger)

(And if you want the same background for the margin and tools that's two extra, in total 8, but I don't want that).

That's quite a lot to change just to experiment with a new background colour for a while. And change it all again when it turns out to be just a wee bit too dark.
freak
PureBasic Team
PureBasic Team
Posts: 5940
Joined: Fri Apr 25, 2003 5:21 pm
Location: Germany

Post by freak »

I get the point. I could make almost all color options optional (so when disabling them, it falls back to one of the others)
I have put this on the todo list for the 4.1 IDE updates.

For own color schemes: I think the import/export function in the prefs is enough,
as probably not too many would use such a feature anyway.
quidquid Latine dictum sit altum videtur
Trond
Always Here
Always Here
Posts: 7446
Joined: Mon Sep 22, 2003 6:45 pm
Location: Norway

Post by Trond »

freak wrote:I get the point. I could make almost all color options optional (so when disabling them, it falls back to one of the others)
I have put this on the todo list for the 4.1 IDE updates.
Thanks!
Post Reply