{"action":"closed","issue":{"url":"https://api.github.com/repos/jdf/processing.py/issues/285","repository_url":"https://api.github.com/repos/jdf/processing.py","labels_url":"https://api.github.com/repos/jdf/processing.py/issues/285/labels{/name}","comments_url":"https://api.github.com/repos/jdf/processing.py/issues/285/comments","events_url":"https://api.github.com/repos/jdf/processing.py/issues/285/events","html_url":"https://github.com/jdf/processing.py/issues/285","id":280638131,"number":285,"title":"Incorrectly removing final linebreak on sketch re-open","user":{"login":"jeremydouglass","id":798570,"avatar_url":"https://avatars3.githubusercontent.com/u/798570?v=4","gravatar_id":"","url":"https://api.github.com/users/jeremydouglass","html_url":"https://github.com/jeremydouglass","followers_url":"https://api.github.com/users/jeremydouglass/followers","following_url":"https://api.github.com/users/jeremydouglass/following{/other_user}","gists_url":"https://api.github.com/users/jeremydouglass/gists{/gist_id}","starred_url":"https://api.github.com/users/jeremydouglass/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jeremydouglass/subscriptions","organizations_url":"https://api.github.com/users/jeremydouglass/orgs","repos_url":"https://api.github.com/users/jeremydouglass/repos","events_url":"https://api.github.com/users/jeremydouglass/events{/privacy}","received_events_url":"https://api.github.com/users/jeremydouglass/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":1,"created_at":"2017-12-08T22:39:21Z","updated_at":"2017-12-09T03:43:24Z","closed_at":"2017-12-09T03:43:24Z","author_association":"NONE","body":"Opening a Processing.py sketch in PDE loads the text with the final linebreak missing. Saving any tab then introduces an additional change that strips away the final line break on that tab.\r\n\r\nThis is a minor issue, but an annoyance because part of the unix standard is a [linebreak at the end of the final line](https://unix.stackexchange.com/questions/18743/whats-the-point-in-adding-a-new-line-to-the-end-of-a-file) -- multiple checkers and source control tools add warnings or complain if that linebreak isn't there, and because Processing.py constantly re-introduces the error after every edit, it is easy to accidentally propagate the error back into e.g. version control again and again.\r\n"}}
{"actor":{"display_login":"jdf"}}