Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

Already on GitHub? Sign in to your account

Block cursor does not update in multiple views #1

netpro2k opened this Issue Dec 3, 2011 · 4 comments


None yet
4 participants

netpro2k commented Dec 3, 2011

If the same file is open in multiple tabs, the block cursor only works correctly in the first tab that was opened


MSch commented Jan 25, 2012

I'd like to fix this. But I'm new to Sublime Text. How do I open a file in multiple tabs? Sublime always switches to the tab where the file is opened for me.

I'm not sure if it's not about layouts. When i switch to 2 columns layout (Shift+Alt+2) or any other layout than Single, and I open a file in new view - block cursor works correctly only in the first view.


netpro2k commented May 18, 2012

I can confirm this as well. Pretty new to sublime plugin API, so I am very likely making some incorrect assumptions


deiga commented Jan 30, 2013

I got an idea after a bit of browsing through the API. you can get the window from the current view via view.window(), Window has the function window.views() which returns a list of views, which length increases when another tab is opened, in either a split etc.

Couldn't you just loop through the views and set the block cursor on each of them?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment