Sha256: 72841e450abd529ef84a0074274df77313815d10c12d41adbd228e7c49ab3c69

Contents?: true

Size: 854 Bytes

Versions: 45

Compression:

Stored size: 854 Bytes

Contents

Feature: Clear Line

Scenario: Clearing a single line
  When I open a new edit tab
  And I replace the contents with "foo\nbar\nbonne\nbaz"
  And I move the cursor to 5
  And I clear the line
  Then I should see "foo\n\nbonne\nbaz" in the edit tab
  And I should not see "bar" in the edit tab

Scenario: Clearing a multi-line selection
  When I open a new edit tab
  And I replace the contents with "foo\nbar\nbonne\nbaz"
  And I select from 5 to 9
  And I clear the line
  Then I should see "foo\n\n\nbaz" in the edit tab
  And I should not see "bar" in the edit tab
  And I should not see "bonne" in the edit tab
  
Scenario: Clearing a single line with unicode
  When I open a new edit tab
  And I replace the contents with "foo\nbść\nbonne\nbaz"
  And I move the cursor to 5
  And I clear the line
  Then the contents should be "foo\n\nbonne\nbaz"

Version data entries

45 entries across 45 versions & 2 rubygems

Version Path
redcar-0.13 plugins/line_tools/features/clear_line.feature
redcar-dev-0.13.5dev plugins/line_tools/features/clear_line.feature
redcar-dev-0.13.4dev plugins/line_tools/features/clear_line.feature
redcar-dev-0.13.3dev plugins/line_tools/features/clear_line.feature
redcar-dev-0.13.2dev plugins/line_tools/features/clear_line.feature
redcar-dev-0.13.1dev plugins/line_tools/features/clear_line.feature
redcar-0.12.1 plugins/line_tools/features/clear_line.feature
redcar-dev-0.13.0dev plugins/line_tools/features/clear_line.feature
redcar-0.12 plugins/line_tools/features/clear_line.feature
redcar-dev-0.12.27dev plugins/line_tools/features/clear_line.feature
redcar-dev-0.12.26dev plugins/line_tools/features/clear_line.feature
redcar-dev-0.12.25dev plugins/line_tools/features/clear_line.feature
redcar-dev-0.12.24dev plugins/line_tools/features/clear_line.feature
redcar-dev-0.12.23dev plugins/line_tools/features/clear_line.feature
redcar-dev-0.12.22dev plugins/line_tools/features/clear_line.feature
redcar-dev-0.12.21dev plugins/line_tools/features/clear_line.feature
redcar-dev-0.12.20dev plugins/line_tools/features/clear_line.feature
redcar-dev-0.12.19dev plugins/line_tools/features/clear_line.feature
redcar-dev-0.12.18dev plugins/line_tools/features/clear_line.feature
redcar-dev-0.12.17dev plugins/line_tools/features/clear_line.feature