From a91715cdc2b5e65b83a98da307468d1dfa856a30 Mon Sep 17 00:00:00 2001 From: Claire Date: Thu, 12 May 2022 17:23:16 +0000 Subject: [PATCH] Update 'Home' --- Home.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Home.md b/Home.md index da38caf..343a223 100644 --- a/Home.md +++ b/Home.md @@ -96,7 +96,7 @@ private void txtData_KeyDown(CodeEditor sender, WebKeyEventArgs args) } ``` -The timer fires `TimerTick()` every half second. The first thing this function does is check if `isRendered` is `true`, and ends the function. Since we don't want the renderer to do anything if less than half a second has passed since the last `KeyDown` event, the function next checks to make sure at least half a second has passed since the value of `lastKeyUp`. Finally, if the function renders output, `isRendered` is set to true, and will be reset to `false` the next keypress detected by the Monaco control. +The timer fires `TimerTick()` every half second. The first thing this function does is check if `isRendered` is `true`, and if so, ends the function. Since we don't want the renderer to do anything if less than half a second has passed since the last `KeyDown` event, the function next checks to make sure at least half a second has passed since the value of `lastKeyUp`. Finally, if the function renders output, `isRendered` is set to true, and will be reset to `false` on the next keypress detected by the Monaco control. ```csharp void TimerTick(object sender, object args)