That’s right, it works in the piano roll. Double-click a note to select it and all the following notes of the same pitch.