{"action":"created","issue":{"url":"https://api.github.com/repos/maoschanz/gedit-plugin-markdown_preview/issues/7","repository_url":"https://api.github.com/repos/maoschanz/gedit-plugin-markdown_preview","labels_url":"https://api.github.com/repos/maoschanz/gedit-plugin-markdown_preview/issues/7/labels{/name}","comments_url":"https://api.github.com/repos/maoschanz/gedit-plugin-markdown_preview/issues/7/comments","events_url":"https://api.github.com/repos/maoschanz/gedit-plugin-markdown_preview/issues/7/events","html_url":"https://github.com/maoschanz/gedit-plugin-markdown_preview/issues/7","id":380155072,"node_id":"MDU6SXNzdWUzODAxNTUwNzI=","number":7,"title":"Don't open the Markdown preview sidepane automatically","user":{"login":"sojusnik","id":1245718,"node_id":"MDQ6VXNlcjEyNDU3MTg=","avatar_url":"https://avatars0.githubusercontent.com/u/1245718?v=4","gravatar_id":"","url":"https://api.github.com/users/sojusnik","html_url":"https://github.com/sojusnik","followers_url":"https://api.github.com/users/sojusnik/followers","following_url":"https://api.github.com/users/sojusnik/following{/other_user}","gists_url":"https://api.github.com/users/sojusnik/gists{/gist_id}","starred_url":"https://api.github.com/users/sojusnik/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sojusnik/subscriptions","organizations_url":"https://api.github.com/users/sojusnik/orgs","repos_url":"https://api.github.com/users/sojusnik/repos","events_url":"https://api.github.com/users/sojusnik/events{/privacy}","received_events_url":"https://api.github.com/users/sojusnik/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":3,"created_at":"2018-11-13T10:24:40Z","updated_at":"2018-11-14T09:53:28Z","closed_at":"2018-11-14T09:07:15Z","author_association":"NONE","body":"I've pulled the latest master branch to play a little bit around and noticed that whenever I open a file with an .md ending, the sidepane with the Markdown preview is opened too. This is quite annoying, since I switch a lot between tabs and tab groups (ctrl+alt+n) and every time I get back to the .md file, the sidepane is opened again, if it was closed before.\r\n\r\nI therefore propose to implement an option that will allow the user to turn this behavior on and off respectively. The appropriate setting could be called \"Show Markdown preview on opening a Markdown file\". Additionally your plugin should remember the state of the sidepane for each file – when you close the pane, then it should stay so, if you switch back to it."},"comment":{"url":"https://api.github.com/repos/maoschanz/gedit-plugin-markdown_preview/issues/comments/438603529","html_url":"https://github.com/maoschanz/gedit-plugin-markdown_preview/issues/7#issuecomment-438603529","issue_url":"https://api.github.com/repos/maoschanz/gedit-plugin-markdown_preview/issues/7","id":438603529,"node_id":"MDEyOklzc3VlQ29tbWVudDQzODYwMzUyOQ==","user":{"login":"sojusnik","id":1245718,"node_id":"MDQ6VXNlcjEyNDU3MTg=","avatar_url":"https://avatars0.githubusercontent.com/u/1245718?v=4","gravatar_id":"","url":"https://api.github.com/users/sojusnik","html_url":"https://github.com/sojusnik","followers_url":"https://api.github.com/users/sojusnik/followers","following_url":"https://api.github.com/users/sojusnik/following{/other_user}","gists_url":"https://api.github.com/users/sojusnik/gists{/gist_id}","starred_url":"https://api.github.com/users/sojusnik/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sojusnik/subscriptions","organizations_url":"https://api.github.com/users/sojusnik/orgs","repos_url":"https://api.github.com/users/sojusnik/repos","events_url":"https://api.github.com/users/sojusnik/events{/privacy}","received_events_url":"https://api.github.com/users/sojusnik/received_events","type":"User","site_admin":false},"created_at":"2018-11-14T09:53:28Z","updated_at":"2018-11-14T09:53:28Z","author_association":"NONE","body":"The recent version works better, but has some flaws:\r\n\r\n1. The preview isn't shown when the sidebar is opened, only after a refresh or a text change\r\n2. If a file is opened from the quick open menu, then the preview doesn't work at all\r\n\r\nWatch [this](https://mega.nz/#!K8o3BQLb!cRGUws3w_jzrKockyR3W7ai9WfZI9FfpetldUFc1D3Q) screencast for a better demonstration."}}
{"actor":{"display_login":"sojusnik"}}