renderRegionBox renders a region in background according to given background
(reg text.Region, bg image.Image)
| 291 | |
| 292 | // renderRegionBox renders a region in background according to given background |
| 293 | func (ed *Editor) renderRegionBox(reg text.Region, bg image.Image) { |
| 294 | ed.renderRegionBoxStyle(reg, &ed.Styles, bg, false) |
| 295 | } |
| 296 | |
| 297 | // renderRegionBoxStyle renders a region in given style and background |
| 298 | func (ed *Editor) renderRegionBoxStyle(reg text.Region, sty *styles.Style, bg image.Image, fullWidth bool) { |
no test coverage detected