-- Style.WaitForEvents = 0

-- CoAdd(function()
--     Play{
--         {kind = 10, key = KEY_DOWN, xwindow = 1280, ywindow = 720},
--         {kind = 10, key = KEY_DOWN, xwindow = 1280, ywindow = 720},
--         {kind = 10, key = KEY_DOWN, xwindow = 1280, ywindow = 720},
--         {kind = 10, key = KEY_DOWN, xwindow = 1280, ywindow = 720},
--         {kind = 10, key = KEY_DOWN, xwindow = 1280, ywindow = 720},
--         {kind = 10, key = KEY_DOWN, xwindow = 1280, ywindow = 720},
--         {kind = 10, key = KEY_DOWN, xwindow = 1280, ywindow = 720},
--         {kind = 10, key = KEY_Q   , xwindow = 1280, ywindow = 720, ctrl = 1},
--         {kind = 10, key = KEY_PAGE_DOWN, xmouse = 0, ymouse = 0, xwindow = 1280, ywindow = 720},
--         {kind = 111},
--     }
--     -- for i = 1,8 do coroutine.CoYield() end
--     while coroutine.CoYield().kind ~= 111 do end

--     local buffer_name = GetActiveMainWindowBufferName()
--     Print("buffer name = "..buffer_name)
--     if buffer_name == "C:/Work/text_editor/src/text_editor/buffer_history.cpp" then
--         Play{{kind = 2}}
--     end
-- end)

