outsideSelectionHasCharacterBool method
Implementation
bool outsideSelectionHasCharacterBool({
required AwsFormatOptionMD formatOption,
}) {
if (formatOption == AwsFormatOptionMD.formatStartEnd) {
return beforeText.isNotEmpty &&
reversedBeforeText[0] != ' ' &&
reversedBeforeText.contains(character!) &&
afterText.isNotEmpty &&
reversedAfterText[0] != ' ' &&
reversedAfterText.contains(character!);
} else {
return false;
}
}