in standard blend file, add "add_mesh_torus.py" to the text editor, then run it.
then change one of the parameters. the text "add_mesh_torus.py" will disappear from the text editor. if you changed something to the file, say added "# hello" somewhere and put the text cursor in an other place in the text, then perform the same trick, the cursor will jump back. seems like blender performs an undo too much.
windows xp sp3
nvidia geforce GTX 280M
r26712
Description
Event Timeline
Hi, I think this isn't due to changing parameters after they're defined, it's more about the text editor - it isn't doing global undo pushes on changes to the text editor, it's using its own internal undo system. When an operator does it's 'redo' while tweaking parameters, it's clearing that undo buffer.
Anyway, the particular problem reported here is more about the text editor's data manipulation operators (new text block, open text, etc) not doing undo pushes when these ones really should. I've fixed this in SVN, but the issue of losing edited text still remains...
I'll change the title of this report to reflect this.
Hi,
This is an annoyance already since 2.3-something when global undo was added. It's not a simple bug, but an issue with how the undo systems have been implemented in Blender. It has been clearly marked on our todo in wiki, and is on the agenda to solve.
http://wiki.blender.org/index.php/Dev:2.5/Source/Development/Todo/Editors