[
Date Prev][
Date Next][
Thread Prev][
Thread Next][
Date Index][
Thread Index]
[
List Home]
Re: [orion-dev] Proposals for enhancement to ContentAssist
|
Hi Tom,
I can have a chat with you.
I assume that you are talking about this proposal:
{
"styleClass" : "public-method",
"segments" : [
{ "value" : "bla() : void" },
{ "value" : " - Test",
"style" : {
"bold" : "false",
"italic" : "false",
"color" : "AAA"
}
}
]
}
A few questions about this:
1. Who will provide the styleClasses? Are they hard coded by orioin or provided by plugins? If the former, that follows the same limitation that we have regarding styling. If the latter, then we get into security concerns.
2. Perhaps instead of a styleClass, you simply provide an icon (just a url to an icon that you want to use). And delegate the rest of the styling to the segments. Or is there something more fundamental that you would like the styleClass to handle?
3. I like the idea of segments. For a little nit picking, I would recommend using something like "foreground" and "background" instead of just color, or fore-color and back-color, or something to distinguish the two kinds of coloring that we might want to do.