копипаст в режиме иероглифов

This commit is contained in:
Oleg Korshul
2016-03-29 19:36:12 +03:00
committed by Alexander.Trofimov
parent 9df1cf6bb3
commit dfd0fd415e

View File

@ -356,9 +356,6 @@ function Editor_Copy(api, bCut)
__oncut = null;
if (false === api.WordControl.m_oLogicDocument.Document_Is_SelectionLocked(changestype_Paragraph_Content)) {
ElemToSelect.innerHTML = "";
Editor_Copy_Event(e, ElemToSelect);
api.WordControl.m_oLogicDocument.Create_NewHistoryPoint(historydescription_Document_CutHotKey);
api.WordControl.m_oLogicDocument.Remove(1, true, true);
api.WordControl.m_oLogicDocument.Document_UpdateSelectionState();
@ -375,14 +372,12 @@ function Editor_Copy(api, bCut)
ElemToSelect.oncopy = __oncopy;
__oncopy = null;
ElemToSelect.innerHTML = "";
Editor_Copy_Event(e, ElemToSelect);
}
window["AscDesktopEditor"]["Copy"]();
}
ElemToSelect.innerHTML = "";
return;
}