I tried the second addon from the Addon Tutorial in the API documentation.
A change I want to do: In the example it changes the end position when I change the steps and the cursor position is already changed. I want to avoid that. I want to save the cursor position once and after that the end position shouldn’t change anymore.
I tried several things to achieve this. Either it didn’t work or Blender crashed. Could you please explain me how it works?