From 53c8308ac441ce8ab27f9fbefd19dc98c6f43e77 Mon Sep 17 00:00:00 2001 From: Basile Burg Date: Thu, 29 Jan 2015 18:45:53 +0100 Subject: [PATCH 1/4] fix, deprecated fields, not stored anymore --- src/ce_dmdwrap.pas | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/ce_dmdwrap.pas b/src/ce_dmdwrap.pas index 9a0cea17..79b32098 100644 --- a/src/ce_dmdwrap.pas +++ b/src/ce_dmdwrap.pas @@ -225,8 +225,8 @@ type property Sources: TStringList read fExtraSrcs write setSrcs stored false; deprecated; property exclusions: TStringList read fExcl write setExcl; property extraSources: TStringList read fExtraSrcs write setSrcs; - property includes: TStringList read fIncl write setIncl; deprecated; - property imports: TStringList read fImpt write setImpt; deprecated; + property includes: TStringList read fIncl write setIncl stored false; deprecated; + property imports: TStringList read fImpt write setImpt stored false; deprecated; property importModulePaths: TStringList read fIncl write setIncl; property importStringPaths: TStringList read fImpt write setImpt; public From bdc7626b26e9dc832b8d58966620099421685136 Mon Sep 17 00:00:00 2001 From: Basile Burg Date: Thu, 29 Jan 2015 23:28:47 +0100 Subject: [PATCH 2/4] foudn bug, completion, steal focus, reset editor focus, too much updates --- src/ce_editor.pas | 1 + 1 file changed, 1 insertion(+) diff --git a/src/ce_editor.pas b/src/ce_editor.pas index 4907f184..c0adba1d 100644 --- a/src/ce_editor.pas +++ b/src/ce_editor.pas @@ -234,6 +234,7 @@ begin macRecorder.Editor := fDoc; fSyncEdit.Editor := fDoc; completion.Editor := fDoc; + //TODO-cbugfix: prevent completion to steal the focus, this trigs too much updates after Ctrl+Space if (pageControl.ActivePage.Caption = '') then begin fKeyChanged := true; From a9f8fcd0313e82f3a685b7355a9f61495108b349 Mon Sep 17 00:00:00 2001 From: Basile Burg Date: Thu, 29 Jan 2015 23:29:39 +0100 Subject: [PATCH 3/4] completion mnu font size syncronized to editor font size --- src/ce_editor.pas | 1 + 1 file changed, 1 insertion(+) diff --git a/src/ce_editor.pas b/src/ce_editor.pas index c0adba1d..32aa4e75 100644 --- a/src/ce_editor.pas +++ b/src/ce_editor.pas @@ -250,6 +250,7 @@ end; procedure TCEEditorWidget.completionExecute(Sender: TObject); begin getCompletionList; + completion.TheForm.Font.Size := fDoc.Font.Size; end; procedure TCEEditorWidget.completionCodeCompletion(var Value: string; From c9bebfd2624aad8f53fed683b7a3834698447714 Mon Sep 17 00:00:00 2001 From: Basile Burg Date: Fri, 30 Jan 2015 05:29:01 +0100 Subject: [PATCH 4/4] test trigger service --- src/ce_libmaneditor.pas | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/ce_libmaneditor.pas b/src/ce_libmaneditor.pas index 38febf3b..f7c875d0 100644 --- a/src/ce_libmaneditor.pas +++ b/src/ce_libmaneditor.pas @@ -110,7 +110,7 @@ end; procedure TCELibManEditorWidget.btnRemLibClick(Sender: TObject); begin if List.Selected = nil then exit; - List.Items.Delete( List.Selected.Index ); + List.Items.Delete(List.Selected.Index); gridToData; end;