{"action":"created","issue":{"url":"https://api.github.com/repos/Microsoft/vscode/issues/588","repository_url":"https://api.github.com/repos/Microsoft/vscode","labels_url":"https://api.github.com/repos/Microsoft/vscode/issues/588/labels{/name}","comments_url":"https://api.github.com/repos/Microsoft/vscode/issues/588/comments","events_url":"https://api.github.com/repos/Microsoft/vscode/issues/588/events","html_url":"https://github.com/Microsoft/vscode/issues/588","id":118700289,"number":588,"title":"Count of currently visible lines in current Editor","user":{"login":"seanmcbreen","id":1051190,"avatar_url":"https://avatars.githubusercontent.com/u/1051190?v=3","gravatar_id":"","url":"https://api.github.com/users/seanmcbreen","html_url":"https://github.com/seanmcbreen","followers_url":"https://api.github.com/users/seanmcbreen/followers","following_url":"https://api.github.com/users/seanmcbreen/following{/other_user}","gists_url":"https://api.github.com/users/seanmcbreen/gists{/gist_id}","starred_url":"https://api.github.com/users/seanmcbreen/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/seanmcbreen/subscriptions","organizations_url":"https://api.github.com/users/seanmcbreen/orgs","repos_url":"https://api.github.com/users/seanmcbreen/repos","events_url":"https://api.github.com/users/seanmcbreen/events{/privacy}","received_events_url":"https://api.github.com/users/seanmcbreen/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/Microsoft/vscode/labels/api","name":"api","color":"1d76db"},{"url":"https://api.github.com/repos/Microsoft/vscode/labels/feature-request","name":"feature-request","color":"bfe5bf"}],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":{"url":"https://api.github.com/repos/Microsoft/vscode/milestones/8","html_url":"https://github.com/Microsoft/vscode/milestones/Backlog","labels_url":"https://api.github.com/repos/Microsoft/vscode/milestones/8/labels","id":1412124,"number":8,"title":"Backlog","description":"Work not yet planned for a specific release.","creator":{"login":"chrisdias","id":1487073,"avatar_url":"https://avatars.githubusercontent.com/u/1487073?v=3","gravatar_id":"","url":"https://api.github.com/users/chrisdias","html_url":"https://github.com/chrisdias","followers_url":"https://api.github.com/users/chrisdias/followers","following_url":"https://api.github.com/users/chrisdias/following{/other_user}","gists_url":"https://api.github.com/users/chrisdias/gists{/gist_id}","starred_url":"https://api.github.com/users/chrisdias/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/chrisdias/subscriptions","organizations_url":"https://api.github.com/users/chrisdias/orgs","repos_url":"https://api.github.com/users/chrisdias/repos","events_url":"https://api.github.com/users/chrisdias/events{/privacy}","received_events_url":"https://api.github.com/users/chrisdias/received_events","type":"User","site_admin":false},"open_issues":1468,"closed_issues":997,"state":"open","created_at":"2015-11-15T10:30:19Z","updated_at":"2016-10-11T00:56:11Z","due_on":null,"closed_at":null},"comments":7,"created_at":"2015-11-24T20:51:40Z","updated_at":"2016-10-11T06:30:16Z","closed_at":null,"body":"_From @jsturtevant on October 26, 2015 23:25_\n\nIs there an API or way to detect which lines are visible in the current editor?\r\n\r\nIn a large file if i use \r\n\r\n``` typescript\r\nlet count = doc.getLineCount();\r\n```\r\n\r\nI get all the count of all the lines in the document but I my case I need to restrict my search to only the current visible lines.  In the example below I would get a count of 35 lines although the file is 90+.\r\n\r\n![image](https://cloud.githubusercontent.com/assets/648372/10745288/bae66598-7c16-11e5-8337-641032000ba7.png)\r\n\n\n_Copied from original issue: Microsoft/vscode-extensionbuilders#63_"},"comment":{"url":"https://api.github.com/repos/Microsoft/vscode/issues/comments/252825181","html_url":"https://github.com/Microsoft/vscode/issues/588#issuecomment-252825181","issue_url":"https://api.github.com/repos/Microsoft/vscode/issues/588","id":252825181,"user":{"login":"wmaurer","id":2899448,"avatar_url":"https://avatars.githubusercontent.com/u/2899448?v=3","gravatar_id":"","url":"https://api.github.com/users/wmaurer","html_url":"https://github.com/wmaurer","followers_url":"https://api.github.com/users/wmaurer/followers","following_url":"https://api.github.com/users/wmaurer/following{/other_user}","gists_url":"https://api.github.com/users/wmaurer/gists{/gist_id}","starred_url":"https://api.github.com/users/wmaurer/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/wmaurer/subscriptions","organizations_url":"https://api.github.com/users/wmaurer/orgs","repos_url":"https://api.github.com/users/wmaurer/repos","events_url":"https://api.github.com/users/wmaurer/events{/privacy}","received_events_url":"https://api.github.com/users/wmaurer/received_events","type":"User","site_admin":false},"created_at":"2016-10-11T06:30:16Z","updated_at":"2016-10-11T06:30:16Z","body":"@jrieken further info, this feature would be specifically useful for my [Jumpy](https://github.com/wmaurer/vscode-jumpy) extension, where I have to hard code (or provide as a user setting) how many lines back and forward from the current cursor position to search."}}
{"actor":{"display_login":"wmaurer"}}