You do not need to select the code fragment for a doIt / printIt / inspectIt. If no code is selected, the current text-cursor line's contents is evaluated.