(2020-05-28, 16:47)Daniel R Wrote: By manual I meant "requiring human intervention", not "requiring to edit text file without visual editor". Suppose you have a FLOAT with n=3. Then you insert a step after this one. Now the part unfloats in the step previous to the original one. And it needs a human to correct that.
I can't think how a good editor would help here (but maybe it could! would you offer an explanation?
I imagine the program would have to store a list of each float command, the step number in which it's placed, and the step number in which it's released. So if a float command is placed in step s and has n=3, that means it's released in step number <s+2>, or <s+(n-1)>. This is how the editor would know whether to draw the part in its floating position, or its permanent one, according to the step number currently being viewed.
Whenever a step is inserted, the program would check the list of float commands and see whether the new step falls within any range of <s> and <s+(n-1)>. If so, it would automatically increment n, or ignore it, or ask the user, according to the configured preference.