Tekstin etsiminen

Etsintätyökalu auttaa tietyn tekstinpätkän löytämisessä tiedoston sisältä.

Tekstin etsiminen

  1. Open the search window by clicking Menu Button ▸ Find… or pressing Ctrl+F. This will move your cursor to the start of the search window.

  2. Kirjoita etsittävä teksti hakuun.

  3. gedit alkaa korostamaan hakusanaa vastaavia tekstinpätkiä välittömästi.

Hakutulosten selaaminen onnistuu seuraavin tavoin:

  • Click on the up or down facing arrows next to the search window.

  • Press the up arrow or down arrow keys on your keyboard.

  • Press Ctrl+G or Ctrl+Shift+G.

Haun sulkeminen onnistuu joko Esc- tai Enter-näppäimellä. Esc-näppäin palauttaa tekstikursorin kohtaan, jossa se oli ennen haun alkua ja Enter puolestaan siirtää tekstikursorin valitun hakutuloksen kohdalle.

Hakuvinkkejä

  • Jos korostat hiirelläsi tekstinpätkän ja painat Ctrl+F, korostettu teksti täytetään hakuun.

  • For more search options, click on the Magnifying Glass icon in the search window, or right-click anywhere in the search window. You can select one or more of the following search options:

    • Select Match Case to make the search case sensitive.

    • Select Match Entire Word Only to search only complete words.

    • Select Wrap Around to search text from top to bottom and cycle back again.

  • The text that you've searched for will remain highlighted by gedit, even after you have completed your search. To remove the highlight, click Clear Highlight, or press Ctrl+Shift+K.