@@ -313,7 +313,7 @@ public static List<ICompletionListItem> ContextualGenerator(ScintillaControl Sci
313313 if ( isNotInterface
314314 && resolve . Member != null
315315 && resolve . Type != null
316- && resolve . Type . QualifiedName == "String"
316+ && resolve . Type . QualifiedName == ASContext . Context . Features . stringKey
317317 && found . inClass != ClassModel . VoidClass )
318318 {
319319 int lineStartPos = Sci . PositionFromLine ( Sci . CurrentLine ) ;
@@ -1892,7 +1892,7 @@ public static int GetBodyStart(int lineFrom, int lineTo, ScintillaControl Sci, i
18921892
18931893 private static void GenerateToString ( ClassModel inClass , ScintillaControl Sci , MemberModel member )
18941894 {
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 ) ;
18961896
18971897 bool isOverride = false ;
18981898 inClass . ResolveExtends ( ) ;
@@ -2261,7 +2261,7 @@ private static List<FunctionParameter> ParseFunctionParameters(ScintillaControl
22612261 if ( isDoubleQuote )
22622262 {
22632263 result = new ASResult ( ) ;
2264- result . Type = ctx . ResolveType ( "String" , null ) ;
2264+ result . Type = ctx . ResolveType ( ctx . Features . stringKey , null ) ;
22652265 types . Add ( result ) ;
22662266 }
22672267 }
@@ -2276,7 +2276,7 @@ private static List<FunctionParameter> ParseFunctionParameters(ScintillaControl
22762276 if ( isSingleQuote )
22772277 {
22782278 result = new ASResult ( ) ;
2279- result . Type = ctx . ResolveType ( "String" , null ) ;
2279+ result . Type = ctx . ResolveType ( ctx . Features . stringKey , null ) ;
22802280 types . Add ( result ) ;
22812281 }
22822282 }
@@ -2967,7 +2967,7 @@ private static StatementReturnType GetStatementReturnType(ScintillaControl Sci,
29672967 char c = ( char ) Sci . CharAt ( pos ) ;
29682968 if ( c == '"' || c == '\' ' )
29692969 {
2970- type = ctx . ResolveType ( "String" , inClass . InFile ) ;
2970+ type = ctx . ResolveType ( ctx . Features . stringKey , inClass . InFile ) ;
29712971 }
29722972 else if ( c == '}' )
29732973 {
0 commit comments