One way in Python would be, in a parent node to both your old and new nodes: if False: << old node name >> else: << new node name >> (Using << section references >> to pull in the contents of those nodes at the proper indentation levels.) The node isn’t truly *ignored*, but since the False is effectively a constant in this situation, it will never be executed. I use this pattern all the time when refactoring things. I believe Edward uses it in the Leo code base quite frequently as well. Jake On Mar 9, 2025, at 10:33 AM, Karthik Suresh <[email protected]> wrote: -- 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 view this discussion visit https://groups.google.com/d/msgid/leo-editor/FD07967A-6AD7-4E9C-BC8B-ED74BFEDE1E6%40gmail.com. |
- Is there a way to ignore a node in an outline Karthik Suresh
- Re: Is there a way to ignore a node in an outline Thomas Passin
- Re: Is there a way to ignore a node in an outline Karthik Suresh
- Re: Is there a way to ignore a node in an outline Jacob Peck
- Re: Is there a way to ignore a node in an outline Edward K. Ream
