tweaked mouse behavior for #2755

This commit is contained in:
Manindra Moharana
2014-08-16 17:50:40 +05:30
parent 32b6d41376
commit a5403faf27
@@ -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);
}
}