Hi!It seems that if I open the Console or the Find bar or any other area where you can input text, a new view is created. I have an EventListener class and I want to implement the on_activated(view) method but I want to ignore views that don't belong to any file. First I wanted to check if view.file_name() != None but then I wouldn't include the views of new unsaved files. Do you have an idea how to distinguish between views?Thanks

Somehow this doesn't help me though. I know of the 'is_widget' setting but I still get many views with their `file_name()` being `None` even though I have no unsaved buffers. I only get these when starting though. It seems to be exactly 4 calls for every window and I can say that this is not one of my open views because all of these are called with their file_name being set correctly.

Since we can agree that the Activated0 calls are pretty useless (why?):All the Activated1 calls together cover all my open views + one scratch + one dirty view, even though there are still numerous (8) calls with "File: 'None', Widget: None, Loading: False, Scratch: False, Dirty: False".

So, this comes down to 2 issues with the API:1. When I get a view I expect that view to be accessable at the time I get it passed and not try again after 20ms to be able to read it's values.2. Even when all my actually existing views are passed there are still 8 (probably 4 per window) "shadow views" that I can't assign.

So, if I had to fix issue 1. by re-calling the function again with the same view object in order to wait for Sublime Text to fill it with values I'll automatically encounter issue 2.: there will always be void views. Because I obviously have to check for 1. dynamically with a variable time interval I'd have to set a maximum iteration counter to not run into 2. and an infinite loop.I hope that this is understandable and that others can reproduce this.

Edit: Oh, I forgot: ST2 2220 Win7x64. I will test with ST3 tomorrow.

Edit2: Can't reproduce this on ST3 3031, I don't get any calls besides the one actially activated.