Mark Morgan Lloyd schrieb:

I assume you have a fixed amount of lines and columns? If so it should be very simple to write a pos-highlighter (part of your project, does not need to be registerred in IDE), that has

CharAttributes: Array[1..maxLine] of array [ 1..MaxColumn] of TAttribute

Of course that is not practical if you have thousands of lines, as it would require a lot of storage....

Since it's emulating a mechanical terminal that printed to roll paper, the number of lines is indeterminate and increasing. I suppose that I could limit it to (say) 1000, but if other people started using it there'd be bound to be somebody complain.

Have you ever seen a roll of paper, of indeterminate length? ;-)

And a mechanical terminal with multi-color ribbon?
[Well, I've seen a black/red ribbon many years ago...]

DoDi


--
_______________________________________________
Lazarus mailing list
[email protected]
http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus

Reply via email to