Lines Matching refs:startline
204 startline, startchar = self._decode(index1)
206 endline, endchar = startline, startchar+1
210 if startline == endline:
211 return self.data[startline][startchar:endchar]
213 lines = [self.data[startline][startchar:]]
214 for i in range(startline+1, endline):
225 startline, startchar = self._decode(index1, -1)
227 if startchar < len(self.data[startline])-1:
229 endline, endchar = startline, startchar+1
230 elif startline < len(self.data) - 1:
232 endline, endchar = startline+1, 0
240 if startline == endline and startchar < endchar:
241 self.data[startline] = self.data[startline][:startchar] + \
242 self.data[startline][endchar:]
243 elif startline < endline:
244 self.data[startline] = self.data[startline][:startchar] + \
246 startline += 1
247 for i in range(startline, endline+1):
248 del self.data[startline]