Checks if the input is a query. @return result of check
()
| 128 | * @return result of check |
| 129 | */ |
| 130 | private boolean queryMode() { |
| 131 | final int mode = gui.gopts.get(GUIOptions.SEARCHMODE); |
| 132 | return mode == 1 || mode == 0 && Strings.startsWith(getText(), '/'); |
| 133 | } |
| 134 | |
| 135 | /** |
| 136 | * Completes the input with the current combobox choice. |
no test coverage detected