gp1313 / iep

Automatically exported from code.google.com/p/iep
0 stars 0 forks source link

Multi-line pastes into shell - navigation not consistent #168

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
When pasting more than one line into the shell, the arrows keys behave 
strangely: Left and right function normally; Up will either jump to the 
beginning or the end of the paste; Down will jump to the end of the paste.
Should behave in one of two ways:
1. As with short pastes and typed statements - fetch previous command in order 
of execution (Up - previous command; Down - next command).
2. As with editor text - move between lines (Up - line up, maintain position 
within line unless shorter than next; Down - line down, maintain position 
within lines unless shorter than previous).

Original issue reported on code.google.com by zaha...@gmail.com on 27 Feb 2013 at 1:28

GoogleCodeExporter commented 8 years ago
Actually, the behavior is consistent with (1). But IEP only shows commands that 
start with what you've already typed in. (Same behavior as Matlab). Since there 
is no history item that starts with the big sting you've just pasted, it stays 
(and the cursor is moved to the end).

I've created a new issue that (I think) shows the underlying problem.

Original comment by almar.klein@gmail.com on 27 Feb 2013 at 1:45