Skip to content

Commit

Permalink
FarGroupgh-600: Shift+F7 and Alt+F7 now search in absolute directions…
Browse files Browse the repository at this point in the history
… (down or up respectfully)

instead of reversing the direction defined by the last invocation of the Search / Replace dialog.
Also, on the dialog itself, replaced "Reverse" checkbox with "Search Down / Up" buttons.
  • Loading branch information
MKadaner committed Mar 8, 2023
1 parent 52b8370 commit 077d479
Show file tree
Hide file tree
Showing 19 changed files with 517 additions and 400 deletions.
38 changes: 20 additions & 18 deletions far/FarCze.hlf.m4
Original file line number Diff line number Diff line change
Expand Up @@ -2852,8 +2852,8 @@ combinations adjust the number of displayed bytes by 16 at a time.
#Shift+F4# Select ~view mode~@ViewerMode@: #text#, #hex#, or #dump#
#F6# Přepnutí do ~editoru~@Editor@
#F7# ~Hledání~@ViewerSearch@
#Shift+F7, Mezerník# Opakovat hledání
#Alt+F7# Continue search in reverse direction
#Shift+F7, Mezerník# Continue searching forward
#Alt+F7# Continue searching backwards
#F8# Přepíná mezi OEM/ANSI textovým režimem
#Shift+F8# Výběr code page using the ~Code pages~@CodePagesMenu@ menu
#Alt+F8# ~Změna aktuální pozice~@ViewerGotoPos@
Expand Down Expand Up @@ -3104,13 +3104,6 @@ módy a nastavení:
#Celá slova#
Zadaný tet bude nalezen pouze tehdy, pokud ve v textu nachází jako celé slovo.

#Zpětné hledání#
Obrací směr vyhledávání - vyhledává od konce souboru směrem k začátku.

#Regular expressions#
Enable the use of ~regular expressions~@RegExp@ in the search string.
The multiline search is not supported.

#Fuzzy search#
The search will be diacritical insensitive (for example, #deja# will be found in #déjà vu#),
ligatures will be equivalent to corresponding multicharacter sequences (#fluffy# matches #fluffy#),
Expand All @@ -3119,6 +3112,14 @@ fancy numbers to corresponding numbers (#42# matches #④②#), and so on.
Note that case sensitive fuzzy search sometimes may be useful. For example, #Uber# will be found
in #Überwald# but not in #überwald#. However, #Æther# will match #AEther#, but not #Aether#.

#Regular expressions#
Enable the use of ~regular expressions~@RegExp@ in the search string.
The multiline search is not supported.

The #Search down# button starts searching forward.

The #Search up# button starts searching backwards.


@Editor
$ #Editor#
Expand Down Expand Up @@ -3199,8 +3200,8 @@ behavior can be changed in the ~Editor settings~@EditorSettings@ dialog.
#F6# Přepnutí do ~prohlížeče~@Viewer@
#F7# ~Hledat~@EditorSearch@
#Ctrl+F7# ~Nahradit~@EditorSearch@
#Shift+F7# Opakovat hledání/nahrazení
#Alt+F7# Opakovat hledání/nahrazení in "reverse" mode
#Shift+F7# Continue searching or replacing forward
#Alt+F7# Continue searching or replacing backwards
#F8# Přepíná mezi DOS/Windows textovým režimem
#Shift+F8# Výběr OEM/ANSI code page
#Alt+F8# ~Jdi na~@EditorGotoPos@ určený řádek a sloupec
Expand Down Expand Up @@ -3248,13 +3249,6 @@ $ #Editor: search/replace#
#Whole words#
The given text will be found only if it occurs in the text as a whole word.

#Reverse search#
Change the direction of search (from the end of file towards the beginning)

#Regular expressions#
Treat input as Perl regular expression (~search~@RegExp@ and ~replace~@RegExpRepl@).
Each line is processed individually, so multi-line expressions and line break characters will not be found.

#Fuzzy search#
The search will be diacritical insensitive (for example, #deja# will be found in #déjà vu#),
ligatures will be equivalent to corresponding multicharacter sequences (#fluffy# matches #fluffy#),
Expand All @@ -3263,9 +3257,17 @@ fancy numbers to corresponding numbers (#42# matches #④②#), and so on.
Note that case sensitive fuzzy search sometimes may be useful. For example, #Uber# will be found
in #Überwald# but not in #überwald#. However, #Æther# will match #AEther#, but not #Aether#.

#Regular expressions#
Treat input as Perl regular expression (~search~@RegExp@ and ~replace~@RegExpRepl@).
Each line is processed individually, so multi-line expressions and line break characters will not be found.

~Preserve style~@PreserveStyle@
Preserve style (case and delimiters in program source code) of the replaced text.

The #Search down# button starts searching forward.

The #Search up# button start searching backwards.

The #All# button will show All matching entries ~menu~@FindAllMenu@.


Expand Down
38 changes: 20 additions & 18 deletions far/FarEng.hlf.m4
Original file line number Diff line number Diff line change
Expand Up @@ -2818,8 +2818,8 @@ combinations adjust the number of displayed bytes by 16 at a time.
#Shift+F4# Select ~view mode~@ViewerMode@: #text#, #hex#, or #dump#
#F6# Switch to ~editor~@Editor@
#F7# ~Search~@ViewerSearch@
#Shift+F7, Space# Continue search
#Alt+F7# Continue search in reverse direction
#Shift+F7, Space# Continue searching forward
#Alt+F7# Continue searching backwards
#F8# Switch between OEM and ANSI code pages
#Shift+F8# Select code page using the ~Code pages~@CodePagesMenu@ menu
#Alt+F8# ~Change current position~@ViewerGotoPos@
Expand Down Expand Up @@ -3070,13 +3070,6 @@ while searching (so, for example, #Text# will not be found when searching for #t
#Whole words#
The given text will be found only if it occurs in the text as a whole word.

#Reverse search#
Reverse the search direction - search from the end of file towards the beginning.

#Regular expressions#
Enable the use of ~regular expressions~@RegExp@ in the search string.
The multiline search is not supported.

#Fuzzy search#
The search will be diacritical insensitive (for example, #deja# will be found in #déjà vu#),
ligatures will be equivalent to corresponding multicharacter sequences (#fluffy# matches #fluffy#),
Expand All @@ -3085,6 +3078,14 @@ fancy numbers to corresponding numbers (#42# matches #④②#), and so on.
Note that case sensitive fuzzy search sometimes may be useful. For example, #Uber# will be found
in #Überwald# but not in #überwald#. However, #Æther# will match #AEther#, but not #Aether#.

#Regular expressions#
Enable the use of ~regular expressions~@RegExp@ in the search string.
The multiline search is not supported.

The #Search down# button starts searching forward.

The #Search up# button starts searching backwards.


@Editor
$ #Editor#
Expand Down Expand Up @@ -3165,8 +3166,8 @@ behavior can be changed in the ~Editor settings~@EditorSettings@ dialog.
#F6# Switch to ~viewer~@Viewer@
#F7# ~Search~@EditorSearch@
#Ctrl+F7# ~Replace~@EditorSearch@
#Shift+F7# Continue search/replace
#Alt+F7# Continue search/replace in "reverse" mode
#Shift+F7# Continue searching or replacing forward
#Alt+F7# Continue searching or replacing backwards
#F8# Toggle OEM/ANSI code page
#Shift+F8# Select code page
#Alt+F8# ~Go to~@EditorGotoPos@ specified line and column
Expand Down Expand Up @@ -3214,13 +3215,6 @@ $ #Editor: search/replace#
#Whole words#
The given text will be found only if it occurs in the text as a whole word.

#Reverse search#
Change the direction of search (from the end of file towards the beginning)

#Regular expressions#
Treat input as Perl regular expression (~search~@RegExp@ and ~replace~@RegExpRepl@).
Each line is processed individually, so multi-line expressions and line break characters will not be found.

#Fuzzy search#
The search will be diacritical insensitive (for example, #deja# will be found in #déjà vu#),
ligatures will be equivalent to corresponding multicharacter sequences (#fluffy# matches #fluffy#),
Expand All @@ -3229,9 +3223,17 @@ fancy numbers to corresponding numbers (#42# matches #④②#), and so on.
Note that case sensitive fuzzy search sometimes may be useful. For example, #Uber# will be found
in #Überwald# but not in #überwald#. However, #Æther# will match #AEther#, but not #Aether#.

#Regular expressions#
Treat input as Perl regular expression (~search~@RegExp@ and ~replace~@RegExpRepl@).
Each line is processed individually, so multi-line expressions and line break characters will not be found.

~Preserve style~@PreserveStyle@
Preserve style (case and delimiters in program source code) of the replaced text.

The #Search down# button starts searching forward.

The #Search up# button start searching backwards.

The #All# button will show All matching entries ~menu~@FindAllMenu@.


Expand Down
38 changes: 20 additions & 18 deletions far/FarGer.hlf.m4
Original file line number Diff line number Diff line change
Expand Up @@ -2892,8 +2892,8 @@ combinations adjust the number of displayed bytes by 16 at a time.
#Shift+F4# Select ~view mode~@ViewerMode@: #text#, #hex#, or #dump#
#F6# Zum ~Editor~@Editor@ wechseln
#F7# ~Suchen~@ViewerSearch@
#Umsch+F7, Space# Weitersuchen
#Alt+F7# Continue search in reverse direction
#Umsch+F7, Space# Continue searching forward
#Alt+F7# Continue searching backwards
#F8# Zwischen OEM/ANSI Textansicht wechseln
#Umsch+F8# Benutzerdefinierte ~Code Pages~@CodePagesMenu@ menu auswählen
#Alt+F8# ~Wechsle aktuelle Position~@ViewerGotoPos@
Expand Down Expand Up @@ -3144,13 +3144,6 @@ while searching (so, for example, #Text# will not be found when searching for #t
#Whole words#
The given text will be found only if it occurs in the text as a whole word.

#Reverse search#
Reverse the search direction - search from the end of file towards the beginning.

#Regular expressions#
Enable the use of ~regular expressions~@RegExp@ in the search string.
The multiline search is not supported.

#Fuzzy search#
The search will be diacritical insensitive (for example, #deja# will be found in #déjà vu#),
ligatures will be equivalent to corresponding multicharacter sequences (#fluffy# matches #fluffy#),
Expand All @@ -3159,6 +3152,14 @@ fancy numbers to corresponding numbers (#42# matches #④②#), and so on.
Note that case sensitive fuzzy search sometimes may be useful. For example, #Uber# will be found
in #Überwald# but not in #überwald#. However, #Æther# will match #AEther#, but not #Aether#.

#Regular expressions#
Enable the use of ~regular expressions~@RegExp@ in the search string.
The multiline search is not supported.

The #Search down# button starts searching forward.

The #Search up# button starts searching backwards.


@Editor
$ #Interner Editor#
Expand Down Expand Up @@ -3239,8 +3240,8 @@ behavior can be changed in the ~Editor settings~@EditorSettings@ dialog.
#F6# Zum ~Betrachter~@Viewer@ wechseln
#F7# ~Suchen~@EditorSearch@
#Strg+F7# ~Ersetzen~@EditorSearch@
#Umsch+F7# Weitersuchen
#Alt+F7# Continue search/replace in "reverse" mode
#Umsch+F7# Continue searching or replacing forward
#Alt+F7# Continue searching or replacing backwards
#F8# Zwischen OEM/ANSI Textansicht wechseln
#Strg+F8# Benutzerdefinierte Zeichensatztabelle auswählen
#Alt+F8# ~Gehe nach~@EditorGotoPos@ angegeben Zeile Und Spalte
Expand Down Expand Up @@ -3288,13 +3289,6 @@ $ #Editor: search/replace#
#Whole words#
The given text will be found only if it occurs in the text as a whole word.

#Reverse search#
Change the direction of search (from the end of file towards the beginning)

#Regular expressions#
Treat input as Perl regular expression (~search~@RegExp@ and ~replace~@RegExpRepl@).
Each line is processed individually, so multi-line expressions and line break characters will not be found.

#Fuzzy search#
The search will be diacritical insensitive (for example, #deja# will be found in #déjà vu#),
ligatures will be equivalent to corresponding multicharacter sequences (#fluffy# matches #fluffy#),
Expand All @@ -3303,9 +3297,17 @@ fancy numbers to corresponding numbers (#42# matches #④②#), and so on.
Note that case sensitive fuzzy search sometimes may be useful. For example, #Uber# will be found
in #Überwald# but not in #überwald#. However, #Æther# will match #AEther#, but not #Aether#.

#Regular expressions#
Treat input as Perl regular expression (~search~@RegExp@ and ~replace~@RegExpRepl@).
Each line is processed individually, so multi-line expressions and line break characters will not be found.

~Preserve style~@PreserveStyle@
Preserve style (case and delimiters in program source code) of the replaced text.

The #Search down# button starts searching forward.

The #Search up# button start searching backwards.

The #All# button will show All matching entries ~menu~@FindAllMenu@.


Expand Down
38 changes: 20 additions & 18 deletions far/FarHun.hlf.m4
Original file line number Diff line number Diff line change
Expand Up @@ -2900,8 +2900,8 @@ combinations adjust the number of displayed bytes by 16 at a time.
#Shift+F4# Select ~view mode~@ViewerMode@: #text#, #hex#, or #dump#
#F6# Átvált ~szerkesztésre~@Editor@
#F7# ~Keresés~@ViewerSearch@
#Shift+F7, Szóköz# Tovább keres
#Alt+F7# Tovább keres, de visszafelé
#Shift+F7, Szóköz# Continue searching forward
#Alt+F7# Continue searching backwards
#F8# OEM/ANSI kódlap váltó
#Shift+F8# ~Kódlap~@CodePagesMenu@ kiválasztása
#Alt+F8# ~Ugrás~@ViewerGotoPos@ a jelenlegi szövegpozícióból másik pozícióba
Expand Down Expand Up @@ -3152,13 +3152,6 @@ szöveget a Far nem értékeli találatnak)
A megadott szöveg előfordulásait csak akkor veszi találatnak, ha soremelések, tabulátorok vagy szóközök határolják,
vagy a szabványos elválasztó karakterek: #!%^&*()+|{}:"<>?`-=\\[];',./#

#Visszafelé keres#
Megfordítja a keresés irányát, a fájl végétől keres a fájl elejéig.

#Regular expressions#
Enable the use of ~regular expressions~@RegExp@ in the search string.
The multiline search is not supported.

#Fuzzy search#
The search will be diacritical insensitive (for example, #deja# will be found in #déjà vu#),
ligatures will be equivalent to corresponding multicharacter sequences (#fluffy# matches #fluffy#),
Expand All @@ -3167,6 +3160,14 @@ fancy numbers to corresponding numbers (#42# matches #④②#), and so on.
Note that case sensitive fuzzy search sometimes may be useful. For example, #Uber# will be found
in #Überwald# but not in #überwald#. However, #Æther# will match #AEther#, but not #Aether#.

#Regular expressions#
Enable the use of ~regular expressions~@RegExp@ in the search string.
The multiline search is not supported.

The #Search down# button starts searching forward.

The #Search up# button starts searching backwards.


@Editor
$ #Szerkesztő#
Expand Down Expand Up @@ -3248,8 +3249,8 @@ kódlapját kapja, de ez az opció a ~szerkesztő beállítások~@EditorSettings
#F6# ~Nézőke~@Viewer@ módba kapcsol
#F7# ~Keresés~@EditorSearch@
#Ctrl+F7# ~Keresés és csere~@EditorSearch@
#Shift+F7# Keresés és csere folytatása
#Alt+F7# Keresés és csere folytatása, visszafelé
#Shift+F7# Continue searching or replacing forward
#Alt+F7# Continue searching or replacing backwards
#F8# OEM/ANSI kódlap váltó
#Shift+F8# Kódlap kiválasztása
#Alt+F8# ~Ugrás~@EditorGotoPos@ megadott sorra és oszlopra
Expand Down Expand Up @@ -3296,13 +3297,6 @@ $ #Editor: search/replace#
#Whole words#
The given text will be found only if it occurs in the text as a whole word.

#Reverse search#
Change the direction of search (from the end of file towards the beginning)

#Regular expressions#
Treat input as Perl regular expression (~search~@RegExp@ and ~replace~@RegExpRepl@).
Each line is processed individually, so multi-line expressions and line break characters will not be found.

#Fuzzy search#
The search will be diacritical insensitive (for example, #deja# will be found in #déjà vu#),
ligatures will be equivalent to corresponding multicharacter sequences (#fluffy# matches #fluffy#),
Expand All @@ -3311,9 +3305,17 @@ fancy numbers to corresponding numbers (#42# matches #④②#), and so on.
Note that case sensitive fuzzy search sometimes may be useful. For example, #Uber# will be found
in #Überwald# but not in #überwald#. However, #Æther# will match #AEther#, but not #Aether#.

#Regular expressions#
Treat input as Perl regular expression (~search~@RegExp@ and ~replace~@RegExpRepl@).
Each line is processed individually, so multi-line expressions and line break characters will not be found.

~Preserve style~@PreserveStyle@
Preserve style (case and delimiters in program source code) of the replaced text.

The #Search down# button starts searching forward.

The #Search up# button start searching backwards.

The #All# button will show All matching entries ~menu~@FindAllMenu@.


Expand Down
Loading

0 comments on commit 077d479

Please sign in to comment.