Let's give this a day. Are there any windows users who strongly oppose this change?
On Apr 24, 7:58 pm, Anthony <abasta...@gmail.com> wrote: > On Sunday, April 24, 2011 8:22:52 PM UTC-4, Massimo Di Pierro wrote: > > > The problem is that with the patch if you try open the files with a > > windows editor, the line-endings will not have the CR and may not be > > indented as expected. > > I think most Windows editors can handle text files that only use LF for > ending lines. I'm using Windows 7, and for me, Notepad++, Komodo Edit, and > Aptana/Eclipse all handle the web2py source files (which use LF without CR > to end lines) just fine. The only Windows editor that appears to require > CR/LF is Notepad. > > It probably makes sense to have the admin editor save with LF's only just to > maintain consistency with the standard web2py files. For example, all the > 'welcome' app files have LF's. If you happen to save one of the 'welcome' > app files via the admin editor, it converts all the LF's to CR/LF's -- then > some of your app's files have LF's, and some have CR/LF's. It's probably > better to be consistent. > > Anthony