mirror of
https://github.com/processing/processing4.git
synced 2026-06-16 04:26:26 +02:00
tweaked mouse behavior for #2755
This commit is contained in:
@@ -327,9 +327,11 @@ public class CompletionPanel {
|
||||
}
|
||||
|
||||
if (completionSource == MOUSE_COMPLETION) {
|
||||
// The case of overloaded methods, displayed as 'foo(...)'
|
||||
// They have completion strings as 'foo('. See #2755
|
||||
if (completionString.endsWith("(")) {
|
||||
completionString = completionString.substring(0, completionString
|
||||
.length() - 2);
|
||||
.length() - 1);
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user