Getting the Active Editor Selection
In order to find the active editor selection, you would type:// get the active editor selection
var sel = editor1.GetSelection();