-
Notifications
You must be signed in to change notification settings - Fork 44
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Does not revert indentation correctly #101
Comments
Could you provide steps to reproduce? |
The attached file contains a Zip archive of a Git repository with a single file |
I did an investigation. Turns out Modific gives a correct string to replace but ST3 replaces tab with spaces and inserts a different string. |
Maybe there's a more low level API to use? If not, I suggest we open a bug report / feature request on Sublime Text instead. Do you know if that is possible? |
None that I know of. ST bug tracker is here https://sublimetext.userecho.com/ The issue is that 'edit_view' command doesn't insert mixed tabs and spaces, but converts indentation to default for the current file. |
URL redirects to "Page Not Found". |
UserEcho is incredibly broken. Maybe these work? |
Nope. |
It's set to public, but it also says "Awaiting Moderation" so I guess it will be a while before it shows up. 😄 |
Ah.. OK. |
UserEcho seems mostly dead and full of spam. I cross posted to the forums as well: https://forum.sublimetext.com/t/edit-view-changes-indentation-of-inserted-text/17389 |
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.
I have the following setting enabled in Sublime Text:
But I would expect Modific to restore the original content no matter what.
I'm using Sublime Text 3 Dev Channel, Build 3100 and Modific 2015.12.05.20.31.07 installed via Package Control.
The text was updated successfully, but these errors were encountered: