MCPcopy Create free account
hub / github.com/Vector35/binaryninja-api / moveToStartOfLine

Method moveToStartOfLine

python/examples/triage/byte.py:704–713  ·  view source on GitHub ↗
(self, selecting)

Source from the content-addressed store, hash-verified

702 self.viewport().update()
703
704 def moveToStartOfLine(self, selecting):
705 for i in self.lines:
706 if (self.cursorAddr >= i.address) and (self.cursorAddr < (i.address + i.length)):
707 self.cursorAddr = i.address
708 break
709 if not selecting:
710 self.selectNone()
711 self.repositionCaret()
712 if self.selectionVisible or selecting:
713 self.viewport().update()
714
715 def moveToEndOfLine(self, selecting):
716 for i in self.lines:

Callers 1

__init__Method · 0.95

Calls 3

selectNoneMethod · 0.95
repositionCaretMethod · 0.95
updateMethod · 0.45

Tested by

no test coverage detected