From aee35728443820732378ccf758db05dad7981039 Mon Sep 17 00:00:00 2001 From: Thomas Schouten Date: Sat, 28 Dec 2024 21:18:26 +0100 Subject: [PATCH] Ignore \nameref in LatexNonBreakingSpaceInspection, fix #3793 --- CHANGELOG.md | 3 ++- .../typesetting/spacing/LatexNonBreakingSpaceInspection.kt | 1 + 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 72841345d..200a420e0 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -13,7 +13,8 @@ * Fix parse error when using commands with arguments in parameter of \href or \url * Fix parse error when using parentheses in a group in a key value command argument * Fix parse erron when using inline math in cases* environment in inline math -* +* Fix exceptions #3813, #3818 +* Fix false positive non-breaking space warning for \nameref ## [0.9.10-alpha.4] - 2024-12-21 diff --git a/src/nl/hannahsten/texifyidea/inspections/latex/typesetting/spacing/LatexNonBreakingSpaceInspection.kt b/src/nl/hannahsten/texifyidea/inspections/latex/typesetting/spacing/LatexNonBreakingSpaceInspection.kt index 96a0b9dba..5a910dffb 100644 --- a/src/nl/hannahsten/texifyidea/inspections/latex/typesetting/spacing/LatexNonBreakingSpaceInspection.kt +++ b/src/nl/hannahsten/texifyidea/inspections/latex/typesetting/spacing/LatexNonBreakingSpaceInspection.kt @@ -46,6 +46,7 @@ open class LatexNonBreakingSpaceInspection : TexifyInspectionBase() { "\\Cref", "\\cpageref", "\\autoref", + "\\nameref", "\\citeauthor", "\\textcite", "\\Textcite"