(self, i, texel)
| 57 | return Group([l, c, r]) |
| 58 | |
| 59 | def insert(self, i, texel): |
| 60 | if isinstance(texel, Characters) and texel.style is self.style: |
| 61 | text = self.data[:i]+texel.data+self.data[i:] |
| 62 | return Characters(text, self.style) |
| 63 | a, b = self.split(i) |
| 64 | return Group([a, texel, b]) |
| 65 | |
| 66 | |
| 67 |
nothing calls this directly
no test coverage detected