Blender Git Commit Log

Git Commits -> Revision a840643

Revision a840643 by Joshua Leung (master)
December 31, 2010, 04:09 (GMT)
Bugfix [#25414] Entering a newline before a : still indents it

Fixed by patch attached by submitter. Cheers Jacob F (racoon)!
<quote>
If you write something like...

def do_something:

...and press return it makes the new line with a tab which is good,
but if you want to move the def line down to make room above it by
pressing return while your caret is at the start of the line it
indents the new line which has the def statement on it.

Attached patch just checks if it's checking for a colon after the
caret and returns if it is.
</quote>

Commit Details:

Full Hash: a8406439938d3eb405c144a50d87100f48f77c7e
SVN Revision: 33960
Parent Commit: dfffad6
Lines Changed: +6, -2

1 Modified Path:

/source/blender/blenkernel/intern/text.c (+6, -2) (Diff)
By: Miika HämäläinenLast update: Nov-07-2014 14:18MiikaHweb | 2003-2021