Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.

Bug 366705

Summary: Delete-previous-word no longer going back over indentation spaces in Ruby editor
Product: [Technology] DLTK Reporter: Ian Dickinson <i.j.dickinson>
Component: RubyAssignee: dltk.ruby-inbox <dltk.ruby-inbox>
Status: CLOSED WONTFIX QA Contact:
Severity: normal    
Priority: P3    
Version: 3.0   
Target Milestone: ---   
Hardware: PC   
OS: Linux   
Whiteboard:
Attachments:
Description Flags
Eclipse configuration none

Description Ian Dickinson CLA 2011-12-14 09:50:08 EST
Created attachment 208382 [details]
Eclipse configuration

I've just upgraded to Eclipse 20110916-0149 (Indigo). In a Ruby Source Editor pane, I've noticed a change in behaviour for ctl-backspace (the delete-previous word action). This used to back up from the start of one indented line to the end of the previous line, but now no longer does that.

Consider:

def foo( bar )
    fubar
end

Starting with the cursor on line 4, ctl-backspace'ing four times will delete \n, 'end', \n and 'fubar' respectively, but after that it won't delete the indentation spaces on line 2.

Similarly, on the following line:

#comment

ctl-backspace will not delete the # character.

I'm using DLTK 3.0.0.v20110424, and I've attached my Eclipse configuration.
Comment 1 Dawid Pakula CLA 2020-01-03 07:57:02 EST
Ruby support has been removed.