Bug 522137: Improve code quality

  fix bug that empty lines were not executed anymore as
  selection.isEmpty() does not return true when no character is selected
  (see docs on ITextSelection.isEmpty())

Change-Id: I190a7de25fbf20760d81e2923cc299e381fb92f6
1 file changed