Skip to content

Commit 702fae5

Browse files
committed
Merge pull request #877 from SlavaRa/feature/refactor_3
Fixed typo. Replace 'testWord == defaut' by 'testWord == default'
2 parents 1858906 + f7f677c commit 702fae5

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)