Re: Looking for documentation about automatic setting of dirty flag
On Wed, Oct 2, 2019 at 3:47 PM Robert Cholette wrote: > I open leoPyRef.leo and unfold the code node, and then the core classes node. Then just type a single letter in the body pane of 'core classes' : all @files below are now dirty... is this normal? Yeah, it's normal. Probably because directives in ancestor nodes affect child nodes. So what I said previously isn't accurate. Edward -- 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 leo-editor+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/leo-editor/CAMF8tS0VsH3Uf93mPG9_ygNPPYDC91r3nMrfoVTG%3DWsn-emFLA%40mail.gmail.com.
Re: Looking for documentation about automatic setting of dirty flag
> Setting a node dirty will not set any children dirty. Can you elaborate? When I write text in the body of a node that has direct children that are @clean or @files, those children become dirty. For example, I open leoPyRef.leo and unfold the code node, and then the core classes node. Then just type a single letter in the body pane of 'core classes' : all @files below are now dirty... is this normal? here's my log pane : Leo 6.0-final, master branch, build f3e2b18bcd 2019-08-10 20:34:57 -0400 Python 3.6.8, PyQt version 5.9.5 linux read 175 files in 0.37 seconds read outline in 0.45 seconds On Tuesday, October 1, 2019 at 4:37:38 PM UTC-4, Robert Cholette wrote: > > Just lookig for docum or part of code that would explain it. > > Particularly about when the parent is set dirty too (editing a body of > child of derived file-node) > or when the childs are also set dirty... upon modifying body text of > parent if already had content/ or not. > > etc... > Thanks! > > -- 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 leo-editor+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/leo-editor/971c92cc-418e-4190-86af-1b3ae1ac7f55%40googlegroups.com.
Re: Looking for documentation about automatic setting of dirty flag
On Tue, Oct 1, 2019 at 3:38 PM Robert Cholette wrote: > Just looking for docs or part of code that would explain it. > Because of clones, the code is complex. Don't bother trying to understand the code's intent from reading it :-) We want to mark a node "dirty" (changed) if its headline or body text has changed since the last time we last saved the outline (.leo file). More importantly, we want to mark the node that creates the external file dirty as well, so Leo (and you) can know which files need to be written when we save the .leo file. Setting a node dirty will not set any children dirty. Edward -- 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 leo-editor+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/leo-editor/CAMF8tS2xyce1zBw%3D2bi6_5ORrvjioBRMGQGZ7xeRbDqakoOKYQ%40mail.gmail.com.
Looking for documentation about automatic setting of dirty flag
Just lookig for docum or part of code that would explain it. Particularly about when the parent is set dirty too (editing a body of child of derived file-node) or when the childs are also set dirty... upon modifying body text of parent if already had content/ or not. etc... Thanks! -- 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 leo-editor+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/leo-editor/cca90ac9-6a58-4082-b665-f1826b4a9be3%40googlegroups.com.