Difference between revisions of "IDE Window: Find/fi"

From Free Pascal wiki
Jump to navigationJump to search
Line 13: Line 13:
 
You can choose, whether the IDE starts the dialog with the word at the cursor in the source editor or with a blank field in Environment -> Editor Options ->  General -> Find text at cursor
 
You can choose, whether the IDE starts the dialog with the word at the cursor in the source editor or with a blank field in Environment -> Editor Options ->  General -> Find text at cursor
  
== Options ==
+
== Optiot ==
  
* Case sensitive - distinguish lower case and upper case (a and A)
+
* Sama kirjainkoko - distinguish lower case and upper case (a and A)
* Whole words only - The found text must start at a word start and end at a word end
+
* Etsi vain kokonaisia sanoja - The found text must start at a word start and end at a word end
* Regular Expressions - see [[IDE regular expressions]]
+
* Säännölliset lausekkeet - katso [[IDE regular expressions]]
* Multi line - not implemented yet
+
* (Multi line - ei ole vielä tehty)
* Prompt on replace - ask before replacing (only enabled if replacing)
+
* Kysy vielä muutoksille vahvistusta - ask before replacing (only enabled if replacing)
  
== Origin ==
+
== Lähtökohta ==
  
* From Cursor - start search at cursor. If direction is forward, it searches till the end of the file
+
* Kohdistimen osoittama kohta - aloittaa hakemisen siitä paikasta missä kursori on sillä hetkellä. Jos suunta on eteenpäin niin haku etenee kohti tiedoston loppua.
* Entire Scope - If direction is forward it starts searching at the beginning of the file and searches till the end.
+
* Ulottuvuuden alkukohta - If direction is forward it starts searching at the beginning of the file and searches till the end.
  
 
== Ulottuvuus ==
 
== Ulottuvuus ==

Revision as of 19:34, 18 July 2006

Deutsch (de) English (en) suomi (fi) français (fr)

If this dialog is invoked by Ctrl+F or by Search > Find then it the replace buttons and options are disabled.

If this dialog is invoked by Ctrl+R or by Search > Replace then the replace options will be enabled.

  • Text to Find
  • Replace With

The above two comboboxes contain the last searched texts and replace patterns. Cursor Down will go back in history and fetch the last text to find.

Hint: You can choose, whether the IDE starts the dialog with the word at the cursor in the source editor or with a blank field in Environment -> Editor Options -> General -> Find text at cursor

Optiot

  • Sama kirjainkoko - distinguish lower case and upper case (a and A)
  • Etsi vain kokonaisia sanoja - The found text must start at a word start and end at a word end
  • Säännölliset lausekkeet - katso IDE regular expressions
  • (Multi line - ei ole vielä tehty)
  • Kysy vielä muutoksille vahvistusta - ask before replacing (only enabled if replacing)

Lähtökohta

  • Kohdistimen osoittama kohta - aloittaa hakemisen siitä paikasta missä kursori on sillä hetkellä. Jos suunta on eteenpäin niin haku etenee kohti tiedoston loppua.
  • Ulottuvuuden alkukohta - If direction is forward it starts searching at the beginning of the file and searches till the end.

Ulottuvuus

  • Kaikki - haetaan koko tiedostosta
  • Valittu teksti - rajoittaa hakemisen valittuun tekstiin

Vihje: Jos halutaan että haku koskee useita tiedostoja on suositeltavampaa valita Etsi-valikon Etsi tiedostoista -kohtaa. Siis Etsi -> Etsi tiedostoista .

Suunta

  • Eteenpäin - haku tapahtuu alusta loppuun. Kultakin riviltä etsitään vasenmalta oikealle.
  • Backward search - search bottom to top. Each line is searched forward - left to right.