MCPcopy Create free account
hub / github.com/JacquesLucke/code_autocomplete / set_selection_in_line

Method set_selection_in_line

text_block.py:246–249  ·  view source on GitHub ↗
(self, start, end)

Source from the content-addressed store, hash-verified

244 self.set_selection_in_line(start + 1, end + 1)
245
246 def set_selection_in_line(self, start, end):
247 line = self.current_line_index
248 if start > end: start, end = end, start
249 self.set_selection(line, start, line, end)
250
251 def set_selection(self, start_line, start_character, end_line, end_character):
252 self.set_cursor_position(start_line, start_character, select = False)

Callers 3

select_current_stringMethod · 0.95

Calls 1

set_selectionMethod · 0.95

Tested by

no test coverage detected