get_attributes


Description:

public bool get_attributes (TextAttributes values)

Computes the effect of any tags applied to this spot in the text.

The values parameter should be initialized to the default settings you wish to use if no tags are in effect. You’d typically obtain the defaults from get_default_attributes.

get_attributes will modify values, applying the effects of any tags present at this. If any tags affected values, the function returns true.

Parameters:

this

an iterator

values

a TextAttributes to be filled in

Returns:

true if values was modified