Text editor built into Blender.
Updated the function comment.
Wed, Apr 3
Hi, just as a reminder of this DIff I am bumping this thread. Sorry if this is not allowed, but it has been a while since my last diff update.
Wed, Mar 27
That flag free_src was there in case of reuse of the function, but I think there will not be many reuses, so removing it may be better.
Mon, Mar 25
Changed what was suggested.
Wed, Mar 20
I have implemented the suggestions in code style and structure.
As converting from tabs could lead to unexpected behavior, I kept the text unmodified in this case.
Mar 19 2019
Mar 18 2019
off topic: Should I post the code as I mark the comments as done, or should I wait until every comment is solved to post?
Mar 15 2019
This doesn't fix the main bug in T60234: Shift+Tab only works with new text, which I think is that our indent/unindent operators should work with both tabs and spaces. But we can consider this as a change on its own.
Mar 14 2019
Jan 9 2019
Jan 1 2019
I'll close this as duplicate of T58217 . However, if the issue still remains after that one has been solved, please let us know.
I noticed the too. You don’t even have to use a operator. Sometimes just using the undo in 3D View makes it add, delete, or delete the entire text. It’s nearly impossible to use the text editor currently. My guess is it’s the undo/redo system, which seems to be causing a lot of issues.
I don't know why the hash links to something, it's just the one from the blender splash screen.
Dec 11 2018
Aug 29 2018
Aug 21 2018
May 31 2018
More than a week passed without a reply.
May 22 2018
Cannot reproduce unfortunately.
May 20 2018
May 7 2018
+ you are talking about that graphics glitch (that square behind the mouse pointer/cursor)?
Just to make sure:
May 6 2018
Feb 7 2018
Jan 18 2018
Jan 12 2018
Aug 15 2017
Aug 8 2017
I have been using my own hacks to center the text and create my own text hitboxes.