Function EditBox.isWholeWord

returns true if selected range of string is whole word

static bool isWholeWord(
  dstring lineText,
  ulong start,
  ulong end
);