Skip to content

Commit f7f677c

Browse files
author
SlavaRa
committed
Fix typo in ASComplete. Replace 'testWord == defaut' by 'testWord == default'
1 parent 80925d7 commit f7f677c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

External/Plugins/ASCompletion/Completion/ASComplete.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3351,7 +3351,7 @@ static private ASExpr GetExpression(ScintillaControl Sci, int position, bool ign
33513351
expression.SubExpressions.Add(sbSub.ToString());
33523352
sb.Insert(0, ".#" + (subCount++) + "~"); // method call or sub expression
33533353

3354-
if (testWord == "return" || testWord == "case" || testWord == "defaut" || (haXe && testWord == "cast"))
3354+
if (testWord == "return" || testWord == "case" || testWord == "default" || (haXe && testWord == "cast"))
33553355
{
33563356
// AS3, AS2, Loom ex: return (a as B).<complete>
33573357
// Haxe ex: return cast(a, B).<complete>

0 commit comments

Comments
 (0)