[Github-comments] [geany/geany] Geany adds extra indent when sending selection to terminal with IPython (#2238)

yyatsyn notifications at xxxxx
Thu Aug 1 15:31:07 UTC 2019


When a piece of tabbed code is sent to terminal with Python then it runs OK, but when exactly the same code is sent to terminal with IPython, then Geany adds extra indentation to each line.

Example: code in Terminal with Python:
`>>> def my_function(x):
...     #bla-bla-bla
...     y = x + x
...     return x
... 
`
while the same code sent in Terminal with IPython appears as
`In [1]: def my_function(x): 
   ...:         #bla-bla-bla 
   ...:             y = x + x 
   ...:                 return y 
`
which results in `IndentationError: unexpected indent`



-- 
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/geany/geany/issues/2238
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.geany.org/pipermail/github-comments/attachments/20190801/485f23a5/attachment.html>


More information about the Github-comments mailing list