Appends to the current BabelString instance self.bs.
(self, bs, style=None)
| 397 | return e |
| 398 | |
| 399 | def append(self, bs, style=None): |
| 400 | """Appends to the current BabelString instance self.bs.""" |
| 401 | if not isinstance(bs, BabelString): |
| 402 | bs = BabelString(str(bs), style, context=self.context) |
| 403 | if self.bs is None: |
| 404 | self.bs = bs |
| 405 | else: |
| 406 | self.bs += bs |
| 407 | self._textLines = None # Force new rendering on self.textLines call. |
| 408 | |
| 409 | def appendMarker(self, markerId, arg=None): |
| 410 | """Appends a marker at the end of the last BabelString.runs[-1]. |
no test coverage detected