-
Notifications
You must be signed in to change notification settings - Fork 536
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Tooltips are badly formatted #788
Comments
I cannot get the warning, an you provide a minimal example? |
\documentclass[%
final,% include images
twoside=semi
%]{scrartcl}
]{scrreprt}
\makeatletter
\renewcommand{\chapter}{\@startsection{chapter}{0}{\z@}{-2em}{6pt}{\normalfont\LARGE\bfseries}}
\renewcommand{\section}{\@startsection{section}{1}{\z@}{-1.5em}{6pt}{\normalfont\Large\bfseries}}
\renewcommand{\subsection}{\@startsection{subsection}{1}{\z@}{-1.2em}{6pt}{\normalfont\large\bfseries}}
\renewcommand{\paragraph}{\@startsection{paragraph}{4}{\z@}{-2.25ex \@plus -1ex \@minus -0.2ex}{0.5ex \@plus 0.2ex}{\normalfont\normalsize\bfseries\itshape}}
\makeatother
\begin{document}
\tableofcontents
\chapter[First chapter - short title]{First chapter - long title - here is everything ok}
Some text
\section*{First Section - long title - asterisk poses a problem}
Some further text
\subsection*[First subsection - short title]{First subsection - long title - asterisk poses a problem}
Some more text
\end{document} |
There is no way to configure the width of the tooltip, see microsoft/vscode#14165 Hence, we cannot do much about how the message gets wrapped. So far, all lines of a message are joined and then wrapped in the tooltip. The best we can do is to honor line breaks from the original message. |
@jlelong honoring the newlines is all I asked for, thanks. |
Newlines are fine now, but aren't these boundaries a little too big? (they look like tabs and I think they're meant to be spaces) |
Unfortunately, the boundaries are are coded by the package itself using |
Warning message (displays well inline in problem pane):
Tooltip:
The text was updated successfully, but these errors were encountered: