Re: find next?

2021-02-20 Thread Stephan Witt
Am 21.02.2021 um 07:12 schrieb Daniel :
> 
> On 2021-02-21 02:12, David Pesetsky wrote:
>> Perhaps there is a font size problem?  This is what I see.  Notice that not 
>> only are the "<" and ">" indicators missing, but "Case sensitive" overlaps 
>> the next checkbox.  (Hoping this listserv doesn't strip out graphics 
>> attachments.)
> 
> I see the attached with current master and macOS 10.15.7 (Catalina). There 
> are the arrows but the checkboxes overlap.
> 

Yes, the presentation of the arrows is work made after alpha3 was out.

Stephan
-- 
lyx-users mailing list
lyx-users@lists.lyx.org
http://lists.lyx.org/mailman/listinfo/lyx-users


Re: find next?

2021-02-20 Thread Daniel

On 2021-02-21 02:12, David Pesetsky wrote:
Perhaps there is a font size problem?  This is what I see.  Notice that 
not only are the "<" and ">" indicators missing, but "Case sensitive" 
overlaps the next checkbox.  (Hoping this listserv doesn't strip out 
graphics attachments.)


I see the attached with current master and macOS 10.15.7 (Catalina). 
There are the arrows but the checkboxes overlap.


Daniel-- 
lyx-users mailing list
lyx-users@lists.lyx.org
http://lists.lyx.org/mailman/listinfo/lyx-users


Re: find next?

2021-02-20 Thread David Pesetsky
I'm not seeing "<" or ">" on the buttons.

-David

On Feb 20, 2021, at 3:07 PM, Kornel Benko 
mailto:kor...@lyx.org>> wrote:

Am Sat, 20 Feb 2021 19:53:20 +
schrieb David Pesetsky mailto:pese...@mit.edu>>:

Trying it out on 2.4.0 Alpha 3, it seems to work very well now, thank you 
again.  But I
am seeing two "Find" and two "Replace" buttons.  Not a functionality problem — 
they
both work — but presumably some kind of error.

You mean probably ' < Find ' and ' Find > ' (means find backward and find 
forward)
Same for 'replace'

-David

On Feb 12, 2021, at 10:24 AM, David Pesetsky 
mailto:pese...@mit.edu>>
wrote:

Pleased indeed, thank you!!!

On Feb 12, 2021, at 10:14 AM, Jürgen Spitzmüller 
mailto:sp...@lyx.org>>
wrote:

Am Freitag, dem 12.02.2021 um 14:53 + schrieb David Pesetsky:
If you click on the document window, the "find next" key (⌘-G ) will
do its job and get you to the next occurrence of the search string.
Without that, however, if focus remains in the Find window, nothing
happens at all. That is what is non-intuitive.  In most other apps,
You can search for what you want with ⌘-F, and then simply pressing
⌘-G gets you the next occurrence, with no other steps necessary.

You might be pleased to hear that your message inspired me to go ahead
and fix that for 2.4.0 this morning.

Jürgen


Kornel
--
lyx-users mailing list
lyx-users@lists.lyx.org
http://lists.lyx.org/mailman/listinfo/lyx-users

--
David Pesetsky [pese...@mit.edu]
Department of Linguistics and Philosophy
32-D862 Massachusetts Institute of Technology
77 Massachusetts Avenue
Cambridge, MA 02139 USA
(617) 253-0957 office   (617) 253-5017 fax
http://web.mit.edu/linguistics/www/pesetsky.home.html

-- 
lyx-users mailing list
lyx-users@lists.lyx.org
http://lists.lyx.org/mailman/listinfo/lyx-users


Re: find next?

2021-02-20 Thread Kornel Benko
Am Sat, 20 Feb 2021 19:53:20 +
schrieb David Pesetsky :

> Trying it out on 2.4.0 Alpha 3, it seems to work very well now, thank you 
> again.  But I
> am seeing two "Find" and two "Replace" buttons.  Not a functionality problem 
> — they
> both work — but presumably some kind of error.

You mean probably ' < Find ' and ' Find > ' (means find backward and find 
forward)
Same for 'replace'

> -David
> 
> On Feb 12, 2021, at 10:24 AM, David Pesetsky 
> mailto:pese...@mit.edu>>
> wrote:
> 
> Pleased indeed, thank you!!!
> 
> On Feb 12, 2021, at 10:14 AM, Jürgen Spitzmüller 
> mailto:sp...@lyx.org>>
> wrote:
> 
> Am Freitag, dem 12.02.2021 um 14:53 + schrieb David Pesetsky:
> If you click on the document window, the "find next" key (⌘-G ) will
> do its job and get you to the next occurrence of the search string.
>  Without that, however, if focus remains in the Find window, nothing
> happens at all. That is what is non-intuitive.  In most other apps,
> You can search for what you want with ⌘-F, and then simply pressing
> ⌘-G gets you the next occurrence, with no other steps necessary.
> 
> You might be pleased to hear that your message inspired me to go ahead
> and fix that for 2.4.0 this morning.
> 
> Jürgen
> 

Kornel


pgp4dYdNbSm0y.pgp
Description: Digitale Signatur von OpenPGP
-- 
lyx-users mailing list
lyx-users@lists.lyx.org
http://lists.lyx.org/mailman/listinfo/lyx-users


Re: find next?

2021-02-20 Thread David Pesetsky
Trying it out on 2.4.0 Alpha 3, it seems to work very well now, thank you 
again.  But I am seeing two "Find" and two "Replace" buttons.  Not a 
functionality problem — they both work — but presumably some kind of error.

-David

On Feb 12, 2021, at 10:24 AM, David Pesetsky 
mailto:pese...@mit.edu>> wrote:

Pleased indeed, thank you!!!

On Feb 12, 2021, at 10:14 AM, Jürgen Spitzmüller 
mailto:sp...@lyx.org>> wrote:

Am Freitag, dem 12.02.2021 um 14:53 + schrieb David Pesetsky:
If you click on the document window, the "find next" key (⌘-G ) will
do its job and get you to the next occurrence of the search string.
 Without that, however, if focus remains in the Find window, nothing
happens at all. That is what is non-intuitive.  In most other apps,
You can search for what you want with ⌘-F, and then simply pressing
⌘-G gets you the next occurrence, with no other steps necessary.

You might be pleased to hear that your message inspired me to go ahead
and fix that for 2.4.0 this morning.

Jürgen



--
David Pesetsky [pese...@mit.edu]
Department of Linguistics and Philosophy
32-D862 Massachusetts Institute of Technology
77 Massachusetts Avenue
Cambridge, MA 02139 USA
(617) 253-0957 office   (617) 253-5017 fax
http://web.mit.edu/linguistics/www/pesetsky.home.html

-- 
lyx-users mailing list
lyx-users@lists.lyx.org
http://lists.lyx.org/mailman/listinfo/lyx-users


Re: find next?

2021-02-15 Thread Dr Eberhard W Lisse
As I posted, I get the same, and I most certainly did all the
steps, it did find the string in thw window and with the "Find-Next" but
not with CMD-G


frontends/qt4/GuiApplication.cpp (1603): cmd:  action: 241 [word-find]
 arg: 'ermany
0 0 1' x: 0 y: 0
BufferView.cpp (1261): BufferView::dispatch: cmd:  action: 241
[word-find]  arg: 'ermany
0 0 1' x: 0 y: 0
frontends/qt4/GuiApplication.cpp (1384): dispatch msg is
frontends/qt4/GuiApplication.cpp (1603): cmd:  action: 241 [word-find]
 arg: 'ermany
0 0 1' x: 0 y: 0
BufferView.cpp (1261): BufferView::dispatch: cmd:  action: 241
[word-find]  arg: 'ermany
0 0 1' x: 0 y: 0
frontends/qt4/GuiApplication.cpp (1384): dispatch msg is
Cursor.cpp (293): Cursor::dispatch: cmd:  action: 206 []  arg: '' x:
795 y: 320

 cursor:| anchor:
 inset: 0x7fba9aad3bd0 idx: 0 par: 155 pos: 32 | inset: 0x7fba9aad3bd0
idx: 0 par: 155 pos: 32
 selection: 1 boundary: 0

insets/InsetText.cpp (291): InsetText::doDispatch(): cmd:  action: 206
[]  arg: '' x: 795 y: 320
Text3.cpp (584): Text::dispatch: cmd:  action: 206 []  arg: '' x: 795
y: 320
Cursor.cpp (293): Cursor::dispatch: cmd:  action: 208 []  arg: '' x:
795 y: 320

 cursor:| anchor:
 inset: 0x7fba9aad3bd0 idx: 0 par: 155 pos: 32 | inset: 0x7fba9aad3bd0
idx: 0 par: 155 pos: 32
 selection: 0 boundary: 0

insets/InsetText.cpp (291): InsetText::doDispatch(): cmd:  action: 208
[]  arg: '' x: 795 y: 320
Text3.cpp (584): Text::dispatch: cmd:  action: 208 []  arg: '' x: 795
y: 320
frontends/qt4/GuiApplication.cpp (1603): cmd:  action: 169
[word-find-forward]  arg: '' x: 0 y: 0
BufferView.cpp (1261): BufferView::dispatch: cmd:  action: 169
[word-find-forward]  arg: '' x: 0 y: 0
frontends/qt4/GuiApplication.cpp (1384): dispatch msg is
frontends/qt4/GuiApplication.cpp (1603): cmd:  action: 9 [lyx-quit]
arg: '' x: 0 y: 0



On 2021-02-14 09:48 , Jürgen Spitzmüller wrote:
> Am Samstag, dem 13.02.2021 um 18:08 +0100 schrieb Daniel:
>> frontends/qt4/GuiApplication.cpp (1603): cmd:  action: 169
>> [word-find-forward]  arg: '' x: 0 y: 0
>
> This indicates that there is no search string in the cache. Did you
> really do step 3 in my recipe?
>
> Jürgen
>
>


-- 
lyx-users mailing list
lyx-users@lists.lyx.org
http://lists.lyx.org/mailman/listinfo/lyx-users


Re: find next?

2021-02-15 Thread Dr Eberhard W Lisse
Statusbar shows nothing.

/Applications/LyX.app/Contents/MacOS/lyx -dbg action

shows

frontends/qt4/GuiApplication.cpp (1603): cmd:  action: 169
[word-find-forward]  arg: '' x: 0 y: 0
BufferView.cpp (1261): BufferView::dispatch: cmd:  action: 169
[word-find-forward]  arg: '' x: 0 y: 0
frontends/qt4/GuiApplication.cpp (1384): dispatch msg is

greetings, el


On 2021-02-13 18:50 , Jürgen Spitzmüller wrote:
> Am Samstag, dem 13.02.2021 um 17:43 +0100 schrieb Daniel:
>> Seems not to work here either.
> 
> What does the statusbar show if you hit ⌘-G? Also, can you check for
> "action" dbg messages?
> 
> Jürgen
> 
> 


-- 
lyx-users mailing list
lyx-users@lists.lyx.org
http://lists.lyx.org/mailman/listinfo/lyx-users


Re: find next?

2021-02-15 Thread Dr Eberhard W Lisse
Yes hundreds of times for man years.

On the Mac Ctrl-F does not work, it is CMD-F

el

On 2021-02-13 18:07 , Jürgen Spitzmüller wrote:
> Am Samstag, dem 13.02.2021 um 18:03 +0200 schrieb Dr Eberhard W Lisse:
>> Makes no difference here.
> 
> Just to be sure, did you really try this?
> 
> 1. Ctrl-F
> 2. Enter search string
> 3. Hit Enter to find first occurrence
> 4. Click into workarea OR close dialog
> 5. Hit ⌘-G to find next occurrences
> 
> Jürgen
> 
> 


-- 
lyx-users mailing list
lyx-users@lists.lyx.org
http://lists.lyx.org/mailman/listinfo/lyx-users


Re: find next?

2021-02-13 Thread Jürgen Spitzmüller
Am Samstag, dem 13.02.2021 um 18:08 +0100 schrieb Daniel:
> frontends/qt4/GuiApplication.cpp (1603): cmd:  action: 169 
> [word-find-forward]  arg: '' x: 0 y: 0

This indicates that there is no search string in the cache. Did you
really do step 3 in my recipe?

Jürgen



signature.asc
Description: This is a digitally signed message part
-- 
lyx-users mailing list
lyx-users@lists.lyx.org
http://lists.lyx.org/mailman/listinfo/lyx-users


Re: find next?

2021-02-13 Thread Joel Kulesza
On Sat, Feb 13, 2021 at 8:20 AM Richard Kimberly Heck 
wrote:

> On 2/12/21 7:43 PM, Joel Kulesza wrote:
>
>
>
> On Fri, Feb 12, 2021 at 8:24 AM David Pesetsky  wrote:
>
>> Pleased indeed, thank you!!!
>>
>> On Feb 12, 2021, at 10:14 AM, Jürgen Spitzmüller  wrote:
>>
>> Am Freitag, dem 12.02.2021 um 14:53 + schrieb David Pesetsky:
>>
>> If you click on the document window, the "find next" key (⌘-G ) will
>> do its job and get you to the next occurrence of the search string.
>>  Without that, however, if focus remains in the Find window, nothing
>> happens at all. That is what is non-intuitive.  In most other apps,
>> You can search for what you want with ⌘-F, and then simply pressing
>> ⌘-G gets you the next occurrence, with no other steps necessary.
>>
>>
>> You might be pleased to hear that your message inspired me to go ahead
>> and fix that for 2.4.0 this morning.
>>
>> Jürgen
>>
>> Seconding David's remarks.  I'm pleased indeed and just tested with
> master at 400cb1b.  I look forward to a rebinding of F3 -> Cmd-G, but until
> then, this is still a welcome step forward.
>
> It should already be like that on OSX, if you are using mac.bind.
>
Sorry, I thought I saw separate traffic that this was yet to come.  I've
never actually switched that on any OS I've used LyX on.  But, yes, Cmd-G
with mac.bind works as expected.

Thanks,
Joel
-- 
lyx-users mailing list
lyx-users@lists.lyx.org
http://lists.lyx.org/mailman/listinfo/lyx-users


Re: find next?

2021-02-13 Thread Daniel

On 2021-02-13 17:50, Jürgen Spitzmüller wrote:

Am Samstag, dem 13.02.2021 um 17:43 +0100 schrieb Daniel:

Seems not to work here either.


What does the statusbar show if you hit ⌘-G? Also, can you check for
"action" dbg messages?

Jürgen


No status bar message. When I select "action" in the progress dock 
settings, I get


frontends/qt4/GuiApplication.cpp (1603): cmd:  action: 169 
[word-find-forward]  arg: '' x: 0 y: 0
BufferView.cpp (1261): BufferView::dispatch: cmd:  action: 169 
[word-find-forward]  arg: '' x: 0 y: 0

frontends/qt4/GuiApplication.cpp (1384): dispatch msg is

Daniel


--
lyx-users mailing list
lyx-users@lists.lyx.org
http://lists.lyx.org/mailman/listinfo/lyx-users


Re: find next?

2021-02-13 Thread Jürgen Spitzmüller
Am Samstag, dem 13.02.2021 um 17:43 +0100 schrieb Daniel:
> Seems not to work here either.

What does the statusbar show if you hit ⌘-G? Also, can you check for
"action" dbg messages?

Jürgen



signature.asc
Description: This is a digitally signed message part
-- 
lyx-users mailing list
lyx-users@lists.lyx.org
http://lists.lyx.org/mailman/listinfo/lyx-users


Re: find next?

2021-02-13 Thread Daniel

On 2021-02-13 17:07, Jürgen Spitzmüller wrote:

Am Samstag, dem 13.02.2021 um 18:03 +0200 schrieb Dr Eberhard W Lisse:

Makes no difference here.


Just to be sure, did you really try this?

1. Ctrl-F
2. Enter search string
3. Hit Enter to find first occurrence
4. Click into workarea OR close dialog
5. Hit ⌘-G to find next occurrences

Jürgen


Seems not to work here either.

Daniel

--
lyx-users mailing list
lyx-users@lists.lyx.org
http://lists.lyx.org/mailman/listinfo/lyx-users


Re: find next?

2021-02-13 Thread Jürgen Spitzmüller
Am Samstag, dem 13.02.2021 um 18:03 +0200 schrieb Dr Eberhard W Lisse:
> Makes no difference here.

Just to be sure, did you really try this?

1. Ctrl-F
2. Enter search string
3. Hit Enter to find first occurrence
4. Click into workarea OR close dialog
5. Hit ⌘-G to find next occurrences

Jürgen



signature.asc
Description: This is a digitally signed message part
-- 
lyx-users mailing list
lyx-users@lists.lyx.org
http://lists.lyx.org/mailman/listinfo/lyx-users


Re: find next?

2021-02-13 Thread Dr Eberhard W Lisse
Makes no difference here.

Mac 11.2.1 and LyX 2.3.6.2 with mac.bind having

\bind "C-g" "word-find-forward"

The Preferences -> shortcut shows same bound to ⌘-G and my user.bind
shows nothing.

F3 and Shift-F3 (on my MacBook with Strip) shows 'Unknown Function' but
no name of that unknow function.

Where else can I look?


On 2021-02-12 10:10 , Jürgen Spitzmüller wrote:
> Am Freitag, dem 12.02.2021 um 08:35 +0200 schrieb Dr Eberhard W Lisse:
>> I can also confirm that CMD-G is bound to word-find-forward in
>> 2.3.6.2  and (that non working of if) has been irritating me on
>> all of my Macs for at least 5 but maybe even 10 years.
>>
>> Does one of the (Core-) Developers have a Mac?
> 
> https://www.lyx.org/trac/ticket/11170
> 
> Here, F3 does work, but only if I gave the workarea focus, which is not
> so apparent if you use the dialog. The working procedure is:
> 
> 1. Ctrl-F
> 2. Enter search string
> 3. Hit Enter to fin first occurrence
> 4. Click into workarea OR close dialog
> 5. Hit F3 to find next occurrences
> 
> I suspect 4. is the crucial missing step.
> 
> I'll check if we can do something to avoid this unintuive extra step.
> 
> Jürgen
> 
> 


-- 
lyx-users mailing list
lyx-users@lists.lyx.org
http://lists.lyx.org/mailman/listinfo/lyx-users


Re: find next?

2021-02-13 Thread Richard Kimberly Heck
On 2/12/21 7:43 PM, Joel Kulesza wrote:
>
>
> On Fri, Feb 12, 2021 at 8:24 AM David Pesetsky  > wrote:
>
> Pleased indeed, thank you!!!
>
>> On Feb 12, 2021, at 10:14 AM, Jürgen Spitzmüller > > wrote:
>>
>> Am Freitag, dem 12.02.2021 um 14:53 + schrieb David Pesetsky:
>>> If you click on the document window, the "find next" key (⌘-G ) will
>>> do its job and get you to the next occurrence of the search string.
>>>  Without that, however, if focus remains in the Find window, nothing
>>> happens at all. That is what is non-intuitive.  In most other apps,
>>> You can search for what you want with ⌘-F, and then simply pressing
>>> ⌘-G gets you the next occurrence, with no other steps necessary.
>>
>> You might be pleased to hear that your message inspired me to go
>> ahead
>> and fix that for 2.4.0 this morning.
>>
>> Jürgen
>
> Seconding David's remarks.  I'm pleased indeed and just tested with
> master at 400cb1b.  I look forward to a rebinding of F3 -> Cmd-G, but
> until then, this is still a welcome step forward.

It should already be like that on OSX, if you are using mac.bind.

Riki


-- 
lyx-users mailing list
lyx-users@lists.lyx.org
http://lists.lyx.org/mailman/listinfo/lyx-users


Re: find next?

2021-02-12 Thread Joel Kulesza
On Fri, Feb 12, 2021 at 8:24 AM David Pesetsky  wrote:

> Pleased indeed, thank you!!!
>
> On Feb 12, 2021, at 10:14 AM, Jürgen Spitzmüller  wrote:
>
> Am Freitag, dem 12.02.2021 um 14:53 + schrieb David Pesetsky:
>
> If you click on the document window, the "find next" key (⌘-G ) will
> do its job and get you to the next occurrence of the search string.
>  Without that, however, if focus remains in the Find window, nothing
> happens at all. That is what is non-intuitive.  In most other apps,
> You can search for what you want with ⌘-F, and then simply pressing
> ⌘-G gets you the next occurrence, with no other steps necessary.
>
>
> You might be pleased to hear that your message inspired me to go ahead
> and fix that for 2.4.0 this morning.
>
> Jürgen
>
> Seconding David's remarks.  I'm pleased indeed and just tested with master
at 400cb1b.  I look forward to a rebinding of F3 -> Cmd-G, but until then,
this is still a welcome step forward.

Thank you,
Joel
-- 
lyx-users mailing list
lyx-users@lists.lyx.org
http://lists.lyx.org/mailman/listinfo/lyx-users


Re: find next?

2021-02-12 Thread David Pesetsky
Pleased indeed, thank you!!!

On Feb 12, 2021, at 10:14 AM, Jürgen Spitzmüller 
mailto:sp...@lyx.org>> wrote:

Am Freitag, dem 12.02.2021 um 14:53 + schrieb David Pesetsky:
If you click on the document window, the "find next" key (⌘-G ) will
do its job and get you to the next occurrence of the search string.
 Without that, however, if focus remains in the Find window, nothing
happens at all. That is what is non-intuitive.  In most other apps,
You can search for what you want with ⌘-F, and then simply pressing
⌘-G gets you the next occurrence, with no other steps necessary.

You might be pleased to hear that your message inspired me to go ahead
and fix that for 2.4.0 this morning.

Jürgen


-- 
lyx-users mailing list
lyx-users@lists.lyx.org
http://lists.lyx.org/mailman/listinfo/lyx-users


Re: find next?

2021-02-12 Thread Jürgen Spitzmüller
Am Freitag, dem 12.02.2021 um 14:53 + schrieb David Pesetsky:
> If you click on the document window, the "find next" key (⌘-G ) will
> do its job and get you to the next occurrence of the search string.
>  Without that, however, if focus remains in the Find window, nothing
> happens at all. That is what is non-intuitive.  In most other apps,
> You can search for what you want with ⌘-F, and then simply pressing
> ⌘-G gets you the next occurrence, with no other steps necessary.

You might be pleased to hear that your message inspired me to go ahead
and fix that for 2.4.0 this morning.

Jürgen



signature.asc
Description: This is a digitally signed message part
-- 
lyx-users mailing list
lyx-users@lists.lyx.org
http://lists.lyx.org/mailman/listinfo/lyx-users


Re: find next?

2021-02-12 Thread David Pesetsky
I really appreciate all the replies.  Jürgen's message is exactly what I 
discovered with more tinkering.

If you click on the document window, the "find next" key (⌘-G ) will do its job 
and get you to the next occurrence of the search string.  Without that, 
however, if focus remains in the Find window, nothing happens at all. That is 
what is non-intuitive.  In most other apps, You can search for what you want 
with ⌘-F, and then simply pressing ⌘-G gets you the next occurrence, with no 
other steps necessary.

-David


https://www.lyx.org/trac/ticket/11170

Here, F3 does work, but only if I gave the workarea focus, which is not
so apparent if you use the dialog. The working procedure is:

1. Ctrl-F
2. Enter search string
3. Hit Enter to fin first occurrence
4. Click into workarea OR close dialog
5. Hit F3 to find next occurrences

I suspect 4. is the crucial missing step.

I'll check if we can do something to avoid this unintuive extra step.

Jürgen

--
David Pesetsky [pese...@mit.edu]
Department of Linguistics and Philosophy
32-D862 Massachusetts Institute of Technology
77 Massachusetts Avenue
Cambridge, MA 02139 USA
(617) 253-0957 office   (617) 253-5017 fax
http://web.mit.edu/linguistics/www/pesetsky.home.html

-- 
lyx-users mailing list
lyx-users@lists.lyx.org
http://lists.lyx.org/mailman/listinfo/lyx-users


Re: find next?

2021-02-12 Thread list_email

> On Feb 11, 2021, at 5:28 PM, David Pesetsky  wrote:
> 
> My Macintosh-educated fingers are used to ⌘-G for "find next" (used after 
> using ⌘-F for "find").  Does Lyx have a "find next" function so I can 
> duplicate this? 
> 
> I may be missing something in plain view, in which case, my apologies for 
> wasting everyone's time — but I'm not finding it.
> 
> -David

This has been a problem for many years. There is a long-standing ticket by me 
to bring search into Mac-compliance. For Mac fingers the LyX situation is 
extremely awkward. Here’s the Mac process:

**First Way**
open find dialog with Command-F
type or paste search string
close file dialog or bring focus to main window
hit Command-G to search forward or Shift-Command-G to search backward.

**Second Way**
open find dialog with Command-F
type or paste search string
Hit Next or Previous button
[LyX does not have Next and Previous but rather forces you to do additional 
clicking in the dialog to change direction.]

**Third Way**
[This is the “modern” way in many apps which does not raise a separate dialog 
box but rather opens a very small non-overlapping pane in the document window.]
open find dialog with Command-F
type or paste search string
hit Command-G to search forward or Shift-Command-G to search backward.

**Fourth Way**
[This does not require you to even open a dialog box if the search string can 
be highlighted in the main window.]
select search string in main window
hit Command-E. This enters the selected text into the search buffer.
hit Command-G to search forward or Shift-Command-G to search backward.

Fourth Way is probably the most common. Notice that you don’t even open a 
search window.


There are other problems in LyX searching.

1. The Find dialog box does not remember its location between uses. I’m sure 
this is a regression going back a number of years.

2. The “found” result can be _hidden_behind_ the Find dialog. Lots of luck 
finding it.

3. LyX is unaware of the system clipboard. In normal Mac apps, you can hit 
Command-E in one app, then switch to another app and the search string is ready 
to be used for finding in the second app without further user effort. This 
includes immediate use of Command-G and Shift-Command-G.

Jerry

-- 
lyx-users mailing list
lyx-users@lists.lyx.org
http://lists.lyx.org/mailman/listinfo/lyx-users


Re: find next?

2021-02-12 Thread Jürgen Spitzmüller
Am Freitag, dem 12.02.2021 um 08:35 +0200 schrieb Dr Eberhard W Lisse:
> I can also confirm that CMD-G is bound to word-find-forward in
> 2.3.6.2  and (that non working of if) has been irritating me on
> all of my Macs for at least 5 but maybe even 10 years.
> 
> Does one of the (Core-) Developers have a Mac?

https://www.lyx.org/trac/ticket/11170

Here, F3 does work, but only if I gave the workarea focus, which is not
so apparent if you use the dialog. The working procedure is:

1. Ctrl-F
2. Enter search string
3. Hit Enter to fin first occurrence
4. Click into workarea OR close dialog
5. Hit F3 to find next occurrences

I suspect 4. is the crucial missing step.

I'll check if we can do something to avoid this unintuive extra step.

Jürgen



signature.asc
Description: This is a digitally signed message part
-- 
lyx-users mailing list
lyx-users@lists.lyx.org
http://lists.lyx.org/mailman/listinfo/lyx-users


Re: find next?

2021-02-11 Thread Dr Eberhard W Lisse
I can also confirm that CMD-G is bound to word-find-forward in
2.3.6.2  and (that non working of if) has been irritating me on
all of my Macs for at least 5 but maybe even 10 years.

Does one of the (Core-) Developers have a Mac?

el


On 2021-02-12 04:39 , Richard Kimberly Heck wrote:
> On 2/11/21 9:38 PM, Richard Kimberly Heck wrote:
>> On 2/11/21 8:21 PM, Paul A. Rubin wrote:
[...]

>> In mac.bind, we have:
>>
>> #  +: "Command-G"    # Find the next occurrence of the
>> selection
>> \bind "C-g"  "word-find-forward"
>>
>> So that should work as you expect, David. I take it that it does not work?
>>
>> If you open Tools> Preferences> Editing> Shortcuts and type "word-find"
>> in the "show key-bindings containing" field, what do you get?
> 
> PS On non-Mac systems, F3 is meant to do this.
> 
> Riki
> 
> 


-- 
lyx-users mailing list
lyx-users@lists.lyx.org
http://lists.lyx.org/mailman/listinfo/lyx-users


Re: find next?

2021-02-11 Thread Richard Kimberly Heck
On 2/11/21 9:38 PM, Richard Kimberly Heck wrote:
> On 2/11/21 8:21 PM, Paul A. Rubin wrote:
>> On 2/11/21 7:28 PM, David Pesetsky wrote:
>>> My Macintosh-educated fingers are used to ⌘-G for "find next" (used
>>> after using ⌘-F for "find").  Does Lyx have a "find next" function so
>>> I can duplicate this?
>>>
>>> I may be missing something in plain view, in which case, my apologies
>>> for wasting everyone's time — but I'm not finding it.
>>>
>>> -David
>> Cmd-F opens a dialog that stays open while you are searching. With
>> open, alt+N will do "find next" (as will clicking the Find Next button
>> in the dialog.
>>
>> If you want to repeat your last find operation after the dialog has
>> been closed, there is an LFUN that will do it: word-find. It takes an
>> argument (the search target), but if you omit the argument it repeats
>> the last find. Assuming cmd-G is not bound to anything useful in your
>> setup, you could bind it to word-find.
> In mac.bind, we have:
>
> #  +: "Command-G"    # Find the next occurrence of the
> selection
> \bind "C-g"  "word-find-forward"
>
> So that should work as you expect, David. I take it that it does not work?
>
> If you open Tools> Preferences> Editing> Shortcuts and type "word-find"
> in the "show key-bindings containing" field, what do you get?

PS On non-Mac systems, F3 is meant to do this.

Riki


-- 
lyx-users mailing list
lyx-users@lists.lyx.org
http://lists.lyx.org/mailman/listinfo/lyx-users


Re: find next?

2021-02-11 Thread Richard Kimberly Heck
On 2/11/21 8:21 PM, Paul A. Rubin wrote:
> On 2/11/21 7:28 PM, David Pesetsky wrote:
>> My Macintosh-educated fingers are used to ⌘-G for "find next" (used
>> after using ⌘-F for "find").  Does Lyx have a "find next" function so
>> I can duplicate this?
>>
>> I may be missing something in plain view, in which case, my apologies
>> for wasting everyone's time — but I'm not finding it.
>>
>> -David
> Cmd-F opens a dialog that stays open while you are searching. With
> open, alt+N will do "find next" (as will clicking the Find Next button
> in the dialog.
>
> If you want to repeat your last find operation after the dialog has
> been closed, there is an LFUN that will do it: word-find. It takes an
> argument (the search target), but if you omit the argument it repeats
> the last find. Assuming cmd-G is not bound to anything useful in your
> setup, you could bind it to word-find.

In mac.bind, we have:

#  +: "Command-G"    # Find the next occurrence of the
selection
\bind "C-g"  "word-find-forward"

So that should work as you expect, David. I take it that it does not work?

If you open Tools> Preferences> Editing> Shortcuts and type "word-find"
in the "show key-bindings containing" field, what do you get?

Riki


-- 
lyx-users mailing list
lyx-users@lists.lyx.org
http://lists.lyx.org/mailman/listinfo/lyx-users


Re: find next?

2021-02-11 Thread Paul A. Rubin

On 2/11/21 7:28 PM, David Pesetsky wrote:

My Macintosh-educated fingers are used to ⌘-G for "find next" (used after using ⌘-F for 
"find").  Does Lyx have a "find next" function so I can duplicate this?

I may be missing something in plain view, in which case, my apologies for 
wasting everyone's time — but I'm not finding it.

-David
Cmd-F opens a dialog that stays open while you are searching. With open, 
alt+N will do "find next" (as will clicking the Find Next button in the 
dialog.


If you want to repeat your last find operation after the dialog has been 
closed, there is an LFUN that will do it: word-find. It takes an 
argument (the search target), but if you omit the argument it repeats 
the last find. Assuming cmd-G is not bound to anything useful in your 
setup, you could bind it to word-find.


Paul

--
lyx-users mailing list
lyx-users@lists.lyx.org
http://lists.lyx.org/mailman/listinfo/lyx-users