Sha256: e9bd33bd70ce1d31c6b78d38f240c4c1a4fc6c276240eaa9fbc79e0aeb8b180a

Contents?: true

Size: 1.81 KB

Versions: 19

Compression:

Stored size: 1.81 KB

Contents

Feature: Line delimiter

  Scenario: Chooses line delimiter by text put in the tab (Windows)
    When I open a new edit tab
    And I replace the contents with "foo\r\nbar\r\nbaz\r\n"
    Then the line delimiter should be "\r\n"

  Scenario: Delete at end of line deletes delimiter (Windows)
    When I open a new edit tab
    And I replace the contents with "foo\r\nbar\r\nbaz\r\n"
    And I move the cursor to (0,3)
    And I press the Delete key in the edit tab
    Then the contents should be "foobar\r\nbaz\r\n"
    
  Scenario: Backspace at start of line deletes delimiter (Windows)
    When I open a new edit tab
    And I replace the contents with "foo\r\nbar\r\nbaz\r\n"
    And I move the cursor to (1,0)
    And I press the Backspace key in the edit tab
    Then the contents should be "foobar\r\nbaz\r\n"
    
  Scenario: Chooses line delimiter by text put in the tab (Unix)
    When I open a new edit tab
    And I replace the contents with "foo\nbar\nbaz\n"
    Then the line delimiter should be "\n"

  Scenario: Delete at end of line deletes delimiter (Unix)
    When I open a new edit tab
    And I replace the contents with "foo\nbar\nbaz\n"
    And I move the cursor to (0,3)
    And I press the Delete key in the edit tab
    Then the contents should be "foobar\nbaz\n"
    
  Scenario: Backspace at start of line deletes delimiter (Windows)
    When I open a new edit tab
    And I replace the contents with "foo\nbar\nbaz\n"
    And I move the cursor to (1,0)
    And I press the Backspace key in the edit tab
    Then the contents should be "foobar\nbaz\n"
    
  Scenario: End goes to end of line (Windows)
    When I open a new edit tab
    And I replace the contents with "foo\r\nbar\r\nbaz\r\n"
    And I move the cursor to (0,0)
    And I select menu item "Edit|Document Navigation|End"
    Then the cursor should be at (0,3)
    

Version data entries

19 entries across 19 versions & 2 rubygems

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