Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Problem with cursor navigation in Qt console with wrapped code #2208

Closed
klonuo opened this issue Jul 27, 2012 · 9 comments
Closed

Problem with cursor navigation in Qt console with wrapped code #2208

klonuo opened this issue Jul 27, 2012 · 9 comments

Comments

@klonuo
Copy link
Contributor

klonuo commented Jul 27, 2012

To make it easy to explain I made a screenshot:

qtconsole

So my cursor is at annotated position. If I press left arrow key, cursor will be positioned at the end of for i in x: line, while I would have expected one character left.
Obviously it's some navigation issue with wrapped code in qt console.

@klonuo
Copy link
Contributor Author

klonuo commented Jul 27, 2012

Maybe related: #1305

@takluyver
Copy link
Member

I couldn't replicate that exact issue, but if the cursor is on the part of the line before it's wrapped, pressing down-arrow doesn't take you to the wrapped part (whereas, from the wrapped part, pressing up arrow does take you to the part before the wrap).

@klonuo
Copy link
Contributor Author

klonuo commented Jul 27, 2012

I'll check on Ubuntu later...

If I'm at wrapped line, and I press down arrow I'm not positioned at wrapped part (as you noted), but history navigation is triggered, so code block is replaced with previous/next command snippet. Logically as in above example context wrapped line is last line

@takluyver
Copy link
Member

Yep, that (history being triggered) is what I see too.

@klonuo
Copy link
Contributor Author

klonuo commented Jul 27, 2012

Thomas, I get same reported behavior on both Windows and Ubuntu with IPython 0.13

Could be that you use git version and this issue is resolved?

@takluyver
Copy link
Member

I am using the development version, but I'm not sure if that's the difference. I see the bug with going down, but not the one with going left?

Can you offer an exact set of steps to try to replicate it (right down to what you type in)? I just tried it with a long string to get the wrapped line, whereas you've got a complex expression - maybe that makes a difference, e.g. because of highlighting.

@klonuo
Copy link
Contributor Author

klonuo commented Jul 28, 2012

@Carreau
Copy link
Member

Carreau commented Jul 25, 2016

Hi,

The qtconsole has been moved to https://github.com/jupyter/qtconsole, and this issue had no activity for quite some time. If this is still relevant I would suggest this issue to be reopen on the above cited repository.

This will allow us to keep the number of IPython issues smaller and focussed on IPython. As currently there is an extremely high number of opened issues , it make it really hard to find if a problem is actually known, or going to be worked one.

Feel free to reopen if need, for the time being I'm going to close this.

Thanks.

@Carreau Carreau closed this as completed Jul 25, 2016
@Carreau
Copy link
Member

Carreau commented Jul 25, 2016

And sorry @klonuo I guess you will get multiple notification back to back, as a few of your issues are QtConsole related.

@minrk minrk modified the milestones: wishlist, not ipython Jan 9, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

4 participants