- May
- 15,098
- 271
So far, possibly just for self amusement, I have done this in a plugin. It should be self-explanatory. I'd welcome comments, questions, and suggestions.
In the first, I'm not overloading the COMMENT command. In both, keyhandler processed "Enter" and looks for "comment" or "clipcomment".
The first uses the INPUT command so I can have some editing capabilities when typing each line. In the second I must manually paste and then process the STD_INPUT_HANDLE. I might try automatically outputting what's in the clipboard, but I don't like working with the clipboard API.
It's kind of a mess but I'm having fun!
In the first, I'm not overloading the COMMENT command. In both, keyhandler processed "Enter" and looks for "comment" or "clipcomment".
The first uses the INPUT command so I can have some editing capabilities when typing each line. In the second I must manually paste and then process the STD_INPUT_HANDLE. I might try automatically outputting what's in the clipboard, but I don't like working with the clipboard API.
It's kind of a mess but I'm having fun!