MCPcopy Create free account
hub / github.com/WheretIB/nullc / BeginStyleUpdate

Method BeginStyleUpdate

GUI/RichTextarea.cpp:839–845  ·  view source on GitHub ↗

Function called before setting style to text parts. It reserves needed space in linear buffer

Source from the content-addressed store, hash-verified

837
838// Function called before setting style to text parts. It reserves needed space in linear buffer
839void 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
848void RichTextarea::SetStyleToSelection(HWND wnd, unsigned int start, unsigned int end, int style)

Callers

nothing calls this directly

Calls 2

GetDataFunction · 0.70

Tested by

no test coverage detected