Sha256: ba5488c990cc27516a90eef9c687c44f3e9cdd91edaa42ca5354cbcd14fb505d

Contents?: true

Size: 1.41 KB

Versions: 19

Compression:

Stored size: 1.41 KB

Contents

Feature: Cursor navigation

  Background:
    When I open a new edit tab

  Scenario: Move forward word works with multi-byte chars
    When I replace the contents with "<h1>'Oáy z' wee"
    And I move the cursor to (0,0)
    When I move to the next word
    Then the contents should be "<h1<c>>'Oáy z' wee"
    When I move to the next word
    Then the contents should be "<h1>'<c>Oáy z' wee"
    When I move to the next word
    Then the contents should be "<h1>'Oáy<c> z' wee"
    When I move to the next word
    Then the contents should be "<h1>'Oáy z<c>' wee"
    When I move to the next word
    Then the contents should be "<h1>'Oáy z' <c>wee"
    When I move to the next word
    Then the contents should be "<h1>'Oáy z' wee<c>"

  Scenario: Move backward word works with multi-byte chars
    When I replace the contents with "<h1>'Oáy z' wee"
    And I move the cursor to (0,15)
    When I move to the previous word
    Then the contents should be "<h1>'Oáy z' <c>wee"
    When I move to the previous word
    Then the contents should be "<h1>'Oáy z<c>' wee"
    When I move to the previous word
    Then the contents should be "<h1>'Oáy <c>z' wee"
    When I move to the previous word
    Then the contents should be "<h1>'<c>Oáy z' wee"
    When I move to the previous word
    Then the contents should be "<h1<c>>'Oáy z' wee"
    When I move to the previous word
    Then the contents should be "<<c>h1>'Oáy z' wee"

Version data entries

19 entries across 19 versions & 2 rubygems

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