Lines Matching refs:ch
146 def fill (self, ch=SPACE): argument
148 if isinstance(ch, bytes):
149 ch = self._decode(ch)
151 self.fill_region (1,1,self.rows,self.cols, ch)
153 def fill_region (self, rs,cs, re,ce, ch=SPACE): argument
155 if isinstance(ch, bytes):
156 ch = self._decode(ch)
168 self.put_abs (r,c,ch)
200 def put_abs (self, r, c, ch): argument
205 if isinstance(ch, bytes):
206 ch = self._decode(ch)[0]
208 ch = ch[0]
209 self.w[r-1][c-1] = ch
211 def put (self, ch): argument
215 if isinstance(ch, bytes):
216 ch = self._decode(ch)
218 self.put_abs (self.cur_r, self.cur_c, ch)
220 def insert_abs (self, r, c, ch): argument
226 if isinstance(ch, bytes):
227 ch = self._decode(ch)
233 self.put_abs (r,c,ch)
235 def insert (self, ch): argument
237 if isinstance(ch, bytes):
238 ch = self._decode(ch)
240 self.insert_abs (self.cur_r, self.cur_c, ch)
268 ch = self.get_abs (r,c)
269 line = line + ch