Logo: Relish

  1. Sign in

Project: Redcar

Goto line command

  • @speedbar
Background
Given
I open a new edit tab
Scenarios
Open goto line speedbar
When
I replace the contents with "Foo\nBar\nBaz"
And
I move the cursor to 0
And
I run the command Redcar::Top::GotoLineCommand
Then
the Redcar::Top::GotoLineCommand::Speedbar speedbar should be open
Search for a word should select next occurrence
When
I replace the contents with "Foo\nBar\nBaz"
And
I move the cursor to 0
And
I run the command Redcar::Top::GotoLineCommand
And
I type "2" into the "line" field in the speedbar
And
I press "Go" in the speedbar
Then
the cursor should be on line 1

Last published over 5 years ago by danlucraft.