if you do not power down your computer or restart it up to 49.7days ,you will find the the caret of BB editor frozen, not blinking at all.
reason:
the Controllers.TickMsg.tick 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 blink.
My Patch:
1,Controllers
Code: Select all
TickMsg* = RECORD (Message)
tick*: LONGINT(*INTEGER*) (** IN **)
END;
Code: Select all
IF w.frame # NIL THEN
tick.tick := Services.Ticks();(*WinApi.GetTickCount();*)
w.ForwardCtrlMsg(tick)
END;
TextControllers.BlinkCaret
Code: Select all
PROCEDURE BlinkCaret (c: StdCtrl; f: Views.Frame; tick: LONGINT(*INTEGER*));
Code: Select all
^Q DevCompiler.CompileThis Controllers Containers Documents HostWindows TextControllers
I have not authorized to access the new issue page,just post a discussion at here.
luowy