{"action":"created","issue":{"url":"https://api.github.com/repos/gornostal/Modific/issues/101","repository_url":"https://api.github.com/repos/gornostal/Modific","labels_url":"https://api.github.com/repos/gornostal/Modific/issues/101/labels{/name}","comments_url":"https://api.github.com/repos/gornostal/Modific/issues/101/comments","events_url":"https://api.github.com/repos/gornostal/Modific/issues/101/events","html_url":"https://github.com/gornostal/Modific/issues/101","id":131586055,"number":101,"title":"Does not revert indentation correctly","user":{"login":"eproxus","id":112878,"avatar_url":"https://avatars.githubusercontent.com/u/112878?v=3","gravatar_id":"","url":"https://api.github.com/users/eproxus","html_url":"https://github.com/eproxus","followers_url":"https://api.github.com/users/eproxus/followers","following_url":"https://api.github.com/users/eproxus/following{/other_user}","gists_url":"https://api.github.com/users/eproxus/gists{/gist_id}","starred_url":"https://api.github.com/users/eproxus/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/eproxus/subscriptions","organizations_url":"https://api.github.com/users/eproxus/orgs","repos_url":"https://api.github.com/users/eproxus/repos","events_url":"https://api.github.com/users/eproxus/events{/privacy}","received_events_url":"https://api.github.com/users/eproxus/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":2,"created_at":"2016-02-05T08:42:29Z","updated_at":"2016-02-05T10:05:27Z","closed_at":null,"body":"I have a file with mixed tabs and spaces for indentation. When trying to revert the modified part, Modific restores the original line and the original indentation width, but not the actual indentation itself (tabs are replaced with spaces). This makes the part show up as modified anyway, and trying to revert it does nothing.\r\n\r\nI have the following setting enabled in Sublime Text:\r\n\r\n```json\r\n\"translate_tabs_to_spaces\": true,\r\n```\r\n\r\nBut I would expect Modific to restore the original content no matter what.\r\n\r\nI'm using Sublime Text 3 Dev Channel, Build 3100 and Modific 2015.12.05.20.31.07 installed via Package Control.\r\n"},"comment":{"url":"https://api.github.com/repos/gornostal/Modific/issues/comments/180281652","html_url":"https://github.com/gornostal/Modific/issues/101#issuecomment-180281652","issue_url":"https://api.github.com/repos/gornostal/Modific/issues/101","id":180281652,"user":{"login":"eproxus","id":112878,"avatar_url":"https://avatars.githubusercontent.com/u/112878?v=3","gravatar_id":"","url":"https://api.github.com/users/eproxus","html_url":"https://github.com/eproxus","followers_url":"https://api.github.com/users/eproxus/followers","following_url":"https://api.github.com/users/eproxus/following{/other_user}","gists_url":"https://api.github.com/users/eproxus/gists{/gist_id}","starred_url":"https://api.github.com/users/eproxus/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/eproxus/subscriptions","organizations_url":"https://api.github.com/users/eproxus/orgs","repos_url":"https://api.github.com/users/eproxus/repos","events_url":"https://api.github.com/users/eproxus/events{/privacy}","received_events_url":"https://api.github.com/users/eproxus/received_events","type":"User","site_admin":false},"created_at":"2016-02-05T10:05:27Z","updated_at":"2016-02-05T10:05:27Z","body":"The attached file contains a Zip archive of a Git repository with a single file `file`. It is modified on the last line, containing mixed tabs and spaces in the checked in version. For me, when I revert the part with Modific it sets the whole line indentation to spaces and marks the part as still modified.\r\n\r\n[test.zip](https://github.com/gornostal/Modific/files/118912/test.zip)"}}