Lines Matching refs:indices
78 indices = (HyperParser(self.editwin, "insert")
80 self.finish_paren_event(indices)
92 indices = hp.get_surrounding_brackets(_openers[closer], True)
93 self.finish_paren_event(indices)
96 def finish_paren_event(self, indices):
97 if indices is None and self.BELL:
101 # self.create_tag(indices)
102 self.tagfuncs.get(self.STYLE, self.create_tag_expression)(self, indices)
120 def create_tag_opener(self, indices):
122 self.text.tag_add("paren", indices[0])
125 def create_tag_parens(self, indices):
127 if self.text.get(indices[1]) in (')', ']', '}'):
128 rightindex = indices[1]+"+1c"
130 rightindex = indices[1]
131 self.text.tag_add("paren", indices[0], indices[0]+"+1c", rightindex+"-1c", rightindex)
134 def create_tag_expression(self, indices):
136 if self.text.get(indices[1]) in (')', ']', '}'):
137 rightindex = indices[1]+"+1c"
139 rightindex = indices[1]
140 self.text.tag_add("paren", indices[0], rightindex)