mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-09-11 13:19:21 +02:00
IDE: editor options: use current formatversion as default
git-svn-id: trunk@49970 -
This commit is contained in:
parent
6afc2c033f
commit
ad9bc5f97c
@ -5215,7 +5215,7 @@ function TEditorOptions.ReadPascalColorScheme: String;
|
|||||||
var
|
var
|
||||||
FormatVersion: Integer;
|
FormatVersion: Integer;
|
||||||
begin
|
begin
|
||||||
FormatVersion := XMLConfig.GetValue('EditorOptions/Color/Version', 0); // Should default be EditorOptsFormatVersion?
|
FormatVersion := XMLConfig.GetValue('EditorOptions/Color/Version', EditorOptsFormatVersion);
|
||||||
if FormatVersion > 1 then
|
if FormatVersion > 1 then
|
||||||
Result := XMLConfig.GetValue(
|
Result := XMLConfig.GetValue(
|
||||||
'EditorOptions/Color/Lang' + StrToValidXMLName(
|
'EditorOptions/Color/Lang' + StrToValidXMLName(
|
||||||
|
Loading…
Reference in New Issue
Block a user