(self)
| 325 | edit_pos = property(get_edit_pos, set_edit_pos) |
| 326 | |
| 327 | def make_readonly(self): |
| 328 | self._bpy_selectable = False |
| 329 | # This is necessary to prevent the listbox we are in getting |
| 330 | # fresh cursor coords of None from get_cursor_coords |
| 331 | # immediately after we go readonly and then getting a cached |
| 332 | # canvas that still has the cursor set. It spots that |
| 333 | # inconsistency and raises. |
| 334 | self._invalidate() |
| 335 | |
| 336 | def set_edit_markup(self, markup): |
| 337 | """Call this when markup changes but the underlying text does not. |
no outgoing calls
no test coverage detected