Hello forum,
I am new to this forum, but I have been using SlickEdit for a while. I am very interested to find a way to add an incrementing number by using SlickEdit macro recording/programming method, like 0.1.2.3.4, to a specific character in a c code: like this:
so each time when I call my macro, it searches the keyword "printf" and then adds a number 0, 1 .. 2 ,etc after "occurrence".
printf("===> occurance#1");
printf("===> occurrence#2");
This is very useful to me for debugging, let say I have 100's of these printf() and I do not want to edit the text 100 time to add an incrementing number!!
Thans,