{"action":"opened","issue":{"url":"https://api.github.com/repos/Lexikos/AutoHotkey_L/issues/40","labels_url":"https://api.github.com/repos/Lexikos/AutoHotkey_L/issues/40/labels{/name}","comments_url":"https://api.github.com/repos/Lexikos/AutoHotkey_L/issues/40/comments","events_url":"https://api.github.com/repos/Lexikos/AutoHotkey_L/issues/40/events","html_url":"https://github.com/Lexikos/AutoHotkey_L/issues/40","id":92322077,"number":40,"title":"textedit always one line too short","user":{"login":"hramrach","id":787652,"avatar_url":"https://avatars.githubusercontent.com/u/787652?v=3","gravatar_id":"","url":"https://api.github.com/users/hramrach","html_url":"https://github.com/hramrach","followers_url":"https://api.github.com/users/hramrach/followers","following_url":"https://api.github.com/users/hramrach/following{/other_user}","gists_url":"https://api.github.com/users/hramrach/gists{/gist_id}","starred_url":"https://api.github.com/users/hramrach/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/hramrach/subscriptions","organizations_url":"https://api.github.com/users/hramrach/orgs","repos_url":"https://api.github.com/users/hramrach/repos","events_url":"https://api.github.com/users/hramrach/events{/privacy}","received_events_url":"https://api.github.com/users/hramrach/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":0,"created_at":"2015-07-01T09:01:29Z","updated_at":"2015-07-01T09:01:29Z","closed_at":null,"body":"Hello,\r\n\r\nI am using AHK 1.1.22.2 to display the output of a script like this:\r\n\r\n#SingleInstance force\r\n#i::\r\nRunWait, %comspec% /c C:\\windows\\sysinfo.rb > C:\\temp\\%USERNAME%sysinfo.txt,, Hide\r\nFileRead, si, C:\\temp\\%USERNAME%sysinfo.txt\r\nFileDelete, C:\\temp\\%USERNAME%sysinfo.txt\r\n\r\nGui, sysinfo: New, +AlwaysOnTOp -MinimizeBox +ToolWindow, sysinfo\r\nGui, Add, Edit, ReadOnly, %si%\r\nGui, Add, Button,, Hide\r\n\r\nGui, Show\r\nReturn\r\n\r\nThe dialog shows a text edit which has a scrollbar because the last empty line is not accounted for in calculating the textedit height.\r\n\r\n![bez nazvu](https://cloud.githubusercontent.com/assets/787652/8451042/46d498ec-1fe0-11e5-96ff-d7053005e64f.png)\r\n\r\n"}}