diff -r aff39db4dacc -r 7c017076c12e eric6/Utilities/ClassBrowsers/protoclbr.py --- a/eric6/Utilities/ClassBrowsers/protoclbr.py Mon Sep 23 19:10:42 2019 +0200 +++ b/eric6/Utilities/ClassBrowsers/protoclbr.py Mon Sep 23 19:22:12 2019 +0200 @@ -256,8 +256,7 @@ lineno = lineno + src.count('\n', last_lineno_pos, start) last_lineno_pos = start # close all interfaces/modules indented at least as much - while classstack and \ - classstack[-1][1] >= thisindent: + while classstack and classstack[-1][1] >= thisindent: if classstack[-1][0] is not None: # record the end line classstack[-1][0].setEndLine(lineno - 1) @@ -296,8 +295,7 @@ thisindent = indent indent += 1 # close all messages/services indented at least as much - while classstack and \ - classstack[-1][1] >= thisindent: + while classstack and classstack[-1][1] >= thisindent: if classstack[-1][0] is not None: # record the end line classstack[-1][0].setEndLine(lineno - 1) @@ -324,8 +322,7 @@ thisindent = indent indent += 1 # close all messages/services indented at least as much - while classstack and \ - classstack[-1][1] >= thisindent: + while classstack and classstack[-1][1] >= thisindent: if classstack[-1][0] is not None: # record the end line classstack[-1][0].setEndLine(lineno - 1) @@ -352,8 +349,7 @@ thisindent = indent indent += 1 # close all messages/services indented at least as much - while classstack and \ - classstack[-1][1] >= thisindent: + while classstack and classstack[-1][1] >= thisindent: if classstack[-1][0] is not None: # record the end line classstack[-1][0].setEndLine(lineno - 1)