The .rst files are still coming in flat (all of them) and still getting the Qt large text warning. I don't know if the files got changed after the last 'fix', but I don't think so as the timestamp doesn't suggest that. Any other suggestions to try before I attempt to rebuild the files?
Leo 5.4, Tue, 6 Dec 2016 17:17:22 -0600 Git commit: after cd0fcb4f Python 3.4.3, PyQt version 5.4.1 Windows 8 AMD64 (build 6.2.9200) On Tuesday, December 6, 2016 at 6:22:30 PM UTC-5, Edward K. Ream wrote: > > > > On Tuesday, December 6, 2016 at 12:00:39 PM UTC-6, Edward K. Ream wrote: >> >> >> >> On Tue, Dec 6, 2016 at 11:40 AM, Largo84 <[email protected] <javascript:>> >> wrote: >> >>> @auto-rst files are not reading correctly. I'm even getting the dreaded >>> [big text warning]. >>> >> >> >>> The @auto-md files are restoring fine, but all of the @auto-rst files >>> are coming in 'flat'. >>> >> >> Thanks for the report. I'll attempt a fix today. >> > > Rev cd0fcb4 is that attempt. How does it work for you? > > Here is the checkin log: > > QQQQQ > Fixed several serious bugs in the rst importer/writer. Improved unit tests > all pass. > > 1. The reader and writer now use a common set of underlines, defined > at the top level of importers.leo_rst. > > This set *does* include '#' at the very end, so that: > a) The reader always recognizes '#' as an over/underline. > b) The writer effectively reserves '#' for the user. > > 2. rst_i.find_parent now inserts placeholder lines as needed. > And they *could* be needed if the input file is inconsistently > underlined. This won't happen when the writer writes the file, > but it could happen when files are created outside of Leo. > > 3. Fixed a serious bug in rst_i.is_lookahead_line, that prevented, > for example, the following from being recognized as underlined: > > top > ==== > QQQQQ > > 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 [email protected]. To post to this group, send email to [email protected]. Visit this group at https://groups.google.com/group/leo-editor. For more options, visit https://groups.google.com/d/optout.
