I have a problem when I try to add \vdots in an escaped string inside of a listing environment. The box is cut. How can I avoid the break of the box?
The code is this:
\lstset{language=[Sharp]C,,basicstyle=\footnotesize, showspaces=false,showtabs=false,,breaklines=true,showstringspaces=false,breakatwhitespace=true,frame=trBL, escapeinside={(*@}{@*)}}
\begin{lstlisting}
private void Form1_Load(object sender, EventArgs e)
{
XDocument doc = XDocument.Load("XMLFile1.xml");
textBox1.Text = doc.Descendants("dos").Single().Value.Replace("\n","\r\n");
int val = textBox1.Lines.Count();
(*@{\center\vdots}@*)
XmlDocument doc2 = new XmlDocument();
doc2.Load("XMLFile1.xml");
textBox2.Text = doc2.GetElementsByTagName("dos")[0].InnerText;
}
\end{lstlisting}


\vdotsin a listing and could easily asked as one question. Some other things: Please always add a minimal working example (MWE) that illustrates your problem, not just a code fragment. Also please capitalize your sentences and the title. Thank you. – Martin Scharrer♦ May 15 '11 at 15:07