--- a/src/editHistory.cc Mon Aug 04 13:43:54 2014 +0300 +++ b/src/editHistory.cc Wed Aug 06 16:18:24 2014 +0300 @@ -139,7 +139,7 @@ // void AddHistory::redo() const { - LDObjectPtr obj = parseLine (code()); + LDObjectPtr obj = ParseLine (code()); parent()->document().toStrongRef()->insertObj (index(), obj); g_win->R()->compileObject (obj); } @@ -155,7 +155,7 @@ // void DelHistory::undo() const { - LDObjectPtr obj = parseLine (code()); + LDObjectPtr obj = ParseLine (code()); parent()->document().toStrongRef()->insertObj (index(), obj); g_win->R()->compileObject (obj); } @@ -172,8 +172,8 @@ // void EditHistory::undo() const { - LDObjectPtr obj = getCurrentDocument()->getObject (index()); - LDObjectPtr newobj = parseLine (oldCode()); + LDObjectPtr obj = CurrentDocument()->getObject (index()); + LDObjectPtr newobj = ParseLine (oldCode()); obj->replace (newobj); g_win->R()->compileObject (newobj); } @@ -182,8 +182,8 @@ // void EditHistory::redo() const { - LDObjectPtr obj = getCurrentDocument()->getObject (index()); - LDObjectPtr newobj = parseLine (newCode()); + LDObjectPtr obj = CurrentDocument()->getObject (index()); + LDObjectPtr newobj = ParseLine (newCode()); obj->replace (newobj); g_win->R()->compileObject (newobj); }