##// END OF EJS Templates
crecord: remove skipfolded keyword argument from patchnode.previtem()...
av6 -
r29079:90bb5bdb default
parent child Browse files
Show More
@@ -164,7 +164,7 b' class patchnode(object):'
164 except AttributeError: # parent and/or grandparent was None
164 except AttributeError: # parent and/or grandparent was None
165 return None
165 return None
166
166
167 def previtem(self, constrainlevel=True, skipfolded=True):
167 def previtem(self, constrainlevel=True):
168 """
168 """
169 If constrainLevel == True, return the closest previous item
169 If constrainLevel == True, return the closest previous item
170 of the same type where there are no items of different types between
170 of the same type where there are no items of different types between
@@ -174,10 +174,6 b' class patchnode(object):'
174 closest to this item, regardless of item's type (header, hunk, or
174 closest to this item, regardless of item's type (header, hunk, or
175 HunkLine).
175 HunkLine).
176
176
177 If skipFolded == True, and the current item is folded, then the items
178 that are hidden due to folding will be skipped when determining the
179 next item.
180
181 If it is not possible to get the previous item, return None.
177 If it is not possible to get the previous item, return None.
182 """
178 """
183 if constrainlevel:
179 if constrainlevel:
General Comments 0
You need to be logged in to leave comments. Login now