Fix stripping of initial newline from source.
This commit is contained in:
parent
7af5573fca
commit
b5f86e66be
@ -1,3 +1,4 @@
|
|||||||
|
|
||||||
def simple_func(x):
|
def simple_func(x):
|
||||||
x += 1
|
x += 1
|
||||||
|
|
||||||
|
@ -159,7 +159,7 @@ def format_source(debugger_ui, lines, breakpoints):
|
|||||||
shipout_line()
|
shipout_line()
|
||||||
|
|
||||||
highlight("".join(l.replace("\t", 8*" ") for l in lines),
|
highlight("".join(l.replace("\t", 8*" ") for l in lines),
|
||||||
PythonLexer(), UrwidFormatter())
|
PythonLexer(stripnl=False), UrwidFormatter())
|
||||||
|
|
||||||
return result
|
return result
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user