Sublime Forum

Programmatic way to query context

#1

It would be hugely beneficial to be able to query the context programmatically. For example, I have a on_text_command function that would actually be able to do what I want if I could determine whether or not there is an overlay_panel currently visible. I am not aware of any other way to get this information at the moment.

1 Like

#2

this is something I suggested on the API Suggestions thread:

0 Likes

#3

Not sure how I missed that in a search.

Yes - you captured exactly what I want and how I assume it would be implemented.

It would be a dramatic improvement.

0 Likes

#4

I honestly find the forum search to be rather disappointing most of the time. Not the functionality per se, but the results it yields. Rarely do I see what I am looking for in the first few results and often times I have to refine the search or adjust sort order.

0 Likes

#5

I often go through what I think is all the search results before I make another posting, so in this case I really don’t know what went wrong.

0 Likes