We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 16c280e commit 5a021a9Copy full SHA for 5a021a9
src/main/scala/org/nlogo/models/Tokens.scala
@@ -56,7 +56,7 @@ class Tokens(model: Model) {
56
// Note: this works for 3D models, but the 3D primitives don't
57
// get properly typed as `Reporter` or `Command` by `Colorizer.Namer`. We'd need
58
// to use a Namer that rely on `ThreeDTokenMapper` when needed. NP 2016-05-16
59
- def primitiveTokenNames: Seq[String] = allTokens
+ def primitiveTokenNames: Seq[String] = (widgetTokens ++ codeTokens ++ plotTokens)
60
.filter(t => t.tpe == Reporter || t.tpe == Command)
61
.map(_.text)
62
}
0 commit comments