]> git.lyx.org Git - lyx.git/blobdiff - src/insets/inseturl.C
clear()->erase() ; lots of using directives for cxx
[lyx.git] / src / insets / inseturl.C
index a8f69ee1eb121aad8479933fb8f90cd2084fe6ee..ae2c16a9fe1028ce8dfef62db6b4a6dfe2470875 100644 (file)
@@ -185,6 +185,16 @@ int InsetUrl::Latex(ostream & os,
 }
 
 
+int InsetUrl::Ascii(ostream & os) const
+{
+       if (getOptions().empty())
+               os << "[" << getContents() << "]";
+       else
+               os << "[" << getContents() << "||" <<  getOptions() << "]";
+       return 0;
+}
+
+
 int InsetUrl::Linuxdoc(ostream & os) const
 {
        os << "<" << getCmdName()