]> git.lyx.org Git - lyx.git/blobdiff - lib/lyx2lyx/parser_tools.py
* layouttranslations.review - sk reviewed by Kornel
[lyx.git] / lib / lyx2lyx / parser_tools.py
index 4c5197a534b165bc36c4f88e6f9a1211df774488..c989515e4120156e7f8068e7866f3dd2845a20d8 100644 (file)
@@ -449,9 +449,10 @@ def get_containing_inset(lines, i):
 def get_containing_layout(lines, i):
   ''' 
   Finds out what kind of layout line i is within. Returns a 
-  list containing (i) what follows \begin_layout on the line 
+  list containing what follows \begin_layout on the line 
   on which the layout begins, plus the starting and ending line
-  and the start of the apargraph (after all params).
+  and the start of the paragraph (after all params). I.e, returns:
+    (layoutname, layoutstart, layoutend, startofcontent)
   Returns False on any kind of error.
   '''
   j = i