Michael Beijer wrote:
How about a little AutoHotkey script?
PS: Interesting, that "Delete text up to next comma" idea. To be honest, I'd never thought of it. Will have to give it some thought. Can you give us an example of when you'd be likely to use it? I'm intrigued.
Don't be - it's nothing exciting! I'm translating very taggy powerpoint files and to ensure that the tags don't get corrupted I have copied the target to source for all rows. Then I translate around the tags, which is limiting in many ways but I haven't found a good way round it yet.
Japanese word order is different to that of English, so I just pile in at the beginning of the phrase and type my translation, "pushing" the Japanese ahead of me (obviously in insert rather than overwrite mode).
When I have finished typing that phrase I usually want to delete the Japanese text that I pushed in front of me, but remember that Japanese doesn't use spaces. So instead of 4-5 ctrl and delete hits you have to tap the delete key maybe 20 times to get rid of the text.
Of course, if there's a handy tag then you can just delete all text between you and the tag, but frequently the text you want to keep is between the cursor and the tag so it gets deleted too. I have noticed that commas are often nicely positioned as Japanese has a comma equivalent that is used to demarcate phrases.
So if I could zap-to-comma that would be useful.
I've been thinking at AHK or a PowerPro script, but I've found both a bit laggy at times.