Message Boards Message Boards

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

Move the selection to the End of the currently selected Cell

Posted 10 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
Posted 10 years ago
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