Exemplo n.º 1
0
 def __init__(self, segment, ranges, cursor, bytes, indexes):
     Command.__init__(self)
     self.segment = segment
     self.ranges = tuple(ranges)
     self.cursor = cursor
     self.data = bytes
     self.indexes = indexes
Exemplo n.º 2
0
 def __init__(self, segment, start_index, rows, cols, bytes_per_row, bytes):
     Command.__init__(self)
     self.segment = segment
     self.start_index = start_index
     self.rows = rows
     self.cols = cols
     self.bytes_per_row = bytes_per_row
     self.bytes = bytes
Exemplo n.º 3
0
 def __init__(self, segment, start_index, rows, cols, bytes_per_row, bytes):
     Command.__init__(self)
     self.segment = segment
     self.start_index = start_index
     self.rows = rows
     self.cols = cols
     self.bytes_per_row = bytes_per_row
     self.bytes = bytes
Exemplo n.º 4
0
 def __init__(self, start_cursor_index, search_text, error, repeat=False, reverse=False):
     Command.__init__(self)
     self.start_cursor_index = start_cursor_index
     self.search_text = search_text
     self.error = error
     self.repeat = repeat
     self.reverse = reverse
     self.current_match_index = -1
Exemplo n.º 5
0
 def __init__(self, start_caret_index, search_text, error, repeat=False, reverse=False):
     Command.__init__(self)
     self.start_caret_index = start_caret_index
     self.search_text = search_text
     self.error = error
     self.repeat = repeat
     self.reverse = reverse
     self.current_match_index = -1
     self.start_addr = -1
Exemplo n.º 6
0
 def __init__(self, segment, start_index, end_index):
     Command.__init__(self)
     self.segment = segment
     self.start_index = start_index
     if start_index == end_index:
         end_index += 1
     self.end_index = end_index
     self.cursor_at_end = False
     self.ignore_if_same_bytes = False
Exemplo n.º 7
0
 def __init__(self, segment):
     Command.__init__(self)
     self.segment = segment
Exemplo n.º 8
0
 def __init__(self, search_command):
     Command.__init__(self)
     self.search_command = search_command
Exemplo n.º 9
0
 def __init__(self, segment, start_index, end_index, bytes):
     Command.__init__(self)
     self.segment = segment
     self.start_index = start_index
     self.end_index = end_index
     self.data = bytes
Exemplo n.º 10
0
 def __init__(self, segment, start_index, end_index, bytes):
     Command.__init__(self)
     self.segment = segment
     self.start_index = start_index
     self.end_index = end_index
     self.data = bytes
Exemplo n.º 11
0
 def __init__(self, search_command):
     Command.__init__(self)
     self.search_command = search_command
Exemplo n.º 12
0
 def __init__(self, segment, ranges):
     Command.__init__(self)
     self.segment = segment
     self.ranges = tuple(ranges)