Leo 4.11 final, build 5020, 2012-02-26 13:18:08 -0600 Leo 4.11 final, build b77d39b6ff71 (branch: master), 2014-04-13 14:07:07 Python 2.7.6, qt version 4.8.5 Windows 6, 1, 7601, 2, Service Pack 1
When I change something and then undo that change, the asterisk at the front of the file tab that indicates that the file is modified never goes away? Apparently, the LeoTabbedTopLevel(QtGui.QTabWidget).setChanged (self,c,changed) doesn't seem to be called correctly from undoer.undo()? That seems to return early if there is nothing left to undo. Not surprisingly, the Icon Box darker outline is also not changed. Why does this matter? As a very new (only since Friday) user of Leo, I've been looking around at various "system" .leo files. Often in the course of this I accidentally change something. I then immediately Undo, but it is still marked as dirty, and instead I have to close that Tab, answer No about saving changes, and then reopen. BTW, in order to tell where setChanged() was being called, I found it *MUCH* easier to look at the Leo sources using PyCharm (probably because I've used it a little longer). One slightly peculiar thing I noticed is that I got a lot of hits in various .txt files, but could not find out where/how those .txt files were being generated. For example leo\core\key-handling-notes.txt has some stuff at the top that says: #@+node:ekr.20080508083640.10:@thin key-handling-notes.txt but I couldn't find any "@thin key-handling-notes.txt" heading in LeoPyRef.leo? -- You received this message because you are subscribed to the Google Groups "leo-editor" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To post to this group, send email to [email protected]. Visit this group at http://groups.google.com/group/leo-editor. For more options, visit https://groups.google.com/d/optout.
