Searched refs:current_completions (Results 1 – 8 of 8) sorted by relevance
/dports/net/google-cloud-sdk/google-cloud-sdk/lib/third_party/prompt_toolkit/layout/ |
H A D | menus.py | 56 return len(complete_state.current_completions) 66 completions = complete_state.current_completions 94 return any(c.display_meta for c in complete_state.current_completions) 101 for c in complete_state.current_completions) + 2)) 109 for c in complete_state.current_completions) + 2) 254 …result = int(column_width * math.ceil(len(complete_state.current_completions) / float(self.min_row… 271 return int(math.ceil(len(complete_state.current_completions) / float(column_count))) 308 columns_ = list(grouper(height, complete_state.current_completions)) 369 return max(get_cwidth(c.display) for c in complete_state.current_completions) + 1 438 any(c.display_meta for c in cli.current_buffer.complete_state.current_completions)) [all …]
|
H A D | toolbars.py | 119 completions = complete_state.current_completions
|
/dports/devel/py-prompt-toolkit1/prompt_toolkit-1.0.18/prompt_toolkit/layout/ |
H A D | menus.py | 56 return len(complete_state.current_completions) 66 completions = complete_state.current_completions 94 return any(c.display_meta for c in complete_state.current_completions) 101 for c in complete_state.current_completions) + 2)) 109 for c in complete_state.current_completions) + 2) 254 …result = int(column_width * math.ceil(len(complete_state.current_completions) / float(self.min_row… 271 return int(math.ceil(len(complete_state.current_completions) / float(column_count))) 308 columns_ = list(grouper(height, complete_state.current_completions)) 369 return max(get_cwidth(c.display) for c in complete_state.current_completions) + 1 438 any(c.display_meta for c in cli.current_buffer.complete_state.current_completions)) [all …]
|
H A D | toolbars.py | 119 completions = complete_state.current_completions
|
/dports/net-mgmt/crmsh/crmsh-4.3.1/crmsh/ |
H A D | command.py | 184 def current_completions(): function 193 return [l for l in current_completions() if is_sublevel(l)] 201 return current_completions() 203 if args[1] in current_completions(): 224 return ret + [l for l in current_completions() if is_sublevel(l)]
|
/dports/net/google-cloud-sdk/google-cloud-sdk/lib/third_party/prompt_toolkit/ |
H A D | buffer.py | 114 def __init__(self, original_document, current_completions=None, complete_index=None): argument 120 self.current_completions = current_completions or [] 129 self.original_document, len(self.current_completions), self.complete_index) 135 … return CompletionState(self.original_document, self.current_completions, complete_index=index) 147 c = self.current_completions[self.complete_index] 164 return self.current_completions[self.complete_index] 713 completions_count = len(self.complete_state.current_completions) 738 index = len(self.complete_state.current_completions) - 1 772 current_completions=completions)
|
/dports/devel/py-prompt-toolkit1/prompt_toolkit-1.0.18/prompt_toolkit/ |
H A D | buffer.py | 115 def __init__(self, original_document, current_completions=None, complete_index=None): argument 121 self.current_completions = current_completions or [] 130 self.original_document, len(self.current_completions), self.complete_index) 136 … return CompletionState(self.original_document, self.current_completions, complete_index=index) 148 c = self.current_completions[self.complete_index] 165 return self.current_completions[self.complete_index] 714 completions_count = len(self.complete_state.current_completions) 739 index = len(self.complete_state.current_completions) - 1 773 current_completions=completions)
|
/dports/net/google-cloud-sdk/google-cloud-sdk/lib/googlecloudsdk/command_lib/interactive/ |
H A D | completer.py | 51 elif len(b.complete_state.current_completions) == 1: 53 b.apply_completion(b.complete_state.current_completions[0])
|