Thanks again

These commands below work

at = c.atFileCommands
p = c.currentPosition() # get the current position
fileName = p.atAutoNodeName()
at.readOneAtAutoNode(fileName,p)

I understand the second and third commands to get the current position
and the file name.
Originally I thought the fourth would read the node text, but I see
what it does now.
But what is the role of at = c.atFileCommands ?

To move forward,  how can I
  (1)  find a node with a certain headline
  (2)  read each line in a node as if it was a text file or input
stream
(Sorry to ask more but I searched documentation and could not find
answers)

Also I tried auto read of .txt, .rst and .rest  extensions
   they did not create 'language rest'  only @language
unknown_language or @noclor

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"leo-editor" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to 
[email protected]
For more options, visit this group at 
http://groups.google.com/group/leo-editor?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to