isBeingEdited method

bool isBeingEdited(
  1. Index index
)

Implementation

bool isBeingEdited(Index index) {
  if (indexWithFocus == Index(-1, -1)) return false;
  return indexWithFocus == index && focusCount > 1;
}