I have a python file with a couple of lines that look like:

#@xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx

I am not 100% sure this is the problem but if you look at the log file
below (edited to shorten it), the only difference between the first and
second set of sentinels is the indentation of the @verbatim nodes caused by
lines like the one above.  I get the message below just by importing the
python file, saving the resulting leo file,closing the leo file and
reopening the leo file.

Leo Log Window
Leo 5.0-final, build 20150127110559, Tue, Jan 27, 2015 11:05:59 AM
Git repo info: branch = master, commit = 94aa3d2ead44
Python 3.4.2, PyQt version 5.3.1
Windows 7 AMD64 (build 6.1.7601) SP1
...
reading: C:\Users\szatz\listman_nosent.leo
==============================
Sentinals not preserved!
==============================
old sentinels
------------------------------
  0 '#@+leo-ver=5-thin\n'
  1 '#@+node:slzatz.20150215064348.2: * @nosent
C:/Users/szatz/listmanager.py\n'
  2 '#@@language python\n'
  3 '#@@tabwidth -4\n'
  4 '#@+others\n'
  5 '#@+node:slzatz.20150215064348.3: ** listmanager declarations\n'
  6 '#@+node:slzatz.20150215064348.4: ** class ListManager\n'
  7 '    #@+others\n'
  8 '    #@+node:slzatz.20150215064348.5: *3* __init__\n'
  9 '    #@+node:slzatz.20150215064348.6: *3* loadtabs\n'
 10 '    #@+node:slzatz.20150215064348.7: *3* downloadtasksfromserver\n'
 ...
 38 '    #@+node:slzatz.20150215064348.35: *3* newtask\n'
 39 '    #@verbatim\n'
 40 '    #@+node:slzatz.20150215064348.36: *3* deletetask\n'
 41 '    #@+node:slzatz.20150215064348.37: *3* save_title\n'
 ...
147 '#@-leo\n'

==============================
new sentinels
==============================
  0 '#@+leo-ver=5-thin\n'
  1 '#@+node:slzatz.20150215064348.2: * @nosent
C:/Users/szatz/listmanager.py\n'
  2 '#@@language python\n'
  3 '#@@tabwidth -4\n'
  4 '#@+others\n'
  5 '#@+node:slzatz.20150215064348.3: ** listmanager declarations\n'
  6 '#@+node:slzatz.20150215064348.4: ** class ListManager\n'
  7 '    #@+others\n'
  8 '    #@+node:slzatz.20150215064348.5: *3* __init__\n'
  9 '    #@+node:slzatz.20150215064348.6: *3* loadtabs\n'
 10 '    #@+node:slzatz.20150215064348.7: *3* downloadtasksfromserver\n'
 ...
 38 '    #@+node:slzatz.20150215064348.35: *3* newtask\n'
 39 '#@verbatim\n'
 40 '    #@+node:slzatz.20150215064348.36: *3* deletetask\n'
 41 '    #@+node:slzatz.20150215064348.37: *3* save_title\n'
...
147 '#@-leo\n'

@shadow did not pick up the external changes correctly
updating: @nosent C:/Users/szatz/listmanager.py
The input file appears to be corrupted.
read 1 files in 0.23 seconds
read outline in 0.28 seconds

-- 
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 http://groups.google.com/group/leo-editor.
For more options, visit https://groups.google.com/d/optout.

Reply via email to