Save a color scheme into a file.

Got an idea for enhancing PureBasic? New command(s) you'd like to see?
DriakTravo
Enthusiast
Enthusiast
Posts: 346
Joined: Fri Oct 10, 2003 12:42 am
Location: Tampa,FL,USA
Contact:

Save a color scheme into a file.

Post by DriakTravo »

It would be very cool if you can save the color scheme for the code into files so that people can put PB color scemes on their sites.
freak
PureBasic Team
PureBasic Team
Posts: 5940
Joined: Fri Apr 25, 2003 5:21 pm
Location: Germany

Post by freak »

It is all stored in the 'PureBasic.prefs' file in your PB directory.

Timo
quidquid Latine dictum sit altum videtur
GPI
PureBasic Expert
PureBasic Expert
Posts: 1394
Joined: Fri Apr 25, 2003 6:41 pm

Post by GPI »

But maybe it is a good idea to save it seperate in a file (and load it). So the user can easier test diffrent themes.
DriakTravo
Enthusiast
Enthusiast
Posts: 346
Joined: Fri Oct 10, 2003 12:42 am
Location: Tampa,FL,USA
Contact:

Post by DriakTravo »

It is all stored in the 'PureBasic.prefs' file in your PB directory.

Timo
Doesn't this file also hold other prefrences?
GPI
PureBasic Expert
PureBasic Expert
Posts: 1394
Joined: Fri Apr 25, 2003 6:41 pm

Post by GPI »

DriakTravo wrote:
It is all stored in the 'PureBasic.prefs' file in your PB directory.

Timo
Doesn't this file also hold other prefrences?
Yes it does. Open it, it is a plain ascii-File.

GPI
freak
PureBasic Team
PureBasic Team
Posts: 5940
Joined: Fri Apr 25, 2003 5:21 pm
Location: Germany

Post by freak »

If you want, you can cut everything else out. The editor will just use the default, if a value is missing.

Timo
quidquid Latine dictum sit altum videtur
Post Reply