|
@@ -399,7 +399,8 @@ public abstract class InputHandler implements ConfigChangeListener {
|
399
|
399
|
* Handles tab completion of a string. Called when the user presses
|
400
|
400
|
* (shift) tab.
|
401
|
401
|
*
|
402
|
|
- * @param shiftPressed True if shift is pressed
|
|
402
|
+ * @param shiftPressed True iff shift is pressed
|
|
403
|
+ * @since 0.6.3
|
403
|
404
|
*/
|
404
|
405
|
protected void doTabCompletion(final boolean shiftPressed) {
|
405
|
406
|
if (tabCompleter == null || (flags & HANDLE_TABCOMPLETION) == 0) {
|
|
@@ -453,6 +454,7 @@ public abstract class InputHandler implements ConfigChangeListener {
|
453
|
454
|
* @param text The text that is being completed
|
454
|
455
|
* @param start The start index of the word we're completing
|
455
|
456
|
* @param end The end index of the word we're completing
|
|
457
|
+ * @param shiftPressed True iff shift is pressed
|
456
|
458
|
*/
|
457
|
459
|
private void doCommandTabCompletion(final String text, final int start,
|
458
|
460
|
final int end, final boolean shiftPressed) {
|
|
@@ -467,6 +469,7 @@ public abstract class InputHandler implements ConfigChangeListener {
|
467
|
469
|
* @param start The start index of the word we're completing
|
468
|
470
|
* @param end The end index of the word we're completing
|
469
|
471
|
* @param additional A list of additional strings to use
|
|
472
|
+ * @param shiftPressed True iff shift is pressed
|
470
|
473
|
*/
|
471
|
474
|
private void doNormalTabCompletion(final String text, final int start,
|
472
|
475
|
final int end, final boolean shiftPressed,
|