bool isFullySelected(int selectionStart, int selectionEnd) { return (selectionStart <= innerScopeStart && selectionEnd >= innerScopeEnd); }