mirror of
https://github.com/processing/processing4.git
synced 2026-06-16 04:26:26 +02:00
make Find in Reference default to built-in PApplet methods (fixes #4224)
This commit is contained in:
@@ -166,7 +166,13 @@ public abstract class Mode {
|
||||
if (htmlFilename.endsWith("_")) {
|
||||
keyword += "_";
|
||||
}
|
||||
keywordToReference.put(keyword, htmlFilename);
|
||||
// Allow the bare size() command to override the lookup
|
||||
// for StringList.size() and others, but not vice-versa.
|
||||
// https://github.com/processing/processing/issues/4224
|
||||
boolean seen = keywordToReference.containsKey(keyword);
|
||||
if (!seen || (seen && keyword.equals(htmlFilename))) {
|
||||
keywordToReference.put(keyword, htmlFilename);
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@@ -1,4 +1,8 @@
|
||||
0254 (3.2.2 or 3.3)
|
||||
X Find in reference for size() opens StringList.size()
|
||||
X https://github.com/processing/processing/issues/4224
|
||||
X though that's still imperfect:
|
||||
X https://github.com/processing/processing/issues/4655
|
||||
X more font tweaks to make mono fonts work properly after #4639
|
||||
_ update the Linux notes based on where we land on this
|
||||
_ https://github.com/processing/processing/wiki/Supported-Platforms#linux
|
||||
|
||||
Reference in New Issue
Block a user