It looks like the code gets stuck spinning 100% CPU if it can't find a place to put the new subtask within the text editor window. Looking at the code in this area, there is a blind line += 1, without regard to the number of lines in the buffer.
It looks like the code gets stuck spinning 100% CPU if it can't find a place to put the new subtask within the text editor window. Looking at the code in this area, there is a blind line += 1, without regard to the number of lines in the buffer.