Only use first selection line when populating FindInFiles bar
Fix typo
Merge remote-tracking branch 'upstream/master' into find-in-files-selection-newline
Add unit tests
Introduce FindUtils.getInitialQueryFromSelection
Merge pull request #8470 from MarcelGerber/find-in-files-selection-newline

Only use first line of primary selection when populating FindInFiles bar. Consolidate code with FindReplace.