# Mark where a line break should go IF the line needs breaking

I want to paragraph-break a text at a specific spot, but only if the text is too long for the line. In the MWE below, the first text fits the line width, but the second does not. Of course, I could just manually add a \par whenever the text turns out to be too long, but I would like LaTeX to spot this automatically [on a second pass, perhaps?] and break the line before the \Rbar symbol.

\documentclass[]{article}
\usepackage{xcolor}
\usepackage{gregoriotex}

\begin{document}%
\newcommand\versicle{%
\textbf{\color{red}\Vbar. }{#1 }%
\textbf{\color{red}\Rbar. }{#2}}%
%
%This fits in one line
\versicle{Dóminus vobíscum.}{Et cum spíritu túo.}\par%
%
%This should line break at the \Rbar.
\versicle{Panem de cælo præstitísti eis, allelúia.}{Omne delectaméntum in se habéntem, allelúia.}%
\end{document}


The code produces this: I'd like to get this: You can test if the content width has exceeded \linewidth. \documentclass[]{article}
\usepackage{xcolor}
\makeatletter
\newsavebox\testbox
\def\versicle#1#2{%
\savebox{\testbox}{\versicle@{red}{V.}~#1 \versicle@{red}{R.}~#2}
\versicle@{red}{V.}~#1
\ifdim\wd\testbox>\dimexpr\linewidth-\parindent\relax
\par
\fi
\versicle@{red}{R.}~#2
}
\def\versicle@#1#2{\textbf{\textcolor{#1}{#2}}}
\makeatother

\begin{document}%
%This fits in one line
\versicle{Dóminus vobíscum.}{Et cum spíritu túo.}\par%
%
%This should line break at the \Rbar.
\versicle{Panem de cælo præstitísti eis, allelúia.}{Omne delectaméntum in se habéntem, allelúia.}%
\end{document}
{"ft_lang_label":"__label__en","ft_lang_prob":0.57137877,"math_prob":0.4976359,"size":806,"snap":"2021-31-2021-39","text_gpt3_token_len":264,"char_repetition_ratio":0.10723192,"word_repetition_ratio":0.0,"special_character_ratio":0.2593052,"punctuation_ratio":0.12418301,"nsfw_num_words":1,"has_unicode_error":false,"math_prob_llama3":0.9549315,"pos_list":[0,1,2,3,4,5,6],"im_url_duplicate_count":[null,1,null,1,null,1,null],"WARC_HEADER":"{\"WARC-Type\":\"response\",\"WARC-Date\":\"2021-07-26T12:51:43Z\",\"WARC-Record-ID\":\"<urn:uuid:04d93798-3025-4113-a0a4-75e454999239>\",\"Content-Length\":\"164869\",\"Content-Type\":\"application/http; msgtype=response\",\"WARC-Warcinfo-ID\":\"<urn:uuid:6fba9c61-6145-417c-bf48-70a3b570b806>\",\"WARC-Concurrent-To\":\"<urn:uuid:e3bad609-7d04-4fc4-9e4f-9e8f1404cbce>\",\"WARC-IP-Address\":\"151.101.129.69\",\"WARC-Target-URI\":\"https://tex.stackexchange.com/questions/553029/mark-where-a-line-break-should-go-if-the-line-needs-breaking\",\"WARC-Payload-Digest\":\"sha1:TANNCTS2ECX3H7MJC662XWYACDDSBYUT\",\"WARC-Block-Digest\":\"sha1:NWWSNVFFOD5NOU2YPXPCAGWSROKKUG4A\",\"WARC-Identified-Payload-Type\":\"text/html\",\"warc_filename\":\"/cc_download/warc_2021/CC-MAIN-2021-31/CC-MAIN-2021-31_segments_1627046152129.33_warc_CC-MAIN-20210726120442-20210726150442-00017.warc.gz\"}"}