| src/Completer.cc | |
| 156 | @@ -156,8 +156,10 @@ |
| 156 | return complete_word(_menu_list, state.completions, state.word_lower); |
| 157 | #endif // MENUS |
| 158 | case STATE_ACTION: |
| 159 | default: |
| 160 | return complete_word(_action_list, state.completions, state.word_lower); |
| 161 | case STATE_NO: |
| 162 | default: |
| 163 | return 0; |
| 164 | } |
| 165 | } |
| 166 | |
| ... | |
| 204 | @@ -202,7 +204,7 @@ |
| 204 | ActionCompleterMethod::State |
| 205 | ActionCompleterMethod::find_state(CompletionState &completion_state) |
| 206 | { |
| 205 | State state = STATE_NO; |
| 208 | State state = STATE_ACTION; |
| 209 | if (completion_state.word_begin != 0) { |
| 210 | state = find_state_match(completion_state.part_lower, |
| 211 | completion_state.part_begin); |
| ... | |