Missing diacritical marks

Thank you. @Michael
Do I need to have the latest version of PsychoPy for the changes on TextBox2? I now have 2022.1.4.

Would by any chance the following path done by @wakecarter help with Arabic sentences since I am designing SPR task using moving window paradigm with a comprehension question after every sentence?

Another issue, my purpose is to have all words initially covered by dashes until the participant presses space bar and the first word appears. I tried the code used in the below thread, but one word displays on the screen. Is it possible to add dashes using code instead of having to add dashes in the condition file (e.g. S1)? I have a large number of sentences, a code for dashes will save me a lot of time.

I am not sure what could be adapted from both codes that might help with the dashes issue.
Here is the psyexp and condition files.
Trial3.psyexp (16.1 KB)
loopTemplate1.xlsx (18.1 KB)