Sha256: 4abe8c4e2263cf0fbe774eae5706af2e027f7538aadf9f847b61c5649821a0ac

Contents?: true

Size: 776 Bytes

Versions: 19

Compression:

Stored size: 776 Bytes

Contents

Feature: Commenting a selected area of text

  Background:
    When I open a new edit tab

  Scenario: Commenting a part of a line
    When I replace the contents with "a piece of code"
    And I switch the language to "Java"
    And I toggle block comment
    Then I should see "/*a piece of code*/" in the edit tab
    When I toggle block comment
    Then I should see "a piece of code" in the edit tab

  Scenario: Commenting a selection spanning several lines
    When I replace the contents with "a piece\nof code"
    And I switch the language to "C++"
    And I select from (0,4) to (1,1)
    And I toggle block comment
    Then I should see "a pi/*ece\no*/f code" in the edit tab
    And I toggle block comment
    Then I should see "a piece\nof code" in the edit tab

Version data entries

19 entries across 19 versions & 2 rubygems

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