{"action":"created","issue":{"url":"https://api.github.com/repos/atom/atom/issues/12451","repository_url":"https://api.github.com/repos/atom/atom","labels_url":"https://api.github.com/repos/atom/atom/issues/12451/labels{/name}","comments_url":"https://api.github.com/repos/atom/atom/issues/12451/comments","events_url":"https://api.github.com/repos/atom/atom/issues/12451/events","html_url":"https://github.com/atom/atom/issues/12451","id":171776299,"number":12451,"title":"Indent guides don't show up on existing editors","user":{"login":"50Wliu","id":2766036,"avatar_url":"https://avatars.githubusercontent.com/u/2766036?v=3","gravatar_id":"","url":"https://api.github.com/users/50Wliu","html_url":"https://github.com/50Wliu","followers_url":"https://api.github.com/users/50Wliu/followers","following_url":"https://api.github.com/users/50Wliu/following{/other_user}","gists_url":"https://api.github.com/users/50Wliu/gists{/gist_id}","starred_url":"https://api.github.com/users/50Wliu/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/50Wliu/subscriptions","organizations_url":"https://api.github.com/users/50Wliu/orgs","repos_url":"https://api.github.com/users/50Wliu/repos","events_url":"https://api.github.com/users/50Wliu/events{/privacy}","received_events_url":"https://api.github.com/users/50Wliu/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/atom/atom/labels/bug","name":"bug","color":"f7c6c7"},{"url":"https://api.github.com/repos/atom/atom/labels/editor-rendering","name":"editor-rendering","color":"fef2c0"}],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2016-08-17T22:30:21Z","updated_at":"2016-08-18T19:17:44Z","closed_at":"2016-08-18T17:59:57Z","body":"### Prerequisites\r\n\r\n* [x] Can you reproduce the problem in [safe mode](http://flight-manual.atom.io/hacking-atom/sections/debugging/#using-safe-mode)?\r\n* [x] Are you running the [latest version of Atom](http://flight-manual.atom.io/hacking-atom/sections/debugging/#update-to-the-latest-version)?\r\n* [x] Did you check the [debugging guide](http://flight-manual.atom.io/hacking-atom/sections/debugging/)?\r\n* [x] Did you check the [FAQs on Discuss](https://discuss.atom.io/c/faq)?\r\n* [x] Are you reporting to the [correct repository](https://github.com/atom/atom/blob/master/CONTRIBUTING.md#atom-and-packages)?\r\n* [x] Did you [perform a cursory search](https://github.com/issues?q=is%3Aissue+user%3Aatom+-repo%3Aatom%2Felectron) to see if your bug or enhancement is already reported?\r\n\r\n### Description\r\n\r\nExisting editors (ie those that are opened automatically upon opening an existing project) do not show indent guides.  New editors (ie those that are opened after Atom loads the existing project) do.  In addition, closing the existing editors and reopening them will cause them to start showing indent guides.  I believe this started after the TextEditor extraction PR, though I'm not completely sure.\r\n\r\n### Steps to Reproduce\r\n\r\n1. Open Atom and add a project folder (making sure the indent guides option is enabled)\r\n2. Open some files\r\n3. Close Atom\r\n4. Open Atom again, making sure it restores the project folder and files added in step 1\r\n5. Note that no indent guides are shown\r\n6. Open a different file and note that indent guides are shown on that file only\r\n7. Close one of the existing files and reopen it and notice that indent guides are now shown on that file as well\r\n\r\n**Expected behavior:** Indent guides to always show if the option is enabled\r\n\r\n**Actual behavior:** Indent guides do not show on existing editors until they are reopened\r\n\r\n### Versions\r\n\r\n```\r\nAtom    : 1.11.0-dev-351bad4\r\nElectron: 0.37.8\r\nChrome  : 49.0.2623.75\r\nNode    : 5.10.0\r\n```\r\n\r\n```\r\napm  1.12.5\r\nnpm  3.10.5\r\nnode 4.4.5\r\npython 2.7.12\r\ngit 2.9.2.windows.1\r\nvisual studio 2015\r\n```\r\n\r\nWindows 10 x64.\r\n\r\n/cc @lee-dohm"},"comment":{"url":"https://api.github.com/repos/atom/atom/issues/comments/240827395","html_url":"https://github.com/atom/atom/issues/12451#issuecomment-240827395","issue_url":"https://api.github.com/repos/atom/atom/issues/12451","id":240827395,"user":{"login":"maxbrunsfeld","id":326587,"avatar_url":"https://avatars.githubusercontent.com/u/326587?v=3","gravatar_id":"","url":"https://api.github.com/users/maxbrunsfeld","html_url":"https://github.com/maxbrunsfeld","followers_url":"https://api.github.com/users/maxbrunsfeld/followers","following_url":"https://api.github.com/users/maxbrunsfeld/following{/other_user}","gists_url":"https://api.github.com/users/maxbrunsfeld/gists{/gist_id}","starred_url":"https://api.github.com/users/maxbrunsfeld/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/maxbrunsfeld/subscriptions","organizations_url":"https://api.github.com/users/maxbrunsfeld/orgs","repos_url":"https://api.github.com/users/maxbrunsfeld/repos","events_url":"https://api.github.com/users/maxbrunsfeld/events{/privacy}","received_events_url":"https://api.github.com/users/maxbrunsfeld/received_events","type":"User","site_admin":true},"created_at":"2016-08-18T19:17:44Z","updated_at":"2016-08-18T19:17:44Z","body":"Thanks for catching this @50Wliu!"}}
{"actor":{"display_login":"maxbrunsfeld"}}