| 880 | } |
| 881 | |
| 882 | void RichTextarea::SetStyleToLine(HWND wnd, unsigned int line, unsigned int style) |
| 883 | { |
| 884 | TextareaData *data = GetData(wnd); |
| 885 | |
| 886 | AreaLine *updLine = data->firstLine; |
| 887 | while(line-- && updLine) |
| 888 | updLine = updLine->next; |
| 889 | if(updLine) |
| 890 | updLine->lineStyle = style; |
| 891 | } |
| 892 | |
| 893 | void RichTextarea::SetLineExtra(HWND wnd, unsigned int line, unsigned int extra) |
| 894 | { |