@@ -313,7 +313,7 @@ public static List<ICompletionListItem> ContextualGenerator(ScintillaControl Sci
313
313
if ( isNotInterface
314
314
&& resolve . Member != null
315
315
&& resolve . Type != null
316
- && resolve . Type . QualifiedName == "String"
316
+ && resolve . Type . QualifiedName == ASContext . Context . Features . stringKey
317
317
&& found . inClass != ClassModel . VoidClass )
318
318
{
319
319
int lineStartPos = Sci . PositionFromLine ( Sci . CurrentLine ) ;
@@ -1892,7 +1892,7 @@ public static int GetBodyStart(int lineFrom, int lineTo, ScintillaControl Sci, i
1892
1892
1893
1893
private static void GenerateToString ( ClassModel inClass , ScintillaControl Sci , MemberModel member )
1894
1894
{
1895
- MemberModel resultMember = new MemberModel ( "toString" , "String" , FlagType . Function , Visibility . Public ) ;
1895
+ MemberModel resultMember = new MemberModel ( "toString" , ASContext . Context . Features . stringKey , FlagType . Function , Visibility . Public ) ;
1896
1896
1897
1897
bool isOverride = false ;
1898
1898
inClass . ResolveExtends ( ) ;
@@ -2261,7 +2261,7 @@ private static List<FunctionParameter> ParseFunctionParameters(ScintillaControl
2261
2261
if ( isDoubleQuote )
2262
2262
{
2263
2263
result = new ASResult ( ) ;
2264
- result . Type = ctx . ResolveType ( "String" , null ) ;
2264
+ result . Type = ctx . ResolveType ( ctx . Features . stringKey , null ) ;
2265
2265
types . Add ( result ) ;
2266
2266
}
2267
2267
}
@@ -2276,7 +2276,7 @@ private static List<FunctionParameter> ParseFunctionParameters(ScintillaControl
2276
2276
if ( isSingleQuote )
2277
2277
{
2278
2278
result = new ASResult ( ) ;
2279
- result . Type = ctx . ResolveType ( "String" , null ) ;
2279
+ result . Type = ctx . ResolveType ( ctx . Features . stringKey , null ) ;
2280
2280
types . Add ( result ) ;
2281
2281
}
2282
2282
}
@@ -2967,7 +2967,7 @@ private static StatementReturnType GetStatementReturnType(ScintillaControl Sci,
2967
2967
char c = ( char ) Sci . CharAt ( pos ) ;
2968
2968
if ( c == '"' || c == '\' ' )
2969
2969
{
2970
- type = ctx . ResolveType ( "String" , inClass . InFile ) ;
2970
+ type = ctx . ResolveType ( ctx . Features . stringKey , inClass . InFile ) ;
2971
2971
}
2972
2972
else if ( c == '}' )
2973
2973
{
0 commit comments