Git Product home page Git Product logo

Comments (12)

gornostal avatar gornostal commented on August 23, 2024

Could you provide steps to reproduce?
I don't see this issue.

from modific.

eproxus avatar eproxus commented on August 23, 2024

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.

test.zip

from modific.

gornostal avatar gornostal commented on August 23, 2024

I did an investigation. Turns out Modific gives a correct string to replace but ST3 replaces tab with spaces and inserts a different string.
I'll keep this issue open, but I doubt there is anything I can do to fix it.

from modific.

eproxus avatar eproxus commented on August 23, 2024

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?

from modific.

gornostal avatar gornostal commented on August 23, 2024

Maybe there's a more low level API to use?

None that I know of.

ST bug tracker is here https://sublimetext.userecho.com/
Could you report the issue there please?

The issue is that 'edit_view' command doesn't insert mixed tabs and spaces, but converts indentation to default for the current file.

from modific.

eproxus avatar eproxus commented on August 23, 2024

Done: https://sublimetext.userecho.com/topic/1142727-/

from modific.

gornostal avatar gornostal commented on August 23, 2024

URL redirects to "Page Not Found".

from modific.

eproxus avatar eproxus commented on August 23, 2024

UserEcho is incredibly broken. Maybe these work?

from modific.

gornostal avatar gornostal commented on August 23, 2024

Nope.
Are you sure it's visible to everyone? Maybe there is a visibility setting or something?

from modific.

eproxus avatar eproxus commented on August 23, 2024

It's set to public, but it also says "Awaiting Moderation" so I guess it will be a while before it shows up. 😄

from modific.

gornostal avatar gornostal commented on August 23, 2024

Ah.. OK.

from modific.

eproxus avatar eproxus commented on August 23, 2024

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

from modific.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.