Skip to content

Commit

Permalink
Avoid bad leading white-space inside strings in StateSelect definition
Browse files Browse the repository at this point in the history
  • Loading branch information
henrikt-ma committed May 15, 2022
1 parent b3e4138 commit aa1508d
Showing 1 changed file with 8 additions and 8 deletions.
16 changes: 8 additions & 8 deletions chapters/classes.tex
Expand Up @@ -1695,14 +1695,14 @@ \subsubsection{StateSelect}\label{stateselect}
\begin{lstlisting}[language=modelica]
type StateSelect = enumeration(
never "Do not use as state at all.",
avoid "Use as state, if it cannot be avoided (but only if variable appears
differentiated and no other potential state with attribute
default, prefer, or always can be selected).",
default "Use as state if appropriate, but only if variable appears
differentiated.",
prefer "Prefer it as state over those having the default value
(also variables can be selected, which do not appear
differentiated).",
avoid "Use as state, if it cannot be avoided (but only if variable appears "
+ "differentiated and no other potential state with attribute "
+ "default, prefer, or always can be selected).",
default "Use as state if appropriate, but only if variable appears "
+ "differentiated.",
prefer "Prefer it as state over those having the default value "
+ "(also variables can be selected, which do not appear "
+ "differentiated).",
always "Do use it as a state."
);
\end{lstlisting}
Expand Down

0 comments on commit aa1508d

Please sign in to comment.