Sometimes, when a range of text is selected (single range selection mode), the 'Find' button in the Search & Replace dialog is disabled, so I cannot search the selection. The button becomes enabled when I switch to buffer search (instead of selection search).
Attached a screenshot that shows this.
A screenshot of Search & Replace
If the HyperSearch check box is selected in "Search And Replace" (in Selection search ) , the Find button becomes enabled again.The jedit user guide mentions this as the default behavior.Chapter 5>Search And Replace>Searching For Text >line5 says,
"If the selection spans a line break, the Search in Selection and HyperSearch buttons will be pre-selected, and the search string field will be initially blank. "
Does this mean that Selection search was expected to work in the HyperSearch mode only, previously?
I think so, yes. The reason is that using "Find" will select the text that it found, causing the previously selected text (in which you searched) to be deselected, so you won't be able to do "find next" within the previously-selected text. Therefore, only hypersearch is reasonable in this case.
Please provide steps to reproduce.
The entry has been pending for 14 days or more and is being closed now.
The procedure is described in wiki:
https://sourceforge.net/apps/mediawiki/jedit/index.php?title=Bug_tracker_details#Pending