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

Method left

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

Source from the content-addressed store, hash-verified

614 break
615
616 def left(self, count, selecting):
617 if self.cursorAddr > (self.getStart() + count):
618 self.cursorAddr -= count
619 else:
620 self.cursorAddr = self.getStart()
621 self.adjustAddressAfterBackwardMovement()
622 if not selecting:
623 self.selectNone()
624 self.repositionCaret()
625 if self.selectionVisible or selecting:
626 self.viewport().update()
627
628 def right(self, count, selecting):
629 if self.cursorAddr <= (self.getEnd() - count):

Callers 2

__init__Method · 0.95
upMethod · 0.95

Calls 5

getStartMethod · 0.95
selectNoneMethod · 0.95
repositionCaretMethod · 0.95
updateMethod · 0.45

Tested by

no test coverage detected