On Sat, Apr 28, 2012 at 8:00 AM, Pierre Raybaut <[email protected]> wrote: > Hi there, > > 2012/4/28 <[email protected]>: >> I'm using eclipse with pydev as my second editor especially when >> working on a larger project. >> >> Does spyder check whether a file that is in the editor has been changed on >> disk? > > Yes, the file status is checked everytime Spyder's editor window gains > focus (so typically, when switching from an external editor to > Spyder's, it will have focus and so it will check whether the file has > been modified on disk or not): > http://code.google.com/p/spyderlib/source/browse/spyderlib/widgets/editor.py#1531 > > If it's not, then it's a bug.
I just tried it out, and it doesn't work for me. I don't get the warning from the isModified part and I don't get automatic reload if the file is no isModified. Could it be related to the number of open editor files? I have maybe a hundred files or more open in the editor, more than can be seen in the two columns in Browse Tabs. Thanks for spyder. Josef > >> My impression (no systematic check) is that spyder does not do it. I'm >> still on spyder 2.1.7 and I started to avoid having the same files >> open in several editors. >> In the thread on syntax highlighting partial file loading was >> mentioned, which seems to me might make the problem worse if several >> editors access the same file on disk. > > Oh no, this has nothing to do with it, at least in my own post. When I > mentioned the fact that syntax highlighting could be done only to > displayed text (not to the whole text), this does not prevent the > editor from loading the whole text at once: it just won't process it > at once. > > -Pierre > >> Thanks, >> >> Josef >> >> -- >> You received this message because you are subscribed to the Google Groups >> "spyder" group. >> To post to this group, send email to [email protected]. >> To unsubscribe from this group, send email to >> [email protected]. >> For more options, visit this group at >> http://groups.google.com/group/spyderlib?hl=en. >> > > -- > You received this message because you are subscribed to the Google Groups > "spyder" group. > To post to this group, send email to [email protected]. > To unsubscribe from this group, send email to > [email protected]. > For more options, visit this group at > http://groups.google.com/group/spyderlib?hl=en. > -- You received this message because you are subscribed to the Google Groups "spyder" group. To post to this group, send email to [email protected]. To unsubscribe from this group, send email to [email protected]. For more options, visit this group at http://groups.google.com/group/spyderlib?hl=en.
