amando1957 Messages: 57 Registered: November 2007 Location: Wien/Vienna/Viden
Member
Hi tojocky,
You are so right, I would appreciate that too. It would perform more than a simple macro recorder. I've seen a very good solution for in the editor of Code::Blocks. A simple key-value-list with the keyword-text-pairs will do.
for = for loop
ffor = double for loop
etc.
the coding there was:
- $ is the placeholder for user-entries queried later
(can be one or more), e.g. for var names.
- the | is where the caret will be put.
- tabs typed where shown (while the entry) as --->.
A usual key for inserting is "Ctrl + spacebar" or alike.