]> git.lyx.org Git - lyx.git/blobdiff - src/trans_mgr.C
LFUN_UNICODE_INSERT - unicode-insert
[lyx.git] / src / trans_mgr.C
index 8641876c23feea51bef3844813dba0b9f0693f8f..88867632e4fb8f0d13410f1983b3158987ccc9e7 100644 (file)
 
 #include "support/lstrings.h"
 
-using lyx::support::split;
+
+namespace lyx {
+
+using support::split;
 
 using std::endl;
 using std::string;
@@ -286,7 +289,7 @@ void TransManager::insert(string const & str, LyXText * text)
                InsetLatexAccent ins(str);
                if (ins.canDisplay()) {
                        LCursor & cur = text->bv()->cursor();
-                       lyx::cap::replaceSelection(cur);
+                       cap::replaceSelection(cur);
                        cur.insert(new InsetLatexAccent(ins));
                        cur.posRight();
                } else {
@@ -324,3 +327,6 @@ void TransManager::deadkey(char c, tex_accent accent, LyXText * t)
                translateAndInsert(c, t);
        }
 }
+
+
+} // namespace lyx