Hi,
I want to find out if an attribute is set at a certain range (in my case the selected text).
There is a function editorInfo.ace_getAttributeOnSelection(attributeName) which name suggests that it should solve my problem but (seems to) return true only if the value of the attribute is true, and false otherwise.
How can I get the information if an attribute is set to any value? Or even better, get a list of all attributes that are set to any value on a specified range?
Hi,
I want to find out if an attribute is set at a certain range (in my case the selected text).
There is a function
editorInfo.ace_getAttributeOnSelection(attributeName)which name suggests that it should solve my problem but (seems to) return true only if the value of the attribute is true, and false otherwise.How can I get the information if an attribute is set to any value? Or even better, get a list of all attributes that are set to any value on a specified range?