{"push_id":1529663297,"size":1,"distinct_size":1,"ref":"refs/heads/master","head":"7ae114a056d97900de56a2642cd328a3128a03d7","before":"1c28e916c37153df427e93c8cb97b635f58f5cbd","commits":[{"sha":"7ae114a056d97900de56a2642cd328a3128a03d7","author":{"name":"Edward K. Ream","email":"a5e43d803933b0b09a38673f0da6b2f87a44d7be@gmail.com"},"message":"Fixed #387: New file is marked as changed.\nhttps://github.com/leo-editor/leo-editor/issues/387\n\nThe problem:\n\nabbrev.init_tree_abbrev changes the outline's changed indicator (*) during startup.\nSimply reversing this in c.new causes the * to flip back and forth.\nThat's not good enough: we can't have this kind of flash.\n\nThe changes were a bit tricky:\n\n- init_tree_abbrev calls c.pasteOutline(...,redrawFlag=False)\n- pasteOutline calls c.setChanged(True, redrawFlag=redrawFlag)\n- c.new calls c.setChanged(False)\n- Added redrawFlag keyword arg to c.setChanged.\n  When this is false, c.setChanged does not alter the outline's changed indicator.\n\nSuppressing the change indicator is a bit dangerous.\nIt would be very confusing if the indicator gets out of sync with reality.\nBut the fix should actually be safe enough, because only startup code is affected.\n\nLeo build: 20170131045907\n\nLeo build: 20170131052323","distinct":true,"url":"https://api.github.com/repos/leo-editor/leo-editor/commits/7ae114a056d97900de56a2642cd328a3128a03d7"}]}
{"actor":{"display_login":"edreamleo"}}