Blender Git Commit Log

Git Commits -> Revision 628a815

Revision 628a815 by Sergey Sharybin (master)
May 28, 2011, 14:40 (GMT)
Fix #27505: Text Editor always indent next line when a " is found (which is not always correct)

Do not indent if there's any non-space character after colon.

This only makes life a bit easier, but it's still not 100% correct indentation
strategy. For example when colon is inside non-closed string or so.
Also there's not indentation for { and un-indentation for }.

Handling such cases would require much smarter strategy..

Commit Details:

Full Hash: 628a8151daa713592f03221571a230c55ba535a9
SVN Revision: 36983
Parent Commit: ce8467f
Lines Changed: +1, -1

1 Modified Path:

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