Home » U++ Library support » RichText,QTF,RTF... » Scrollable log window with colour text
Re: Scrollable log window with colour text [message #2582 is a reply to message #2581] |
Tue, 18 April 2006 04:31   |
 |
fudadmin
Messages: 1321 Registered: November 2005 Location: Kaunas, Lithuania
|
Ultimate Contributor Administrator |
|
|
ok. There are 3 big problems. The 1st, as I understand, is coloring some text?
One of I my editor experiments.
void DEditor::HighlightLine(int line, Vector<LineEdit::Highlight>& hl, int pos)
{
HlSt hls(hl); //highlights
int posW0=5;
int posW1=20;
if(line == 0 ) {
hls.SetPaper(posW0, posW1, Red);
hls.SetInk(posW0, posW1, Yellow);
}
If that is usefull...
[Updated on: Tue, 18 April 2006 04:34] Report message to a moderator
|
|
|
Goto Forum:
Current Time: Sat Aug 02 11:44:42 CEST 2025
Total time taken to generate the page: 0.09254 seconds
|