Skip Menu |

This queue is for tickets about the Prima CPAN distribution.

Report information
The Basics
Id: 60962
Status: rejected
Priority: 0/
Queue: Prima

People
Owner: Nobody in particular
Requestors: stefanos [...] cpan.org
Cc:
AdminCc:

Bug Information
Severity: Normal
Broken in: 1.28
Fixed in: (no value)



Subject: prima edit single lines with color and icon
i using prima with Prima::Edit. I cant find anything in the documentation. How can i mark single lines with color (text and/or background) and/or add an icon in front of it?
By default you can't. I've seen someone on the list implemented a successful proof of concept doing nearly the same thing you want by deriving a class from Prima::Edit. Icons on the left at least; I can't find neither who did it nor the files though, sorry. If you want to do that yourself, you'll need to add a couple of properties that'll contain information about icons and fg/bg colors, and overload on_paint to display it. Prima::Edit has a limited fg facilities, but it's more for syntax highlighting. You're welcome to write me to dmitry@karasik.eu.org if you need further info about this. /dk