It is never recommended to keep the scope of any cursor across the span of an edit operation. The cursor should be released at the end of the edit operation to ensure the cursors consistency. The correct workflow is to either finish executing the cursor within the edit operation as 1 batch of changes or release the cursor on the stop edit operation and re-open the cursor at the start of the next edit operation.