When you select a word in Sublime Text 2 , the word is highlighted, and other words in one document are visually indicated / placed in the box. From what I understand, they are all called regions, but I'm new to writing Sublime and Python plugins.
How to get all of these areas in Python? According to the API , I could use get_regions(key) , but I have no idea what the key could be!
I was able to create my own regions using find_all with the currently selected word, but the regions are slightly different from what stands out in Sublime. I would like to somehow access the built-in functions, if possible.

In the image, I selected βtext,β and Sublime selected all the other words. Basically, I want to get this RegionSet.
source share