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><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><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<mailto:lyx-users@lists.lyx.org>
http://lists.lyx.org/mailman/listinfo/lyx-users

--
David Pesetsky [pese...@mit.edu<mailto: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<mailto: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  <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
>
> 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<mailto: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


find next?

2021-02-11 Thread David Pesetsky
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
-- 
lyx-users mailing list
lyx-users@lists.lyx.org
http://lists.lyx.org/mailman/listinfo/lyx-users


Re: spellchecker keybindings {Find next, Ignore & aDd} conflict with {File, Insert & Document}

2016-09-03 Thread Joe Philbrook

It would appear that on Sep 2, Scott Kostyshak did say:

> On Fri, Sep 02, 2016 at 09:52:13PM -0400, Joe Philbrook wrote:
> > 
> >  Ticket #10357 (new enhancement) 
> > 
> >  How did I do?
> 
> Looks good! I removed the keywords since we use a fixed set, which is
> described here:
> http://www.lyx.org/trac/wiki/TicketKeywords
> 
> I also categorized the bug as "dialogs".

 Thanks for making it more presentable...
 
> By the way, do you have any experience programming and could perhaps
> propose a patch if we decide what direction we want to go on this?

Not unless bash scripting counts.

> Thanks for making the ticket.

It was actually much easier to do than I expected.

-- 
Joe


Re: spellchecker keybindings {Find next, Ignore & aDd} conflict with {File, Insert & Document}

2016-09-02 Thread Scott Kostyshak
On Fri, Sep 02, 2016 at 09:52:13PM -0400, Joe Philbrook wrote:
> 
> It would appear that on Aug 31, Scott Kostyshak did say:
> 
> > On Wed, Aug 31, 2016 at 07:39:34PM -0400, Joe Philbrook wrote:
> > 
> > > Please tell me that I'm not looking at (3 x 3 = 9) nine trac tickets 
> > > here...
> > 
> > Good point. I don't have general advice on what topics should be
> > grouped. If they are topics that shoudl be addressed all at once and it
> > would be silly to address one and not the other, then I think such a
> > group of issues should be in one ticket. Just make your best guess.
> 
>  Ticket #10357 (new enhancement) 
> 
>  How did I do?

Looks good! I removed the keywords since we use a fixed set, which is
described here:
http://www.lyx.org/trac/wiki/TicketKeywords

I also categorized the bug as "dialogs".

By the way, do you have any experience programming and could perhaps
propose a patch if we decide what direction we want to go on this?

Thanks for making the ticket.

Scott


signature.asc
Description: PGP signature


Re: spellchecker keybindings {Find next, Ignore & aDd} conflict with {File, Insert & Document}

2016-09-02 Thread Joe Philbrook

It would appear that on Aug 31, Scott Kostyshak did say:

> On Wed, Aug 31, 2016 at 07:39:34PM -0400, Joe Philbrook wrote:
> 
> > Please tell me that I'm not looking at (3 x 3 = 9) nine trac tickets here...
> 
> Good point. I don't have general advice on what topics should be
> grouped. If they are topics that shoudl be addressed all at once and it
> would be silly to address one and not the other, then I think such a
> group of issues should be in one ticket. Just make your best guess.

 Ticket #10357 (new enhancement) 

 How did I do?

 -- 
 Joe


Re: spellchecker keybindings {Find next, Ignore & aDd} conflict with {File, Insert & Document}

2016-08-31 Thread Scott Kostyshak
On Wed, Aug 31, 2016 at 07:39:34PM -0400, Joe Philbrook wrote:

> Please tell me that I'm not looking at (3 x 3 = 9) nine trac tickets here...

Good point. I don't have general advice on what topics should be
grouped. If they are topics that shoudl be addressed all at once and it
would be silly to address one and not the other, then I think such a
group of issues should be in one ticket. Just make your best guess.

Scott


signature.asc
Description: PGP signature


Re: spellchecker keybindings {Find next, Ignore & aDd} conflict with {File, Insert & Document}

2016-08-31 Thread Joe Philbrook

It would appear that on Aug 31, Scott Kostyshak did say:

> Hi Joe,
> 
> On Tue, Aug 23, 2016 at 05:22:43PM -0400, Joe Philbrook wrote:
> > 
> > Hi, First let me say I'm addicted to LyX for composing almost anything I 
> > care about.
> > It helps keep me from fat fingering multiple spaces between words etc... 
> > And lets me set screen
> > font sizes I can see without my reading glasses even when the targeted 
> > output font sizes are
> > too small for my eyes WITH the glasses... The list goes on and on... Thanks!
> 
> Thanks for the kind feedback!
> 

Your most welcome.

==

> > When I use the spellchecker in LyX and the word I'm looking for is in the 
> > sUggestions list I'm
> > very happy cause there is no conflict for the {alt}+{u} shortcut that lets 
> > me use the cursor
> > keys to select it and {Enter} to apply the spelling correction.
> > 
> > But if I need to tell it to ignore an instance where a character in a story 
> > is being quoted as
> > saying something not in the dictionary lists {Think Homer Simpson saying 
> > "Doh"} That I may want
> > to Ignore. Or perhaps I wanted to use an unusual word such as hisself 
> > instead of himself
> > because it's "In character" for the character being quoted and wish to aDd 
> > it to my word list.
> > And while I never use it, the same problem exists for the "Find next" 
> > button.
> > So I was hoping there was a way to selectively change the keybindings on 
> > those buttons to
> > something that doesn't conflict with the menu bar bindings.

==

> If I understand correctly, there is no way to customize the buttons from
> user text files. But the changes you suggest seem useful more generally
> so perhaps we could incorporate them into LyX by default.
> 
> You could make a request for us to make changes at
> http://www.lyx.org/trac
> 
> If you have multiple suggestions, please make separate trac tickets
> (although feel free to reference each other).

OK, This would be worth the effort. Hopefully I can write such a request clearly
enough...

Though I'm not sure if you mean incorporate different "preset shortcuts" for 
these
buttons, or to incorporate a method for the user to select the shortcuts they 
prefer.
Those users who would find this most useful would be the ones who, for one 
reason or
another, avoid using the mouse. They, like me, would tend to collect a lot of
personal keyboard shortcuts. And it would be nice to know that I could keep the 
new ones
from conflicting with any of the "global" keybindings in my 
~/.config/openbox/rc.xml...

Though admittedly, in my case, if they consist of just {alt}+{almost any single 
key}
I wouldn't have such a conflict because most of my global shortcuts require at 
least
two modifier keys.

It also occurs to me that there might be a way to simply cause those 
spellchecker
button's keybindings to preempt the ones in the menu bar while the spellchecker 
is
active. Not being a programmer {aside from bash scripts} I wouldn't know which 
of
those three possible fixes is more practical to implement.

Nor am I certain that three different suggested solutions to the SAME problem 
would
require three separate trac tickets??

Also I'd like to think that it would be OK to put all three of the affected 
spellchecker
buttons on the same ticket??

Please tell me that I'm not looking at (3 x 3 = 9) nine trac tickets here...

-- 
   Joe Philbrook   (:-0%


Re: spellchecker keybindings {Find next, Ignore & aDd} conflict with {File, Insert & Document}

2016-08-31 Thread Scott Kostyshak
Hi Joe,

On Tue, Aug 23, 2016 at 05:22:43PM -0400, Joe Philbrook wrote:
> 
> Hi, First let me say I'm addicted to LyX for composing almost anything I care 
> about.
> It helps keep me from fat fingering multiple spaces between words etc... And 
> lets me set screen
> font sizes I can see without my reading glasses even when the targeted output 
> font sizes are
> too small for my eyes WITH the glasses... The list goes on and on... Thanks!

Thanks for the kind feedback!

> However my problem with the spellchecker dialog's keybindings have More to do 
> with my
> own dexterity issues that have always made using the mouse difficult at best. 
> And with carpel
> tunnel issues that often make mouse based methods painful. {Don't know why 
> I'm able to keyboard
> for hours before my hands go numb, but the mouse can do it in just a few 
> minutes. But the
> result is I'm addicted to keyboard shortcuts and keyboard accessible menu 
> based methods.
> 
> When I use the spellchecker in LyX and the word I'm looking for is in the 
> sUggestions list I'm
> very happy cause there is no conflict for the {alt}+{u} shortcut that lets me 
> use the cursor
> keys to select it and {Enter} to apply the spelling correction.
> 
> But if I need to tell it to ignore an instance where a character in a story 
> is being quoted as
> saying something not in the dictionary lists {Think Homer Simpson saying 
> "Doh"} That I may want
> to Ignore. Or perhaps I wanted to use an unusual word such as hisself instead 
> of himself
> because it's "In character" for the character being quoted and wish to aDd it 
> to my word list.
> And while I never use it, the same problem exists for the "Find next" button.
> 
> Lately my problems with mouse operation have been getting worse:
> 
> It can take me over a minute to maneuver the "dag nabbed" rodent pointing 
> device over the correct
> "durned" button... And the button keybindings indicated by the underscored 
> character on the
> button label (AKA: {alt}+{f}, {alt}+{i} and {alt}+{d}) instead activate the 
> File, Insert or
> Document menu choices... {sigh}
> 
> So I was hoping there was a way to selectively change the keybindings on 
> those buttons to
> something that doesn't conflict with the menu bar bindings.
> 
> I use the standard user interface with the cua bind file.
> 
> I've looked in Tools > Preferences > shortcuts and the only spellchecker 
> related shortcut I can
> find is the {F7} to start the spellchecking function {which I do NOT want to 
> change}
> 
> Even though more advanced methods {if any} of modifying LyX's keybindings are 
> beyond my
> understanding, I've looked for clues in Help > LyX Functions, Help > 
> Shortcuts without
> finding anything that looks like the add word or ignore word spellchecker 
> button functions to me.
> 
> I also did a less /usr/share/lyx/bind/cua.bind
> 
> But I didn't see anything that looked like it there either.

If I understand correctly, there is no way to customize the buttons from
user text files. But the changes you suggest seem useful more generally
so perhaps we could incorporate them into LyX by default.

You could make a request for us to make changes at
http://www.lyx.org/trac

If you have multiple suggestions, please make separate trac tickets
(although feel free to reference each other).

Scott


signature.asc
Description: PGP signature


spellchecker keybindings {Find next, Ignore & aDd} conflict with {File, Insert & Document}

2016-08-23 Thread Joe Philbrook

Hi, First let me say I'm addicted to LyX for composing almost anything I care 
about.
It helps keep me from fat fingering multiple spaces between words etc... And 
lets me set screen
font sizes I can see without my reading glasses even when the targeted output 
font sizes are
too small for my eyes WITH the glasses... The list goes on and on... Thanks!

However my problem with the spellchecker dialog's keybindings have More to do 
with my
own dexterity issues that have always made using the mouse difficult at best. 
And with carpel
tunnel issues that often make mouse based methods painful. {Don't know why I'm 
able to keyboard
for hours before my hands go numb, but the mouse can do it in just a few 
minutes. But the
result is I'm addicted to keyboard shortcuts and keyboard accessible menu based 
methods.

When I use the spellchecker in LyX and the word I'm looking for is in the 
sUggestions list I'm
very happy cause there is no conflict for the {alt}+{u} shortcut that lets me 
use the cursor
keys to select it and {Enter} to apply the spelling correction.

But if I need to tell it to ignore an instance where a character in a story is 
being quoted as
saying something not in the dictionary lists {Think Homer Simpson saying "Doh"} 
That I may want
to Ignore. Or perhaps I wanted to use an unusual word such as hisself instead 
of himself
because it's "In character" for the character being quoted and wish to aDd it 
to my word list.
And while I never use it, the same problem exists for the "Find next" button.

Lately my problems with mouse operation have been getting worse:

It can take me over a minute to maneuver the "dag nabbed" rodent pointing 
device over the correct
"durned" button... And the button keybindings indicated by the underscored 
character on the
button label (AKA: {alt}+{f}, {alt}+{i} and {alt}+{d}) instead activate the 
File, Insert or
Document menu choices... {sigh}

So I was hoping there was a way to selectively change the keybindings on those 
buttons to
something that doesn't conflict with the menu bar bindings.

I use the standard user interface with the cua bind file.

I've looked in Tools > Preferences > shortcuts and the only spellchecker 
related shortcut I can
find is the {F7} to start the spellchecking function {which I do NOT want to 
change}

Even though more advanced methods {if any} of modifying LyX's keybindings are 
beyond my
understanding, I've looked for clues in Help > LyX Functions, Help > Shortcuts 
without
finding anything that looks like the add word or ignore word spellchecker 
button functions to me.

I also did a less /usr/share/lyx/bind/cua.bind

But I didn't see anything that looked like it there either.

I probably should mention that I multi-boot three different Linux distros that 
share the
same data partition with whichever version of LyX is in their repos.  Only one 
of them
is bleeding edge enough to have lyx 2.2.x The other 2 have LyX 2.1.x. And since 
one of
the reasons I multi-boot is I've been known to to bork an installed Linux so 
bad that it can
take me weeks to get X running again and it's such a pain to remember to 
lyx2lyx the updated
*.lyx back to lyxformat 474 {while hoping I didn't accidentally use some new 
feature that
doesn't convert back cleanly} THEN until either Mageia or Opensuse add LyX 
2.2.x to their repos
I'll avoid using LyX in my rolling release antiX installation in favor of the 
LyX 2.1.x
installed to my Mageia Linux or my Opensuse Leap Linux installations.

Usually Opensuse Leap where it's currently LyX 2.1.5...

Is there a reliable way to "push" those buttons with the 
keyboard

I don't know if it matters but a LONG time ago I selected to run the 
spellchecker in the
{docked?} sidebar instead of free floating because I need to actually see the 
context to for
example notice if it's Homer saying "Doh" or an actual typo, and using the 
mouse to move the
floating spellchecker dialog out of the way is even more difficult than getting 
the {expletive
deleted} rodent to point at the button long enough for my hands to click on 
it...

Thanks

-- 
   Joe Philbrook   <jtw...@gmx.com>   (:-0%