Fix wrong Zed functions usage for text/cursor handling