Message Boards Message Boards

0
|
4702 Views
|
1 Reply
|
0 Total Likes
View groups...
Share
Share this post:

Move the selection to the End of the currently selected Cell

Posted 9 years ago

How can I move the selection to the end of currently evaluating (selected) cell? I didn't find an object to represent the currently selected cell.

POSTED BY: Al Guy
nb = CreateDocument[TextCell["test"]]        (*notebook example*)
SelectionMove[Cells[nb][[1]], All, Cell]     (*with selected cell*)

SelectionMove[nb, After, CellContents]       (*moving selection at the end of selected cell*)
POSTED BY: Kuba Podkalicki
Reply to this discussion
Community posts can be styled and formatted using the Markdown syntax.
Reply Preview
Attachments
Remove
or Discard

Group Abstract Group Abstract