-
Notifications
You must be signed in to change notification settings - Fork 16
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Possible to get the minimap to display in the second window? #11
Comments
Hi. |
+1 |
Tried to make that work, unfortunately it seems that it implies a major revamp of the plugin, as well as changing the way it gets the views. MinimapViewManager (which could actually be considered as the Minimap Object itself or its handler here) might have to be used as a class and not a singleton. Another solution was to handle Minimaps attributes as javascript objects in the MainViewManager, but this means you have to give the id of the pane/minimap you want to act upon on every MinimapViewManager's function. Currently, you're using the EditorManager, but this one doesn't give you a list of the Editors, only the one currently opened (actually, this info isn't stored anywhere). MainViewManager may give you the list of panes, but from there you might have to dig into the HTML code to get the rest of the content (you may get the list of documents in the specified pane with getCurrentlyViewedPath, but not the one currently opened, and you'll have to figure if it's a code document or not). I broke the plugin several times to make this work, but I didn't find any simple solution for now. |
Would it be possible to display a second minimap when the window is being split into two? Like this:
Default

With an extra bar

The text was updated successfully, but these errors were encountered: