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

Method set_selection

text_block.py:251–253  ·  view source on GitHub ↗
(self, start_line, start_character, end_line, end_character)

Source from the content-addressed store, hash-verified

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)
253 self.set_cursor_position(end_line, end_character, select = True)
254
255 def set_cursor_position(self, line_index, character_index, select = False):
256 self.set_cursor_position_vertical(line_index, select)

Callers 2

set_selection_in_lineMethod · 0.95
insert_snippetMethod · 0.80

Calls 1

set_cursor_positionMethod · 0.95

Tested by

no test coverage detected