From fab7af53f246b1ced8c66cdd347895f598dc2309 Mon Sep 17 00:00:00 2001 From: Nikolay Kuznetsov Date: Mon, 16 Feb 2026 14:07:10 +0300 Subject: [PATCH] Ide fonts size (#3389) * Update EditorOptionsContent.cs Add new font size values to editor's option dialog * Update EditorOptionsContent.cs Add new font size values to editor's option dialog --- .../OptionsContent/EditorOptionsContent.cs | 13 +------------ .../OptionsContent/EditorOptionsContent.cs | 13 +------------ 2 files changed, 2 insertions(+), 24 deletions(-) diff --git a/VisualPascalABCNET/OptionsContent/EditorOptionsContent.cs b/VisualPascalABCNET/OptionsContent/EditorOptionsContent.cs index 9a9a68d2e..9e2ecc91f 100644 --- a/VisualPascalABCNET/OptionsContent/EditorOptionsContent.cs +++ b/VisualPascalABCNET/OptionsContent/EditorOptionsContent.cs @@ -20,18 +20,7 @@ namespace VisualPascalABC.OptionsContent this.MainForm = MainForm; InitializeComponent(); PascalABCCompiler.StringResources.SetTextForAllObjects(this, strprefix); - cbEditorFontSize.Items.Add(8); - cbEditorFontSize.Items.Add(10); - cbEditorFontSize.Items.Add(12); - cbEditorFontSize.Items.Add(14); - cbEditorFontSize.Items.Add(16); - cbEditorFontSize.Items.Add(18); - cbEditorFontSize.Items.Add(20); - cbEditorFontSize.Items.Add(22); - cbEditorFontSize.Items.Add(24); - cbEditorFontSize.Items.Add(28); - cbEditorFontSize.Items.Add(32); - + cbEditorFontSize.Items.AddRange(new object[] {8,9,10,11,12,13,14,15,16,18,20,22,24,28,32}); } /*private void AddcbErrorPosItem(SourceLocationAction sl, string Name) { diff --git a/VisualPascalABCNETLinux/OptionsContent/EditorOptionsContent.cs b/VisualPascalABCNETLinux/OptionsContent/EditorOptionsContent.cs index 9a9a68d2e..9e2ecc91f 100644 --- a/VisualPascalABCNETLinux/OptionsContent/EditorOptionsContent.cs +++ b/VisualPascalABCNETLinux/OptionsContent/EditorOptionsContent.cs @@ -20,18 +20,7 @@ namespace VisualPascalABC.OptionsContent this.MainForm = MainForm; InitializeComponent(); PascalABCCompiler.StringResources.SetTextForAllObjects(this, strprefix); - cbEditorFontSize.Items.Add(8); - cbEditorFontSize.Items.Add(10); - cbEditorFontSize.Items.Add(12); - cbEditorFontSize.Items.Add(14); - cbEditorFontSize.Items.Add(16); - cbEditorFontSize.Items.Add(18); - cbEditorFontSize.Items.Add(20); - cbEditorFontSize.Items.Add(22); - cbEditorFontSize.Items.Add(24); - cbEditorFontSize.Items.Add(28); - cbEditorFontSize.Items.Add(32); - + cbEditorFontSize.Items.AddRange(new object[] {8,9,10,11,12,13,14,15,16,18,20,22,24,28,32}); } /*private void AddcbErrorPosItem(SourceLocationAction sl, string Name) {