To add a collaborator to this project you will need to use the Relish gem to add the collaborator via a terminal command. Soon you'll be able to also add collaborators here!
More about adding a collaboratorClear Line
- Scenarios
-
- Clearing a single line
-
- When
- I open a new edit tab
- And
- I replace the contents with "foo\nbar\nbonne\nbaz"
- And
- I move the cursor to 5
- And
- I clear the line
- Then
- I should see "foo\n\nbonne\nbaz" in the edit tab
- And
- I should not see "bar" in the edit tab
- Clearing a multi-line selection
-
- When
- I open a new edit tab
- And
- I replace the contents with "foo\nbar\nbonne\nbaz"
- And
- I select from 5 to 9
- And
- I clear the line
- Then
- I should see "foo\n\n\nbaz" in the edit tab
- And
- I should not see "bar" in the edit tab
- And
- I should not see "bonne" in the edit tab
- Clearing a single line with unicode
-
- When
- I open a new edit tab
- And
- I replace the contents with "foo\nbść\nbonne\nbaz"
- And
- I move the cursor to 5
- And
- I clear the line
- Then
- the contents should be "foo\n\nbonne\nbaz"
Last published almost 7 years ago by danlucraft.