Function called before setting style to text parts. It reserves needed space in linear buffer
| 837 | |
| 838 | // Function called before setting style to text parts. It reserves needed space in linear buffer |
| 839 | void RichTextarea::BeginStyleUpdate(HWND wnd) |
| 840 | { |
| 841 | TextareaData *data = GetData(wnd); |
| 842 | |
| 843 | data->ExtendLinearTextBuffer(); |
| 844 | maximumEnd = 0; |
| 845 | } |
| 846 | |
| 847 | // Style is changed for linear buffer |
| 848 | void RichTextarea::SetStyleToSelection(HWND wnd, unsigned int start, unsigned int end, int style) |
nothing calls this directly
no test coverage detected