Only search projects.blender.org
Log In
New Account
Home
My Page
Projects
Blender 2.x BF release
Summary
Activity
Tracker
SCM
Files
Blender 2.6 Bug Tracker: Browse
[#25414] Entering a newline before a : still indents it
Date:
2010-12-30 17:39
Priority:
3
State:
Closed
Submitted by:
Jacob F (
raccoon
)
Assigned to:
Nobody (None)
Category:
Interface
Status:
Fixed / Closed
Relates to:
Duplicates:
Patches:
Summary:
Entering a newline before a : still indents it
Detailed description
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.
Followup
Message
Date
: 2010-12-31 05:09
Sender
:
Joshua Leung
Cheers for the patch!
Fixed/committed in svn :)
Attached Files:
Name
Date
Download
text_colon_newline.diff
2010-12-30 17:39
Download
Changes:
Field
Old Value
Date
By
status_id
Open
2010-12-31 05:09
aligorith
close_date
None
2010-12-31 05:09
aligorith
Status
New
2010-12-31 05:09
aligorith
File Added
14306: text_colon_newline.diff
2010-12-30 17:39
raccoon