renderSelect renders the selection region as a selected background color.
()
| 259 | |
| 260 | // renderSelect renders the selection region as a selected background color. |
| 261 | func (ed *Editor) renderSelect() { |
| 262 | if !ed.HasSelection() { |
| 263 | return |
| 264 | } |
| 265 | ed.renderRegionBox(ed.SelectRegion, ed.SelectColor) |
| 266 | } |
| 267 | |
| 268 | // renderHighlights renders the highlight regions as a |
| 269 | // highlighted background color. |
no test coverage detected