ColorPresentationContext
A ColorPresentationContext
object contains contextual information about a request to provide a set of ColorPresentation for a Color object. A color presentation context is provided as part of an invocation of the provideColorPresentations(color, editor, context)
for a color assistant.
The ColorPresentationContext
class is not subclassable.
Added in Nova 5.
Properties
range
The range of text within the editor into which a presentation will be inserted if accepted by the user, as a Range. This value may be used to compute a TextEdit object to assign to a color presentation.
This property is readonly.