spelling: openers

Signed-off-by: Josh Soref <2119212+jsoref@users.noreply.github.com>
This commit is contained in:
Josh Soref
2024-10-22 13:04:00 -04:00
committed by Jindra Petřík
parent 5eb6e5b69e
commit 0ae2acd641

View File

@@ -348,7 +348,7 @@ public class SyntaxDocument extends PlainDocument {
}
Token p = null;
int ndx = tokens.indexOf(t);
// w will be similar to a stack. The openners weght is added to it
// w will be similar to a stack. The openers weght is added to it
// and the closers are subtracted from it (closers are already negative)
int w = t.pairValue;
int direction = (t.pairValue > 0) ? 1 : -1;