Issue 546244: implementation of Text.dump method (original) (raw)

Logged In: YES user_id=6380

A quick test suggets that you don't parse the dump output correctly. I entered "The quick brown fox jumps over the lazy dog.\n" into a text widget, and then called t.dump("1.0", "2.0"). It returned the following garbage:

[('text', '{The', 'quick'), ('brown', 'fox', 'jumps'), ('over', 'the', 'lazy'), ('dog.}', '1.0', 'mark'), ('current', '1.44', 'mark'), ('anchor', '1.44', 'mark'), ('insert', '1.44', 'text'), ('{', '}', '1.44')]

It looks like you don't parse the curly braces at all.

Maybe you can find someone on c.l.py to help you fix this?