mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-08-15 21:19:07 +02:00
EditorOptions: PreviewSyn would not always show correct "every nth LineNum only"
git-svn-id: trunk@21219 -
This commit is contained in:
parent
e993b0b561
commit
8a5cb23dc0
@ -281,11 +281,13 @@ procedure TEditorDisplayOptionsFrame.ReadSettings(AOptions: TAbstractIDEOptions)
|
|||||||
begin
|
begin
|
||||||
with AOptions as TEditorOptions do
|
with AOptions as TEditorOptions do
|
||||||
begin
|
begin
|
||||||
|
// init the spin-edit first, since it does not trigger on change,
|
||||||
|
// but is copied when checkboxes are initalized
|
||||||
|
ShowOnlyLineNumbersMultiplesOfSpinEdit.Value := ShowOnlyLineNumbersMultiplesOf;
|
||||||
|
GutterSeparatorIndexSpinBox.Value := GutterSeparatorIndex;
|
||||||
VisibleRightMarginCheckBox.Checked := VisibleRightMargin;
|
VisibleRightMarginCheckBox.Checked := VisibleRightMargin;
|
||||||
VisibleGutterCheckBox.Checked := VisibleGutter;
|
VisibleGutterCheckBox.Checked := VisibleGutter;
|
||||||
ShowLineNumbersCheckBox.Checked := ShowLineNumbers;
|
ShowLineNumbersCheckBox.Checked := ShowLineNumbers;
|
||||||
ShowOnlyLineNumbersMultiplesOfSpinEdit.Value := ShowOnlyLineNumbersMultiplesOf;
|
|
||||||
GutterSeparatorIndexSpinBox.Value := GutterSeparatorIndex;
|
|
||||||
VisibleRightMarginCheckBox.Checked := VisibleRightMargin;
|
VisibleRightMarginCheckBox.Checked := VisibleRightMargin;
|
||||||
SetComboBoxText(RightMarginComboBox, IntToStr(RightMargin));
|
SetComboBoxText(RightMarginComboBox, IntToStr(RightMargin));
|
||||||
SetComboBoxText(EditorFontComboBox, EditorFont);
|
SetComboBoxText(EditorFontComboBox, EditorFont);
|
||||||
|
Loading…
Reference in New Issue
Block a user