From eee3db1cf7499b85371a9cf9903678ec57d41489 Mon Sep 17 00:00:00 2001 From: mattias Date: Mon, 23 Oct 2017 11:22:39 +0000 Subject: [PATCH] codetools: GetValuesOfCaseVariable: WithTypeDefIfScoped default true git-svn-id: trunk@56168 - --- components/codetools/codetoolmanager.pas | 2 +- components/codetools/identcompletiontool.pas | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/components/codetools/codetoolmanager.pas b/components/codetools/codetoolmanager.pas index 09f4f50cd7..55a7233979 100644 --- a/components/codetools/codetoolmanager.pas +++ b/components/codetools/codetoolmanager.pas @@ -513,7 +513,7 @@ type out ListOfPCodeXYPosition: TFPList; SkipAbstractsInStartClass: boolean = false): boolean; function GetValuesOfCaseVariable(Code: TCodeBuffer; X,Y: integer; - List: TStrings; WithTypeDefIfScoped: boolean): boolean; + List: TStrings; WithTypeDefIfScoped: boolean = true): boolean; function GatherOverloads(Code: TCodeBuffer; X,Y: integer; out Graph: TDeclarationOverloadsGraph): boolean; diff --git a/components/codetools/identcompletiontool.pas b/components/codetools/identcompletiontool.pas index ecbdd83bcd..f884040cec 100644 --- a/components/codetools/identcompletiontool.pas +++ b/components/codetools/identcompletiontool.pas @@ -434,7 +434,7 @@ type out ListOfPCodeXYPosition: TFPList; SkipAbstractsInStartClass: boolean = false): boolean; function GetValuesOfCaseVariable(const CursorPos: TCodeXYPosition; - List: TStrings; WithTypeDefIfScoped: boolean): boolean; + List: TStrings; WithTypeDefIfScoped: boolean = true): boolean; property Beautifier: TBeautifyCodeOptions read FBeautifier write FBeautifier; procedure CalcMemSize(Stats: TCTMemStats); override;