textStyleProperties returns the styling properties for text based on HiStyle Markup
()
| 64 | |
| 65 | // textStyleProperties returns the styling properties for text based on HiStyle Markup |
| 66 | func (ed *Editor) textStyleProperties() map[string]any { |
| 67 | if ed.Buffer == nil { |
| 68 | return nil |
| 69 | } |
| 70 | return ed.Buffer.Highlighter.CSSProperties |
| 71 | } |
| 72 | |
| 73 | // renderStartPos is absolute rendering start position from our content pos with scroll |
| 74 | // This can be offscreen (left, up) based on scrolling. |
no outgoing calls
no test coverage detected