Giter VIP home page Giter VIP logo

Comments (7)

tessus avatar tessus commented on August 17, 2024 5

Yes, but it has to be fixed by the devs. The line you mentioned should be removed or set to auto. Hopefully the devs unddrestand that saving all files with windows line endings is a bug and a problem for most people.

from files_texteditor.

ionum avatar ionum commented on August 17, 2024 2

I think, the problem lies in editor.js line 448 "aceEditor.getSession().setNewLineMode("windows");"

from files_texteditor.

stolle avatar stolle commented on August 17, 2024

I have the same problem. The editor saves files always with CR LF, no matter which OS the browser runs on or what the file looked like before editing. So I cant use it for most of my use cases.

from files_texteditor.

ionum avatar ionum commented on August 17, 2024

+1

from files_texteditor.

ifuchs avatar ifuchs commented on August 17, 2024

I tried changing the file per the above (c/windows/auto) but it did not change the behavior of the editor. Is there anything else I need to do to make it take effect? (I tried disabling and enabling the app to no avail).

from files_texteditor.

tanghus avatar tanghus commented on August 17, 2024

Maybe remove cache and/or do a Shift-reload in the browser? I'm guessing the scripts are cached.

from files_texteditor.

ifuchs avatar ifuchs commented on August 17, 2024

from files_texteditor.

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.