Thank you for your answer Andy.
Yes, it works, but that's not exactly what I need.
I need, while typing a text, to type at any point of time, any letter, with a line above it (as if I was using an accent for example).
If I use your suggestion, I will have to use 26 shortcut keys, one for each...