Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
[orion-dev] Get text style of selected char

Hi Orion team,

I'm looking to find the text style of a given offset in the orion
editor (eg- is this offset inside of a comment, a string, a keyword,
etc?).  Is there some API to do this already, or do I have to dig wade
through the html elements to find it? Or is the best way to create my
own scanner?

More specifically, I don't really need to know about the html, I just
need to know if the current caret position is inside a comment,
string, or not.

Thanks for the help on this.

Andrew


Back to the top