{"action":"created","issue":{"url":"https://api.github.com/repos/ajaxorg/ace/issues/2449","labels_url":"https://api.github.com/repos/ajaxorg/ace/issues/2449/labels{/name}","comments_url":"https://api.github.com/repos/ajaxorg/ace/issues/2449/comments","events_url":"https://api.github.com/repos/ajaxorg/ace/issues/2449/events","html_url":"https://github.com/ajaxorg/ace/pull/2449","id":68429385,"number":2449,"title":"Add getShowGutter and setShowGutter functions to Editor","user":{"login":"fnesveda","id":2934111,"avatar_url":"https://avatars.githubusercontent.com/u/2934111?v=3","gravatar_id":"","url":"https://api.github.com/users/fnesveda","html_url":"https://github.com/fnesveda","followers_url":"https://api.github.com/users/fnesveda/followers","following_url":"https://api.github.com/users/fnesveda/following{/other_user}","gists_url":"https://api.github.com/users/fnesveda/gists{/gist_id}","starred_url":"https://api.github.com/users/fnesveda/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/fnesveda/subscriptions","organizations_url":"https://api.github.com/users/fnesveda/orgs","repos_url":"https://api.github.com/users/fnesveda/repos","events_url":"https://api.github.com/users/fnesveda/events{/privacy}","received_events_url":"https://api.github.com/users/fnesveda/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":3,"created_at":"2015-04-14T16:21:03Z","updated_at":"2015-04-14T23:08:34Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/ajaxorg/ace/pulls/2449","html_url":"https://github.com/ajaxorg/ace/pull/2449","diff_url":"https://github.com/ajaxorg/ace/pull/2449.diff","patch_url":"https://github.com/ajaxorg/ace/pull/2449.patch"},"body":"This adds the getShowGutter and setShowGutter functions to the Editor object, they were implemented only in the VirtualRenderer before. I copied these two functions directly from the [virtual_renderer.js code](https://github.com/ajaxorg/ace/blob/4bc34f4eae5a45c00e7e5d94f25ebe7439aa7ce3/lib/ace/virtual_renderer.js#L536-551).\r\n\r\nI'm working on a little project which is using Ace, and this would be useful for me since I'd be able to change all Ace settings I need from Editor and wouldn't have to access the renderer.\r\n\r\nPlease let me know if I should change the code style somehow or put the functions at a different place in the file."},"comment":{"url":"https://api.github.com/repos/ajaxorg/ace/issues/comments/93105772","html_url":"https://github.com/ajaxorg/ace/pull/2449#issuecomment-93105772","issue_url":"https://api.github.com/repos/ajaxorg/ace/issues/2449","id":93105772,"user":{"login":"nightwing","id":341801,"avatar_url":"https://avatars.githubusercontent.com/u/341801?v=3","gravatar_id":"","url":"https://api.github.com/users/nightwing","html_url":"https://github.com/nightwing","followers_url":"https://api.github.com/users/nightwing/followers","following_url":"https://api.github.com/users/nightwing/following{/other_user}","gists_url":"https://api.github.com/users/nightwing/gists{/gist_id}","starred_url":"https://api.github.com/users/nightwing/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/nightwing/subscriptions","organizations_url":"https://api.github.com/users/nightwing/orgs","repos_url":"https://api.github.com/users/nightwing/repos","events_url":"https://api.github.com/users/nightwing/events{/privacy}","received_events_url":"https://api.github.com/users/nightwing/received_events","type":"User","site_admin":false},"created_at":"2015-04-14T23:08:34Z","updated_at":"2015-04-14T23:08:34Z","body":"True we need to update api reference and code examples.\r\nThere is some documentation for setOption at https://github.com/ajaxorg/ace/wiki/Configuring-Ace.\r\n\r\nI am not 100% sure whether it's good to keep adding `get/set` methods for options, but I like `setOption` approach better."}}