ZoomIt DemoType inserts extra characters with "Drive Input With Typing" option

Jon Galloway 6 Reputation points Microsoft Employee
2024-12-20T23:57:50.6566667+00:00

When using the DemoType feature of ZoomIt 8+, I am finding that extra characters are inserted when I type quickly while using the "Drive Input With Typing" feature. This doesn't happen immediately, it usually happens after about 75 characters.

I originally hit this when trying to type C# code in VS Code, but was able to reproduce it in Notepad and Word. If I turn the turn the typing speed very low (under the "d" of the word "speed" in the slider label), I am able to type code in, but it's a little too slow for a code based demo.

Here is the demo script I am using:

[start]
public void Concat<T>(params ReadOnlySpan<T> items)
{
    for (int i = 0; i < items.Length; i++)
    {
        Console.Write(items[i]);
        Console.Write(" ");
    }
    Console.WriteLine();
}

using System.Threading;

Lock myLock = new();

Console.WriteLine("Starting critical section...");
using (myLock.EnterScope())
{
    Console.WriteLine("Inside critical section.");
}
Console.WriteLine("Exited critical section.");

// Prior to C# 13
Console.WriteLine("\u001b[1mThis is a bold text\u001b[0m");

// With C# 13
Console.WriteLine("\e[1mThis is a bold text\e[0m");
[end]

Here is what I'm seeing in VS Code (I stopped typing before the end of the script):

public void Concat<T>(params ReadOnlySpan<T> items)
{
    foro (in((Length; i++)
    {
        Conoso        C])
v        Conosoe.rirte"         C
    }
    Conosoe.;
;}

m.mTh

ckc =
();

CoCnsle
ne"S
tical section...");
using (mymLok.EnterScope()))
{
    Conosoe.    CInIsi    C    Ce    Ct    C    C"

Here's what I see in Notepad:

public void Concat<T>(params ReadOnlySpan<T> items)
{
    fvor(int 0;   items.Length; i++)
    {
        Console.Write(items[i])
        C        Cite("")
    }
    Console.WriteLine()
}


uing em.ding;

Lock Lock  w();

Conso

Sysinternals
Sysinternals
Advanced system utilities to manage, troubleshoot, and diagnose Windows and Linux systems and applications.
1,185 questions
0 comments No comments
{count} votes

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.