Re: A proposal for the Python Dev's

2020-01-24 Thread john lunzer
I'm not sure I'd let that hold you up. You could almost certainly do it what a fairly complete set of unicode characters. Specifically: the unicode box drawing characters for all the lines; there are a couple of fancier ones for the top level glyphs; and there is a diamond called a "lozenge"

Re: A proposal for the Python Dev's

2020-01-24 Thread 'tfer' via leo-editor
Thanks for the wishes John, though it currently is far down on the list of projects. It would require permission to use the gylphs, or creation of an equivalent set. Tom -- You received this message because you are subscribed to the Google Groups "leo-editor" group. To unsubscribe from

Re: A proposal for the Python Dev's

2020-01-24 Thread john lunzer
CSD is nice, it seems like a more structure aware indent highlighter. I can see how it could be done entirely with unicode characters. I think in visual function it would be not much different from a whitespace mode. As you stated, the algorithms need to be code aware meaning they're doing

Re: ENB: Why didn't I, and black and fstring, use asttokens?

2020-01-24 Thread Edward K. Ream
On Friday, January 24, 2020 at 2:31:10 AM UTC-5, Edward K. Ream wrote: The Aha: yesterday I saw that the code: >> >> if not isinstance(node, ast.Slice): >> >> could be replaced by: >> >> if not any(isinstance(z, ast.Slice) for z in self.token.node_list): >> > > This might introduce subtle bugs. A