(self)
| 288 | self.code_highlight_container.update() |
| 289 | |
| 290 | def build(self): |
| 291 | if self.read_only: |
| 292 | return ft.Container( |
| 293 | ft.Stack(controls=[self.code_highlight_container]), |
| 294 | padding=10, |
| 295 | bgcolor=self.theme.editor_bg, |
| 296 | border_radius=8, |
| 297 | ) |
| 298 | return ft.Container( |
| 299 | ft.Stack( |
| 300 | controls=[self.code_highlight_container, self.code_textfield_container] |
| 301 | ), |
| 302 | padding=10, |
| 303 | bgcolor=self.theme.editor_bg, |
| 304 | border_radius=8, |
| 305 | ) |
nothing calls this directly
no outgoing calls
no test coverage detected