Sha256: 210fb194e6cf1e13281ae04dbf24115bf51af1f7b55384b07e613f50c82fd21d

Contents?: true

Size: 1.02 KB

Versions: 35

Compression:

Stored size: 1.02 KB

Contents

Feature: Text editing commands

  Background:
    Given I open a new edit tab

  Scenario: Delete char
    When I replace the contents with "Foo\nBar\nBaz"
    And I move the cursor to 0
    And I run the command Redcar::Top::DeleteCharCommand
    Then the cursor should be at 0
    And the contents should be "oo\nBar\nBaz"

  Scenario: Delete char at end of document
    When I replace the contents with "Foo"
    And I move the cursor to 3
    And I run the command Redcar::Top::DeleteCharCommand
    Then the cursor should be at 3
    And the contents should be "Foo"

  Scenario: Backspace
    When I replace the contents with "Foo"
    And I move the cursor to 1
    And I run the command Redcar::Top::BackspaceCommand
    Then the cursor should be at 0
    And the contents should be "oo"

  Scenario: Backspace at start of document
    When I replace the contents with "Foo"
    And I move the cursor to 0
    And I run the command Redcar::Top::BackspaceCommand
    Then the cursor should be at 0
    And the contents should be "Foo"

Version data entries

35 entries across 35 versions & 2 rubygems

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