bug:
for the Controllers.TickMsg.tick is get value from WinApi.GetTickCount() which will be overflow after 49.7days after the machine start up,then the TextControllers.BlinkCaret cant do a correct check, the blink of caret will not happen .
patch:
1,Controllers
Код:
TickMsg* = RECORD (Message)
tick*: LONGINT(*INTEGER*) (** IN **)
END;
2,HostWindows.Idle
Код:
IF w.frame # NIL THEN
tick.tick := Services.Ticks();(*WinApi.GetTickCount();*)
w.ForwardCtrlMsg(tick)
END;
3,
TextControllers.BlinkCaret
Код:
PROCEDURE BlinkCaret (c: StdCtrl; f: Views.Frame; tick: LONGINT(*INTEGER*));
^Q DevCompiler.CompileThis
Controllers Containers Documents HostWindows TextControllers
luowy