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

Method GetLine

GUI/RichTextarea.cpp:765–779  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

763 return ret;
764}
765RichTextarea::LineIterator RichTextarea::GetLine(HWND wnd, unsigned int line)
766{
767 TextareaData *data = GetData(wnd);
768
769 RichTextarea::LineIterator ret;
770 ret.number = line;
771
772 AreaLine *updLine = data->firstLine;
773 while(line-- && updLine)
774 updLine = updLine->next;
775 ret.line = (void*)updLine;
776
777 return ret;
778
779}
780// Set style parameters. bold\italics\underline flags don't work together
781bool RichTextarea::SetTextStyle(unsigned int id, unsigned char red, unsigned char green, unsigned char blue, bool bold, bool italics, bool underline)
782{

Callers

nothing calls this directly

Calls 1

GetDataFunction · 0.70

Tested by

no test coverage detected