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
Help text should leave current cell active #2633
Comments
That would certainly be nice, but I think it's one of those things that's tricky to do well. The frontend doesn't know the meaning of what's in the cell, it just sends it to the kernel. And the kernel doesn't know about the frontend. I guess it would be quite simple for the frontend to check if the code is a single line ending with a
|
@michaelaye does Also, you're doing |
To add to what @takluyver is saying - imagine doing a "Run all" for a notebook with many cells - you certainly don't want it to stop executing and leave active any cell where you happen to have left behind a |
But if my suggestion would work, there wouldn't be any left behind |
Out of interest: Which part currently knows that the comment with an ending ? like the one given by @takluyver is not something to be sent to the help viewer? Because nothing bad happens with that... |
See this function: (Note that whole area is due for rearrangement in PR #2447, and subsequent |
Le 1 déc. 2012 à 00:59, Paul Ivanov a écrit :
it does not need to be a callable, [ numpy( will work, but don't tell anyone it's a feature not a bug ] but it is really useful . As for leaving
|
On Dec 1, 2012 9:41 AM, "Bussonnier Matthias" notifications@github.com
In some cases, though, it does put the last input at the next prompt, minus |
I do think it is probably important to be consistent with the behavior of Cheers, Brian On Sat, Dec 1, 2012 at 2:44 AM, Thomas Kluyver notifications@github.comwrote:
Brian E. Granger |
The new modal UI changes all of this, not relevant any longer. |
Currently (0.13.1), when executing a cell like this one to see the help text:
cmd?
will activate the help text sub-window, but it also will proceed to a new cell leaving the previous one in the notebook history with nothing else than the
cmd?
text inside.Would it not be better if the cursor stays in the cell that created the help text, and, as a plus, even move the cursor one backwards, before the question mark, and select the question mark, so that the next text written will overwrite the question mark?
The text was updated successfully, but these errors were encountered: