From da61b1d949f6bf172c0a4e4c35775f98e59ab21b Mon Sep 17 00:00:00 2001 From: Simon Sobisch Date: Fri, 19 Mar 2021 09:26:16 +0100 Subject: [PATCH] Add an option in installer to install COBOL autocomplete follow-up to adae1922cf87979c4909a63503cc843a4f701e15 Close #9672 --- PowerEditor/installer/nsisInclude/autoCompletion.nsh | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/PowerEditor/installer/nsisInclude/autoCompletion.nsh b/PowerEditor/installer/nsisInclude/autoCompletion.nsh index b52fcb4fb..d92aae8c3 100644 --- a/PowerEditor/installer/nsisInclude/autoCompletion.nsh +++ b/PowerEditor/installer/nsisInclude/autoCompletion.nsh @@ -142,6 +142,11 @@ SectionGroup "Auto-completion Files" autoCompletionComponent SetOutPath "$INSTDIR\autoCompletion" File ".\APIs\autoit.xml" ${MementoSectionEnd} + + ${MementoSection} "COBOL" COBOL + SetOutPath "$INSTDIR\autoCompletion" + File ".\APIs\cobol.xml" + ${MementoSectionEnd} SectionGroupEnd @@ -247,4 +252,8 @@ SectionGroup un.autoCompletionComponent Delete "$INSTDIR\autoCompletion\autoit.xml" SectionEnd + Section un.cobol + Delete "$INSTDIR\autoCompletion\cobol.xml" + SectionEnd + SectionGroupEnd