[Gambas-user] Highlight problem
Jussi Lahtinen
jussi.lahtinen at ...626...
Tue Oct 20 22:16:34 CEST 2009
Hi!
I'm trying to improve my message window with highlighting.
No success...
I have tried to implement it with TextEdit (proto1) and with Editor
(proto2) controls.
See attachments.
What I'm trying to do, is window that show messages and highlight
every other of them,
and also highlight important messages with different color.
(Reason for this, is that I have missed some messages from my program,
and I believe that highlighting help me to notice changes more
easily.)
And it should concatenate same messages like this.
Here is wanted output of same message, "Test message." sent to message
window three times:
Test message. x 3
In other words, I don't want this:
Test message.
Test message.
Test message.
Messages can have multiple lines.
All this is already implemented without highlighting.
With proto1, I have problems with concatenate and with changing
backcolor of font.
With proto2, concatenate works, but I have problems with highlighting.
How to customise highlight?
And is there invisible marking etc. which can be used to determine
what highlighting should be apply to lines.
Now there is "If InStr(sLine, "1") Then" for test purpose.
Using numbers etc. to determine wanted highlighting type is not what I want.
Any help appreciated!
Jussi
-------------- next part --------------
A non-text attachment was scrubbed...
Name: Proto1.tar.gz
Type: application/x-gzip
Size: 8407 bytes
Desc: not available
URL: <http://lists.gambas-basic.org/pipermail/user/attachments/20091020/ff34a35a/attachment.bin>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: Proto2.tar.gz
Type: application/x-gzip
Size: 8517 bytes
Desc: not available
URL: <http://lists.gambas-basic.org/pipermail/user/attachments/20091020/ff34a35a/attachment-0001.bin>
More information about the User
mailing list