{"action":"created","issue":{"url":"https://api.github.com/repos/pnedev/compare-plugin/issues/29","repository_url":"https://api.github.com/repos/pnedev/compare-plugin","labels_url":"https://api.github.com/repos/pnedev/compare-plugin/issues/29/labels{/name}","comments_url":"https://api.github.com/repos/pnedev/compare-plugin/issues/29/comments","events_url":"https://api.github.com/repos/pnedev/compare-plugin/issues/29/events","html_url":"https://github.com/pnedev/compare-plugin/issues/29","id":143367443,"number":29,"title":"Compare to last Save: always place original file at bottom","user":{"login":"Yaron10","id":10229320,"avatar_url":"https://avatars.githubusercontent.com/u/10229320?v=3","gravatar_id":"","url":"https://api.github.com/users/Yaron10","html_url":"https://github.com/Yaron10","followers_url":"https://api.github.com/users/Yaron10/followers","following_url":"https://api.github.com/users/Yaron10/following{/other_user}","gists_url":"https://api.github.com/users/Yaron10/gists{/gist_id}","starred_url":"https://api.github.com/users/Yaron10/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Yaron10/subscriptions","organizations_url":"https://api.github.com/users/Yaron10/orgs","repos_url":"https://api.github.com/users/Yaron10/repos","events_url":"https://api.github.com/users/Yaron10/events{/privacy}","received_events_url":"https://api.github.com/users/Yaron10/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/pnedev/compare-plugin/labels/question","name":"question","color":"cc317c"}],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":15,"created_at":"2016-03-24T21:39:50Z","updated_at":"2016-04-13T07:23:35Z","closed_at":null,"body":"Hello Pavel,\r\n\r\nThe file at top is considered the old version and is compared to the new one at bottom (i.e. the \"Line deleted\" marks are always at top, and the \"Line added\" marks are at bottom).\r\n\r\nObviously the correct arrangement is up to the user and we can't control it.\r\n\r\nHowever, in \"Compare to last Save\" we *know* that the original file is the new version.\r\nI think, therefor, that if we start in One-View mode we should make sure that the original file is *always* placed at bottom.\r\n\r\nThat means checking if \"currentView == 1\" and make the appropriate adjustments. \r\n\r\nThank you.\r\n\r\nBest regards. \r\n "},"comment":{"url":"https://api.github.com/repos/pnedev/compare-plugin/issues/comments/209269376","html_url":"https://github.com/pnedev/compare-plugin/issues/29#issuecomment-209269376","issue_url":"https://api.github.com/repos/pnedev/compare-plugin/issues/29","id":209269376,"user":{"login":"pnedev","id":6064913,"avatar_url":"https://avatars.githubusercontent.com/u/6064913?v=3","gravatar_id":"","url":"https://api.github.com/users/pnedev","html_url":"https://github.com/pnedev","followers_url":"https://api.github.com/users/pnedev/followers","following_url":"https://api.github.com/users/pnedev/following{/other_user}","gists_url":"https://api.github.com/users/pnedev/gists{/gist_id}","starred_url":"https://api.github.com/users/pnedev/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/pnedev/subscriptions","organizations_url":"https://api.github.com/users/pnedev/orgs","repos_url":"https://api.github.com/users/pnedev/repos","events_url":"https://api.github.com/users/pnedev/events{/privacy}","received_events_url":"https://api.github.com/users/pnedev/received_events","type":"User","site_admin":false},"created_at":"2016-04-13T07:23:35Z","updated_at":"2016-04-13T07:23:35Z","body":"Hello Yaron,\r\n\r\n> I think this is the most important issue In the Compare Plugin.\r\n\r\nI couldn't agree more. It's a compare program after all (or should I say \"before everything else\").\r\nWill review this issue soon.\r\n\r\nBR"}}