mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-04-17 22:09:28 +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
|
||||
with AOptions as TEditorOptions do
|
||||
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;
|
||||
VisibleGutterCheckBox.Checked := VisibleGutter;
|
||||
ShowLineNumbersCheckBox.Checked := ShowLineNumbers;
|
||||
ShowOnlyLineNumbersMultiplesOfSpinEdit.Value := ShowOnlyLineNumbersMultiplesOf;
|
||||
GutterSeparatorIndexSpinBox.Value := GutterSeparatorIndex;
|
||||
VisibleRightMarginCheckBox.Checked := VisibleRightMargin;
|
||||
SetComboBoxText(RightMarginComboBox, IntToStr(RightMargin));
|
||||
SetComboBoxText(EditorFontComboBox, EditorFont);
|
||||
|
Loading…
Reference in New Issue
Block a user