What I really would like to see is the ability to save custom colour schemes.
In the early 90s I worked a bit with Borland C++ 3.0 for DOS and found the syntax colour scheme great to work with, so I mimiced it in the PB editor (among other BASIC editors).
It would also be nice to have this scheme added to the list:
ASMKeywordColor = 7490450
BackgroundColor = 10485760
BasicKeywordColor = 16777215
CommentColor = 8421440
ConstantColor = 8421504
LabelColor = 8421504
NormalTextColor = 4259584
NumberColor = 16744576
OperatorColor = 65535
PointerColor = 4259584
PureKeywordColor = 4259584
SeparatorColor = 65535
StringColor = 5111965
StructureColor = 4259584
LineNumberColor = 0
LineNumberBackColor = 8421504
MarkerColor = 11184640
CurrentLineColor = 10485760
SelectionColor = 8421504
SelectionFrontColor = 10485760
CursorColor = 8421504
Debugger_LineColor = 10485760
Debugger_LineSymbolColor = 10485760
Debugger_ErrorColor = 255
Debugger_ErrorSymbolColor = 255
Debugger_BreakPointColor = 16776960
Debugger_BreakpoinSymbolColor = 16776960
DisabledBackColor = 16316664
GoodBraceColor = 8454143
BadBraceColor = 255
ProcedureBackColor = 10485760
CustomKeywordColor = 16777215
Debugger_WarningColor = 53503
Debugger_WarningSymbolColor = 53503
EditorFontName = Courier New
EditorFontSize = 10
EditorFontStyle =
Many thanks in advance!
Syntax Colour Scheme
Syntax Colour Scheme
PureBasic 5.41 LTS | Xubuntu 16.04 (x32) | Windows 7 (x64)
-
- Enthusiast
- Posts: 469
- Joined: Sun Mar 16, 2008 9:18 am
Re: Syntax Colour Scheme
File -> Preferences -> Import/Export.Frarth wrote:What I really would like to see is the ability to save custom colour schemes.
Re: Syntax Colour Scheme
And then post the file contents on here for us to see 

Re: Syntax Colour Scheme
Beside Import/Export preferences, the ability to name/save custom colour schemes would be nice.
PureBasic 5.41 LTS | Xubuntu 16.04 (x32) | Windows 7 (x64)
Re: Syntax Colour Scheme
@Foz
; PureBasic IDE Exported Preferences
;
[Sections]
IncludeShortcuts = 1
IncludeToolbar = 1
IncludeColors = 1
IncludeFolding = 1
;
; Shortcut settings
;
[Shortcuts]
New = CONTROL+COMMAND+24
Open = CONTROL+COMMAND+25
Save = CONTROL+COMMAND+29
SaveAs = 0
SaveAll = 0
Reload = 0
Close = CONTROL+COMMAND+33
CloseAll = 0
EncodingPlain = 0
EncodingUtf8 = 0
NewlineWindows = 0
NewlineLinux = 0
NewlineMacOS = 0
SortSources = 0
Preferences = 0
Quit = 0
Undo = CONTROL+COMMAND+36
Redo = CONTROL+COMMAND+35
Cut = CONTROL+COMMAND+34
Copy = CONTROL+COMMAND+13
Paste = CONTROL+COMMAND+32
InsertComment = CONTROL+COMMAND+12
RemoveComment = ALT+12
SelectAll = CONTROL+COMMAND+11
Goto = CONTROL+COMMAND+17
JumpToKeyword = CONTROL+COMMAND+21
LastViewedLine = CONTROL+COMMAND+22
ToggleThisFold = 40
ToggleFolds = CONTROL+COMMAND+40
AddMarker = CONTROL+COMMAND+38
JumpToMarker = 38
ClearMarkers = 0
Find = CONTROL+COMMAND+16
FindNext = 39
FindInFiles = 0
NewProject = CONTROL+SHIFT+COMMAND+24
OpenProject = CONTROL+SHIFT+COMMAND+25
CloseProject = CONTROL+SHIFT+COMMAND+33
ProjectOptions = 0
AddProjectFile = CONTROL+SHIFT+COMMAND+11
RemoveProjectFile = CONTROL+SHIFT+COMMAND+28
OpenProjectFolder = 0
Compile = 41
RunExe = SHIFT+41
DebuggerCompile = 0
NoDebuggerCompile = 0
RestartCompiler = 0
CompilerOptions = 0
CreateEXE = 0
BuildAllTargets = 0
Debugger = 0
Stop = 42
Run = 43
Step = 44
StepX = CONTROL+COMMAND+44
StepOver = 46
StepOut = 47
Kill = 0
BreakPoint = 45
BreakClear = 0
ShowLog = 0
ClearLog = 0
CopyLog = 0
ClearErrorMarks = 0
DebugOutput = 0
WatchList = 0
VariableList = 0
Profiler = 0
History = 0
Memory = 0
LibraryViewer = 0
DebugAsm = 0
VisualDesigner = ALT+32
StructureViewer = ALT+29
FileViewer = 0
VariableViewer = 0
ColorPicker = ALT+26
AsciiTable = ALT+11
Explorer = ALT+34
ProcedureBrowser = 0
ProjectPanel = 0
Templates = 0
SmartUpdate = 0
AddTools = 0
Help = 37
About = 0
NextOpenFile = CONTROL+COMMAND+72
PreviousOpenFile = CONTROL+SHIFT+COMMAND+72
AutoComplete = CONTROL+COMMAND+80
AutoCompleteConfirm = 72
AutoCompleteAbort = 79
ProceduresUpdate = 48
;
; Toolbar layout
;
[Toolbar]
ItemCount = 24
Icon_1 = Menu:New
Action_1 = Menu:New
Icon_2 = Menu:Open
Action_2 = Menu:Open
Icon_3 = Menu:Save
Action_3 = Menu:Save
Icon_4 = Separator
Action_4 =
Icon_5 = Menu:Close
Action_5 = Menu:Close
Icon_6 = Separator
Action_6 =
Icon_7 = Menu:Cut
Action_7 = Menu:Cut
Icon_8 = Menu:Copy
Action_8 = Menu:Copy
Icon_9 = Menu:Paste
Action_9 = Menu:Paste
Icon_10 = Separator
Action_10 =
Icon_11 = Menu:Undo
Action_11 = Menu:Undo
Icon_12 = Menu:Redo
Action_12 = Menu:Redo
Icon_13 = Separator
Action_13 =
Icon_14 = Menu:VisualDesigner
Action_14 = Menu:VisualDesigner
Icon_15 = Menu:Compile
Action_15 = Menu:Compile
Icon_16 = Menu:CompilerOptions
Action_16 = Menu:CompilerOptions
Icon_17 = Separator
Action_17 =
Icon_18 = Menu:Debugger
Action_18 = Menu:Debugger
Icon_19 = Menu:Stop
Action_19 = Menu:Stop
Icon_20 = Menu:Run
Action_20 = Menu:Run
Icon_21 = Menu:Step
Action_21 = Menu:Step
Icon_22 = Menu:Step
Action_22 = Menu:StepOver
Icon_23 = Menu:StepOut
Action_23 = Menu:StepOut
Icon_24 = Menu:Kill
Action_24 = Menu:Kill
;
; Color settings
;
[Colors]
ASMKeywordColor = RGB(146, 75, 114)
ASMKeywordColor_Used = 1
BackgroundColor = RGB(0, 0, 160)
BackgroundColor_Used = 1
BasicKeywordColor = RGB(255, 255, 255)
BasicKeywordColor_Used = 1
CommentColor = RGB(64, 128, 128)
CommentColor_Used = 1
ConstantColor = RGB(128, 128, 128)
ConstantColor_Used = 1
LabelColor = RGB(128, 128, 128)
LabelColor_Used = 1
NormalTextColor = RGB(0, 255, 64)
NormalTextColor_Used = 1
NumberColor = RGB(128, 128, 255)
NumberColor_Used = 1
OperatorColor = RGB(255, 255, 0)
OperatorColor_Used = 1
PointerColor = RGB(0, 255, 64)
PointerColor_Used = 1
PureKeywordColor = RGB(0, 255, 64)
PureKeywordColor_Used = 1
SeparatorColor = RGB(255, 255, 0)
SeparatorColor_Used = 1
StringColor = RGB(157, 0, 78)
StringColor_Used = 1
StructureColor = RGB(0, 255, 64)
StructureColor_Used = 1
LineNumberColor = RGB(0, 0, 0)
LineNumberColor_Used = 1
LineNumberBackColor = RGB(128, 128, 128)
LineNumberBackColor_Used = 1
MarkerColor = RGB(0, 170, 170)
MarkerColor_Used = 1
CurrentLineColor = RGB(0, 0, 160)
CurrentLineColor_Used = 1
SelectionColor = RGB(128, 128, 128)
SelectionColor_Used = 1
SelectionFrontColor = RGB(0, 0, 160)
SelectionFrontColor_Used = 1
CursorColor = RGB(128, 128, 128)
CursorColor_Used = 1
Debugger_LineColor = RGB(0, 0, 160)
Debugger_LineColor_Used = 1
Debugger_LineSymbolColor = RGB(0, 0, 160)
Debugger_LineSymbolColor_Used = 1
Debugger_ErrorColor = RGB(255, 0, 0)
Debugger_ErrorColor_Used = 1
Debugger_ErrorSymbolColor = RGB(255, 0, 0)
Debugger_ErrorSymbolColor_Used = 1
Debugger_BreakPointColor = RGB(0, 255, 255)
Debugger_BreakPointColor_Used = 1
Debugger_BreakpoinSymbolColor = RGB(0, 255, 255)
Debugger_BreakpoinSymbolColor_Used = 1
DisabledBackColor = RGB(248, 248, 248)
DisabledBackColor_Used = 1
GoodBraceColor = RGB(255, 255, 128)
GoodBraceColor_Used = 1
BadBraceColor = RGB(255, 0, 0)
BadBraceColor_Used = 1
ProcedureBackColor = RGB(0, 0, 160)
ProcedureBackColor_Used = 1
CustomKeywordColor = RGB(255, 255, 255)
CustomKeywordColor_Used = 1
Debugger_WarningColor = RGB(255, 208, 0)
Debugger_WarningColor_Used = 1
Debugger_WarningSymbolColor = RGB(255, 208, 0)
Debugger_WarningSymbolColor_Used = 1
ToolsPanel_FrontColor = RGB(0, 0, 0)
ToolsPanel_BackColor = RGB(255, 255, 223)
;
; Folding Keywords
;
[Folding]
StartWords = 6
EndWords = 3
Start_1 = ;{
Start_2 = Macro
Start_3 = Procedure
Start_4 = ProcedureC
Start_5 = ProcedureCDLL
Start_6 = ProcedureDLL
End_1 = ;}
End_2 = EndMacro
End_3 = EndProcedure
; PureBasic IDE Exported Preferences
;
[Sections]
IncludeShortcuts = 1
IncludeToolbar = 1
IncludeColors = 1
IncludeFolding = 1
;
; Shortcut settings
;
[Shortcuts]
New = CONTROL+COMMAND+24
Open = CONTROL+COMMAND+25
Save = CONTROL+COMMAND+29
SaveAs = 0
SaveAll = 0
Reload = 0
Close = CONTROL+COMMAND+33
CloseAll = 0
EncodingPlain = 0
EncodingUtf8 = 0
NewlineWindows = 0
NewlineLinux = 0
NewlineMacOS = 0
SortSources = 0
Preferences = 0
Quit = 0
Undo = CONTROL+COMMAND+36
Redo = CONTROL+COMMAND+35
Cut = CONTROL+COMMAND+34
Copy = CONTROL+COMMAND+13
Paste = CONTROL+COMMAND+32
InsertComment = CONTROL+COMMAND+12
RemoveComment = ALT+12
SelectAll = CONTROL+COMMAND+11
Goto = CONTROL+COMMAND+17
JumpToKeyword = CONTROL+COMMAND+21
LastViewedLine = CONTROL+COMMAND+22
ToggleThisFold = 40
ToggleFolds = CONTROL+COMMAND+40
AddMarker = CONTROL+COMMAND+38
JumpToMarker = 38
ClearMarkers = 0
Find = CONTROL+COMMAND+16
FindNext = 39
FindInFiles = 0
NewProject = CONTROL+SHIFT+COMMAND+24
OpenProject = CONTROL+SHIFT+COMMAND+25
CloseProject = CONTROL+SHIFT+COMMAND+33
ProjectOptions = 0
AddProjectFile = CONTROL+SHIFT+COMMAND+11
RemoveProjectFile = CONTROL+SHIFT+COMMAND+28
OpenProjectFolder = 0
Compile = 41
RunExe = SHIFT+41
DebuggerCompile = 0
NoDebuggerCompile = 0
RestartCompiler = 0
CompilerOptions = 0
CreateEXE = 0
BuildAllTargets = 0
Debugger = 0
Stop = 42
Run = 43
Step = 44
StepX = CONTROL+COMMAND+44
StepOver = 46
StepOut = 47
Kill = 0
BreakPoint = 45
BreakClear = 0
ShowLog = 0
ClearLog = 0
CopyLog = 0
ClearErrorMarks = 0
DebugOutput = 0
WatchList = 0
VariableList = 0
Profiler = 0
History = 0
Memory = 0
LibraryViewer = 0
DebugAsm = 0
VisualDesigner = ALT+32
StructureViewer = ALT+29
FileViewer = 0
VariableViewer = 0
ColorPicker = ALT+26
AsciiTable = ALT+11
Explorer = ALT+34
ProcedureBrowser = 0
ProjectPanel = 0
Templates = 0
SmartUpdate = 0
AddTools = 0
Help = 37
About = 0
NextOpenFile = CONTROL+COMMAND+72
PreviousOpenFile = CONTROL+SHIFT+COMMAND+72
AutoComplete = CONTROL+COMMAND+80
AutoCompleteConfirm = 72
AutoCompleteAbort = 79
ProceduresUpdate = 48
;
; Toolbar layout
;
[Toolbar]
ItemCount = 24
Icon_1 = Menu:New
Action_1 = Menu:New
Icon_2 = Menu:Open
Action_2 = Menu:Open
Icon_3 = Menu:Save
Action_3 = Menu:Save
Icon_4 = Separator
Action_4 =
Icon_5 = Menu:Close
Action_5 = Menu:Close
Icon_6 = Separator
Action_6 =
Icon_7 = Menu:Cut
Action_7 = Menu:Cut
Icon_8 = Menu:Copy
Action_8 = Menu:Copy
Icon_9 = Menu:Paste
Action_9 = Menu:Paste
Icon_10 = Separator
Action_10 =
Icon_11 = Menu:Undo
Action_11 = Menu:Undo
Icon_12 = Menu:Redo
Action_12 = Menu:Redo
Icon_13 = Separator
Action_13 =
Icon_14 = Menu:VisualDesigner
Action_14 = Menu:VisualDesigner
Icon_15 = Menu:Compile
Action_15 = Menu:Compile
Icon_16 = Menu:CompilerOptions
Action_16 = Menu:CompilerOptions
Icon_17 = Separator
Action_17 =
Icon_18 = Menu:Debugger
Action_18 = Menu:Debugger
Icon_19 = Menu:Stop
Action_19 = Menu:Stop
Icon_20 = Menu:Run
Action_20 = Menu:Run
Icon_21 = Menu:Step
Action_21 = Menu:Step
Icon_22 = Menu:Step
Action_22 = Menu:StepOver
Icon_23 = Menu:StepOut
Action_23 = Menu:StepOut
Icon_24 = Menu:Kill
Action_24 = Menu:Kill
;
; Color settings
;
[Colors]
ASMKeywordColor = RGB(146, 75, 114)
ASMKeywordColor_Used = 1
BackgroundColor = RGB(0, 0, 160)
BackgroundColor_Used = 1
BasicKeywordColor = RGB(255, 255, 255)
BasicKeywordColor_Used = 1
CommentColor = RGB(64, 128, 128)
CommentColor_Used = 1
ConstantColor = RGB(128, 128, 128)
ConstantColor_Used = 1
LabelColor = RGB(128, 128, 128)
LabelColor_Used = 1
NormalTextColor = RGB(0, 255, 64)
NormalTextColor_Used = 1
NumberColor = RGB(128, 128, 255)
NumberColor_Used = 1
OperatorColor = RGB(255, 255, 0)
OperatorColor_Used = 1
PointerColor = RGB(0, 255, 64)
PointerColor_Used = 1
PureKeywordColor = RGB(0, 255, 64)
PureKeywordColor_Used = 1
SeparatorColor = RGB(255, 255, 0)
SeparatorColor_Used = 1
StringColor = RGB(157, 0, 78)
StringColor_Used = 1
StructureColor = RGB(0, 255, 64)
StructureColor_Used = 1
LineNumberColor = RGB(0, 0, 0)
LineNumberColor_Used = 1
LineNumberBackColor = RGB(128, 128, 128)
LineNumberBackColor_Used = 1
MarkerColor = RGB(0, 170, 170)
MarkerColor_Used = 1
CurrentLineColor = RGB(0, 0, 160)
CurrentLineColor_Used = 1
SelectionColor = RGB(128, 128, 128)
SelectionColor_Used = 1
SelectionFrontColor = RGB(0, 0, 160)
SelectionFrontColor_Used = 1
CursorColor = RGB(128, 128, 128)
CursorColor_Used = 1
Debugger_LineColor = RGB(0, 0, 160)
Debugger_LineColor_Used = 1
Debugger_LineSymbolColor = RGB(0, 0, 160)
Debugger_LineSymbolColor_Used = 1
Debugger_ErrorColor = RGB(255, 0, 0)
Debugger_ErrorColor_Used = 1
Debugger_ErrorSymbolColor = RGB(255, 0, 0)
Debugger_ErrorSymbolColor_Used = 1
Debugger_BreakPointColor = RGB(0, 255, 255)
Debugger_BreakPointColor_Used = 1
Debugger_BreakpoinSymbolColor = RGB(0, 255, 255)
Debugger_BreakpoinSymbolColor_Used = 1
DisabledBackColor = RGB(248, 248, 248)
DisabledBackColor_Used = 1
GoodBraceColor = RGB(255, 255, 128)
GoodBraceColor_Used = 1
BadBraceColor = RGB(255, 0, 0)
BadBraceColor_Used = 1
ProcedureBackColor = RGB(0, 0, 160)
ProcedureBackColor_Used = 1
CustomKeywordColor = RGB(255, 255, 255)
CustomKeywordColor_Used = 1
Debugger_WarningColor = RGB(255, 208, 0)
Debugger_WarningColor_Used = 1
Debugger_WarningSymbolColor = RGB(255, 208, 0)
Debugger_WarningSymbolColor_Used = 1
ToolsPanel_FrontColor = RGB(0, 0, 0)
ToolsPanel_BackColor = RGB(255, 255, 223)
;
; Folding Keywords
;
[Folding]
StartWords = 6
EndWords = 3
Start_1 = ;{
Start_2 = Macro
Start_3 = Procedure
Start_4 = ProcedureC
Start_5 = ProcedureCDLL
Start_6 = ProcedureDLL
End_1 = ;}
End_2 = EndMacro
End_3 = EndProcedure
PureBasic 5.41 LTS | Xubuntu 16.04 (x32) | Windows 7 (x64)
Re: Syntax Colour Scheme
Ooooh!!! I remember this colour scheme! Nice one! 

Re: Syntax Colour Scheme
If this is the correct scheme, I don't know how you can stand to look at the dark red on blue background. It hurts my eyes.

Here is my favorite color scheme for PureBasic, from this thread http://www.purebasic.fr/english/viewtop ... 17&t=23497


Here is my favorite color scheme for PureBasic, from this thread http://www.purebasic.fr/english/viewtop ... 17&t=23497

Re: Syntax Colour Scheme
Nice to see that interface again... it's a long time ago.
The colour scheme I use is based on this, but it needs a slightly different blue background and red for the string quotes so it doesn't "hurt your eyes". How each scheme looks also depends on the monitor. Most flat screens look more or less the same, but older CRT monitors may display it very differently; remember that this scheme is from the time that there were no flat screens, just CRT monitors.
Frank
The colour scheme I use is based on this, but it needs a slightly different blue background and red for the string quotes so it doesn't "hurt your eyes". How each scheme looks also depends on the monitor. Most flat screens look more or less the same, but older CRT monitors may display it very differently; remember that this scheme is from the time that there were no flat screens, just CRT monitors.
Frank
PureBasic 5.41 LTS | Xubuntu 16.04 (x32) | Windows 7 (x64)