summaryrefslogtreecommitdiff
path: root/iup
diff options
context:
space:
mode:
Diffstat (limited to 'iup')
-rwxr-xr-xiup/src/win/iupwin_text.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/iup/src/win/iupwin_text.c b/iup/src/win/iupwin_text.c
index 9059796..7f3ea63 100755
--- a/iup/src/win/iupwin_text.c
+++ b/iup/src/win/iupwin_text.c
@@ -1197,6 +1197,7 @@ void iupdrvTextAddFormatTagStopBulk(Ihandle* ih, void* stateOpaque)
SendMessage(ih->handle, WM_SETREDRAW, TRUE, 0);
SendMessage(ih->handle, EM_SETEVENTMASK, 0, state->eventMask);
free(state);
+ iupdrvRedrawNow(ih);
}
void iupdrvTextAddFormatTag(Ihandle* ih, Ihandle* formattag, int bulk)
@@ -1264,6 +1265,7 @@ void iupdrvTextAddFormatTag(Ihandle* ih, Ihandle* formattag, int bulk)
SendMessage(ih->handle, EM_LINESCROLL, 0, line0 - line1);
SendMessage(ih->handle, WM_SETREDRAW, TRUE, 0);
SendMessage(ih->handle, EM_SETEVENTMASK, 0, oldEventMask);
+ iupdrvRedrawNow(ih);
}
}