Menu

#3371 'Find' button disable when searching in selection

closed-invalid
nobody
7
2012-05-30
2010-01-10
No

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.

Discussion

  • Anonymous

    Anonymous - 2010-01-10

    A screenshot of Search & Replace

     
  • Anshal Shukla

    Anshal Shukla - 2010-06-27

    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?

     
  • Anonymous

    Anonymous - 2010-06-27

    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.

     
  • Jarek Czekalski

    Jarek Czekalski - 2012-04-25

    Please provide steps to reproduce.

     
  • Jarek Czekalski

    Jarek Czekalski - 2012-04-25
    • status: open --> pending-invalid
     
  • Jarek Czekalski

    Jarek Czekalski - 2012-05-30
    • status: pending-invalid --> closed-invalid
     

Log in to post a comment.

MongoDB Logo MongoDB