targets_include_rich_text


Description:

[ Version ( since = "2.10" ) ]
public bool targets_include_rich_text (TextBuffer buffer)

Given a SelectionData object holding a list of targets, determines if any of the targets in targets can be used to provide rich text.

Parameters:

this

a SelectionData object

buffer

a TextBuffer

Returns:

true if this holds a list of targets, and a suitable target for rich text is included, otherwise false.