Sha256: 5d672617611e87782a904e6547384b0a7adcff0a8d2b6d2aa81c9a96d3da3266

Contents?: true

Size: 1.72 KB

Versions: 19

Compression:

Stored size: 1.72 KB

Contents

Feature: Indentation commands

  Scenario: Increase indent, soft tabs, width 2
    When I open a new edit tab
    And tabs are soft, 2 spaces
    And I select menu item "Edit|Formatting|Increase Indent"
    Then the contents should be "  "

  Scenario: Decrease indent, soft tabs, width 2
    When I open a new edit tab
    And tabs are soft, 2 spaces
    And I replace the contents with "<c>    "
    And I select menu item "Edit|Formatting|Decrease Indent"
    Then the contents should be "  "

  Scenario: Increase indent, soft tabs, width 3
    When I open a new edit tab
    And tabs are soft, 3 spaces
    And I select menu item "Edit|Formatting|Increase Indent"
    Then the contents should be "   "

  Scenario: Decrease indent, soft tabs, width 3
    When I open a new edit tab
    And tabs are soft, 3 spaces
    And I replace the contents with "<c>      "
    And I select menu item "Edit|Formatting|Decrease Indent"
    Then the contents should be "   "

  Scenario: Increase indent, hard tabs, width 2
    When I open a new edit tab
    And tabs are hard
    And I select menu item "Edit|Formatting|Increase Indent"
    Then the contents should be "\t"

  Scenario: Decrease indent, hard tabs, width 2
    When I open a new edit tab
    And tabs are hard
    And I replace the contents with "<c>\t\t"
    And I select menu item "Edit|Formatting|Decrease Indent"
    Then the contents should be "\t"

  Scenario: auto-indent, soft tabs, width 2
    Given the indentation rules are like Ruby's
    When I open a new edit tab
    And tabs are soft, 2 spaces
    And I replace the contents with "def f\n\t1\t\t\nend\t"
    And I select 13 from (0,0)
    And I select menu item "Edit|Formatting|Indent"
    Then the contents should be "def f\n  1\nend"

Version data entries

19 entries across 19 versions & 2 rubygems

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