I improved my shader, and it's working very fast. No delays, when typing. If you are still interested, I will send you my improved code to you as PM.