ME_ReleaseStyle(style);
editor->nEventMask = nEventMask;
- ME_UpdateRepaint(editor);
+ ME_UpdateRepaint(editor, FALSE);
if (!(format & SFF_SELECTION)) {
ME_ClearTempStyle(editor);
}
return TRUE;
ME_MoveCursorFromTableRowStartParagraph(editor);
ME_UpdateSelectionLinkAttribute(editor);
- ME_UpdateRepaint(editor);
+ ME_UpdateRepaint(editor, FALSE);
ME_SendRequestResize(editor, FALSE);
return TRUE;
case VK_RETURN:
editor->pCursors[1] = editor->pCursors[0];
ME_CommitUndo(editor);
ME_CheckTablesForCorruption(editor);
- ME_UpdateRepaint(editor);
+ ME_UpdateRepaint(editor, FALSE);
return TRUE;
}
else if (para == editor->pCursors[1].pPara &&
para->member.para.next_para->member.para.nFlags |= MEPF_ROWSTART;
ME_CommitCoalescingUndo(editor);
ME_CheckTablesForCorruption(editor);
- ME_UpdateRepaint(editor);
+ ME_UpdateRepaint(editor, FALSE);
return TRUE;
}
} else { /* v1.0 - 3.0 */
editor->pCursors[0].nOffset = 0;
editor->pCursors[1] = editor->pCursors[0];
ME_CommitCoalescingUndo(editor);
- ME_UpdateRepaint(editor);
+ ME_UpdateRepaint(editor, FALSE);
return TRUE;
}
} else {
editor->pCursors[1] = editor->pCursors[0];
}
ME_CommitCoalescingUndo(editor);
- ME_UpdateRepaint(editor);
+ ME_UpdateRepaint(editor, FALSE);
return TRUE;
}
}
SetCursor(NULL);
ME_UpdateSelectionLinkAttribute(editor);
- ME_UpdateRepaint(editor);
+ ME_UpdateRepaint(editor, FALSE);
}
return TRUE;
}
{
ME_InternalDeleteText(editor, selStart, nChars, FALSE);
ME_CommitUndo(editor);
- ME_UpdateRepaint(editor);
+ ME_UpdateRepaint(editor, TRUE);
}
return result;
}
}
ME_UpdateSelectionLinkAttribute(editor);
- ME_UpdateRepaint(editor);
+ ME_UpdateRepaint(editor, FALSE);
}
return 0;
}
editor->nModifyStep = oldModify;
ME_EmptyUndoStack(editor);
}
- ME_UpdateRepaint(editor);
+ ME_UpdateRepaint(editor, FALSE);
return len;
}
case EM_SETBKGNDCOLOR:
int nStartCursor = ME_GetSelectionOfs(editor, &from, &to);
ME_InternalDeleteText(editor, &editor->pCursors[nStartCursor], to-from, FALSE);
ME_CommitUndo(editor);
- ME_UpdateRepaint(editor);
+ ME_UpdateRepaint(editor, TRUE);
return 0;
}
case EM_REPLACESEL:
ME_UpdateSelectionLinkAttribute(editor);
if (!wParam)
ME_EmptyUndoStack(editor);
- ME_UpdateRepaint(editor);
+ ME_UpdateRepaint(editor, FALSE);
return len;
}
case EM_SCROLLCARET:
editor->nModifyStep = 0;
ME_CommitUndo(editor);
ME_EmptyUndoStack(editor);
- ME_UpdateRepaint(editor);
+ ME_UpdateRepaint(editor, FALSE);
return 1;
}
case EM_CANPASTE:
{
ME_InternalDeleteText(editor, selStart, nChars, FALSE);
ME_CommitUndo(editor);
- ME_UpdateRepaint(editor);
+ ME_UpdateRepaint(editor, TRUE);
}
return 0;
}
editor->imeStartIndex=ME_GetCursorOfs(&editor->pCursors[0]);
ME_DeleteSelection(editor);
ME_CommitUndo(editor);
- ME_UpdateRepaint(editor);
+ ME_UpdateRepaint(editor, FALSE);
return 0;
}
case WM_IME_COMPOSITION:
}
ME_ReleaseStyle(style);
ME_CommitUndo(editor);
- ME_UpdateRepaint(editor);
+ ME_UpdateRepaint(editor, FALSE);
return 0;
}
case WM_IME_ENDCOMPOSITION: