Commit fe58cb92 authored by Oleg Korshul's avatar Oleg Korshul

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

parent 4b7ae689
...@@ -380,9 +380,6 @@ function Editor_Copy(api, bCut) ...@@ -380,9 +380,6 @@ function Editor_Copy(api, bCut)
__oncut = null; __oncut = null;
if (false === api.WordControl.m_oLogicDocument.Document_Is_SelectionLocked(changestype_Paragraph_Content)) { 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.Create_NewHistoryPoint(historydescription_Document_CutHotKey);
api.WordControl.m_oLogicDocument.Remove(1, true, true); api.WordControl.m_oLogicDocument.Remove(1, true, true);
api.WordControl.m_oLogicDocument.Document_UpdateSelectionState(); api.WordControl.m_oLogicDocument.Document_UpdateSelectionState();
...@@ -399,14 +396,12 @@ function Editor_Copy(api, bCut) ...@@ -399,14 +396,12 @@ function Editor_Copy(api, bCut)
ElemToSelect.oncopy = __oncopy; ElemToSelect.oncopy = __oncopy;
__oncopy = null; __oncopy = null;
ElemToSelect.innerHTML = "";
Editor_Copy_Event(e, ElemToSelect);
} }
window["AscDesktopEditor"]["Copy"](); window["AscDesktopEditor"]["Copy"]();
} }
ElemToSelect.innerHTML = "";
return; return;
} }
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment