Sha256: ac4945950a3c9932b285df56ff5cf457a2babeba6462a083bc34b77ea97730a3

Contents?: true

Size: 1.4 KB

Versions: 24

Compression:

Stored size: 1.4 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
    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 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

24 entries across 24 versions & 2 rubygems

Version Path
redcar-dev-0.12.17dev plugins/edit_view/features/cursor_navigation.feature
redcar-dev-0.12.16dev-java plugins/edit_view/features/cursor_navigation.feature
redcar-dev-0.12.15dev-java plugins/edit_view/features/cursor_navigation.feature
redcar-dev-0.12.14dev-java plugins/edit_view/features/cursor_navigation.feature
redcar-dev-0.12.13dev-java plugins/edit_view/features/cursor_navigation.feature
redcar-dev-0.12.12dev-java plugins/edit_view/features/cursor_navigation.feature
redcar-dev-0.12.11dev-java plugins/edit_view/features/cursor_navigation.feature
redcar-dev-0.12.10dev-java plugins/edit_view/features/cursor_navigation.feature
redcar-dev-0.12.9dev-java plugins/edit_view/features/cursor_navigation.feature
redcar-dev-0.12.8dev-java plugins/edit_view/features/cursor_navigation.feature
redcar-dev-0.12.7dev-java plugins/edit_view/features/cursor_navigation.feature
redcar-dev-0.12.6dev-java plugins/edit_view/features/cursor_navigation.feature
redcar-dev-0.12.4dev-java plugins/edit_view/features/cursor_navigation.feature
redcar-dev-0.12.3dev-java plugins/edit_view/features/cursor_navigation.feature
redcar-dev-0.12.1dev-java plugins/edit_view/features/cursor_navigation.feature
redcar-dev-0.12.0dev-java plugins/edit_view/features/cursor_navigation.feature
redcar-0.11 plugins/edit_view/features/cursor_navigation.feature
redcar-0.11.0dev plugins/edit_view/features/cursor_navigation.feature
redcar-0.10 plugins/edit_view/features/cursor_navigation.feature
redcar-0.9.2 plugins/edit_view/features/cursor_navigation.feature