oo-ide 0.0.4

∞ is a terminal IDE focused on low distraction, high usability.
Documentation
Feature: Word selection

  Scenario: Select next word extends selection forward
    Given the buffer contains "hello world"
    And the cursor is at row 0, col 0
    When I run "editor.select_word_next"
    Then there is a selection from row 0 col 0 to row 0 col 5

  Scenario: Select previous word extends selection backward
    Given the buffer contains "hello world"
    And the cursor is at row 0, col 11
    When I run "editor.select_word_prev"
    Then there is a selection from row 0 col 11 to row 0 col 6

  Scenario: Clear selection removes the selection
    Given the buffer contains "hello world"
    And there is a selection from row 0 col 0 to row 0 col 5
    When I run "editor.clear_selection"
    Then there is no selection

  Scenario: Select all selects the entire buffer
    Given the buffer contains:
      """
      line 1
      line 2
      """
    When I run "editor.select_all"
    Then there is a selection from row 0 col 0 to row 1 col 6
    And the cursor is at row 1, col 6