bool CodeViewEditor::IsInsertClosingTagAllowed() { return !IsPositionInTag(textCursor().selectionStart()); }