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

Method move_cursor

text_block.py:298–301  ·  view source on GitHub ↗
(self, type, select = False)

Source from the content-addressed store, hash-verified

296 self.move_cursor("NEXT_LINE", select)
297
298 def move_cursor(self, type, select = False):
299 self.make_active()
300 if select: bpy.ops.text.move_select(type = type)
301 else: bpy.ops.text.move(type = type)
302
303 def remove_character_before_cursor(self):
304 self.make_active()

Callers 6

move_cursor_rightMethod · 0.95
move_cursor_leftMethod · 0.95
move_cursor_upMethod · 0.95
move_cursor_downMethod · 0.95

Calls 1

make_activeMethod · 0.95

Tested by

no test coverage detected