Re: Another small Q: selecting test and text endings

2022-06-29 Thread tbp1...@gmail.com
Good! Let us know if there are any quirks ... maybe they can be worked 
out.  I've been happy so far myself.

On Wednesday, June 29, 2022 at 4:10:47 PM UTC-4 jkn wrote:

> Just tried it BTW - seems to be working fine, thanks!
>
>
> On Wednesday, June 29, 2022 at 3:13:12 PM UTC+1 tbp1...@gmail.com wrote:
>
>> And thanks for giving us the little nudge we needed to work on it : )
>>
>> On Wednesday, June 29, 2022 at 9:42:51 AM UTC-4 jkn wrote:
>>
>>> Thanks for the work on this little itch!
>>>
>>> Regard, Jon N
>>>
>>>
>>> On Wednesday, June 29, 2022 at 12:37:28 PM UTC+1 tbp1...@gmail.com 
>>> wrote:
>>>
 The new PR has been merged into devel.

 On Wednesday, June 29, 2022 at 12:10:57 AM UTC-4 tbp1...@gmail.com 
 wrote:

> OK, a fix is proposed in PR 2700 
> .  It wasn't an 
> off-by-one.  It was a missing bit of logic.  I needed to restrict the 
> movement to the end of the last line to the case where the cursor was 
> already on the last line when the Down key is pressed.  I have also 
> tested 
> using a wrapped last line and it works correctly in this case, too.
>
> On Tuesday, June 28, 2022 at 11:41:19 PM UTC-4 tbp1...@gmail.com 
> wrote:
>
>> Hmm, this is not quite working as I want.  If you place the cursor in 
>> the left-hand column of a line above the last line, and Shift-Down to 
>> the 
>> last line, the cursor jumps to the end of the last line.  It should go 
>> to 
>> the start of the last line.  This seems different from what I thought I 
>> had 
>> worked out.  I'll look at fixing it - probably an off-by-one error or 
>> some 
>> such.
>>
>> On Tuesday, June 28, 2022 at 6:34:12 PM UTC-4 tbp1...@gmail.com 
>> wrote:
>>
>>> @Edward has merged the PR.
>>>
>>> On Tuesday, June 28, 2022 at 1:12:03 PM UTC-4 Edward K. Ream wrote:
>>>
 On Tue, Jun 28, 2022 at 11:33 AM Jacob MacDonald  
 wrote:

 In the tbp directory, you need to run `git checkout 
> tbp-leo-general` and then should see the new code.
>

 Thanks, Jacob.  That worked.

 Edward

>>>

-- 
You received this message because you are subscribed to the Google Groups 
"leo-editor" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to leo-editor+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/leo-editor/859a07ba-711d-4b48-8f80-929fd63449e5n%40googlegroups.com.


Re: Another small Q: selecting test and text endings

2022-06-29 Thread jkn
Just tried it BTW - seems to be working fine, thanks!


On Wednesday, June 29, 2022 at 3:13:12 PM UTC+1 tbp1...@gmail.com wrote:

> And thanks for giving us the little nudge we needed to work on it : )
>
> On Wednesday, June 29, 2022 at 9:42:51 AM UTC-4 jkn wrote:
>
>> Thanks for the work on this little itch!
>>
>> Regard, Jon N
>>
>>
>> On Wednesday, June 29, 2022 at 12:37:28 PM UTC+1 tbp1...@gmail.com wrote:
>>
>>> The new PR has been merged into devel.
>>>
>>> On Wednesday, June 29, 2022 at 12:10:57 AM UTC-4 tbp1...@gmail.com 
>>> wrote:
>>>
 OK, a fix is proposed in PR 2700 
 .  It wasn't an 
 off-by-one.  It was a missing bit of logic.  I needed to restrict the 
 movement to the end of the last line to the case where the cursor was 
 already on the last line when the Down key is pressed.  I have also tested 
 using a wrapped last line and it works correctly in this case, too.

 On Tuesday, June 28, 2022 at 11:41:19 PM UTC-4 tbp1...@gmail.com wrote:

> Hmm, this is not quite working as I want.  If you place the cursor in 
> the left-hand column of a line above the last line, and Shift-Down to the 
> last line, the cursor jumps to the end of the last line.  It should go to 
> the start of the last line.  This seems different from what I thought I 
> had 
> worked out.  I'll look at fixing it - probably an off-by-one error or 
> some 
> such.
>
> On Tuesday, June 28, 2022 at 6:34:12 PM UTC-4 tbp1...@gmail.com wrote:
>
>> @Edward has merged the PR.
>>
>> On Tuesday, June 28, 2022 at 1:12:03 PM UTC-4 Edward K. Ream wrote:
>>
>>> On Tue, Jun 28, 2022 at 11:33 AM Jacob MacDonald  
>>> wrote:
>>>
>>> In the tbp directory, you need to run `git checkout 
 tbp-leo-general` and then should see the new code.

>>>
>>> Thanks, Jacob.  That worked.
>>>
>>> Edward
>>>
>>

-- 
You received this message because you are subscribed to the Google Groups 
"leo-editor" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to leo-editor+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/leo-editor/29b07708-6817-4873-a687-74d98d2261e9n%40googlegroups.com.


Re: Another small Q: selecting test and text endings

2022-06-29 Thread tbp1...@gmail.com
And thanks for giving us the little nudge we needed to work on it : )

On Wednesday, June 29, 2022 at 9:42:51 AM UTC-4 jkn wrote:

> Thanks for the work on this little itch!
>
> Regard, Jon N
>
>
> On Wednesday, June 29, 2022 at 12:37:28 PM UTC+1 tbp1...@gmail.com wrote:
>
>> The new PR has been merged into devel.
>>
>> On Wednesday, June 29, 2022 at 12:10:57 AM UTC-4 tbp1...@gmail.com wrote:
>>
>>> OK, a fix is proposed in PR 2700 
>>> .  It wasn't an 
>>> off-by-one.  It was a missing bit of logic.  I needed to restrict the 
>>> movement to the end of the last line to the case where the cursor was 
>>> already on the last line when the Down key is pressed.  I have also tested 
>>> using a wrapped last line and it works correctly in this case, too.
>>>
>>> On Tuesday, June 28, 2022 at 11:41:19 PM UTC-4 tbp1...@gmail.com wrote:
>>>
 Hmm, this is not quite working as I want.  If you place the cursor in 
 the left-hand column of a line above the last line, and Shift-Down to the 
 last line, the cursor jumps to the end of the last line.  It should go to 
 the start of the last line.  This seems different from what I thought I 
 had 
 worked out.  I'll look at fixing it - probably an off-by-one error or some 
 such.

 On Tuesday, June 28, 2022 at 6:34:12 PM UTC-4 tbp1...@gmail.com wrote:

> @Edward has merged the PR.
>
> On Tuesday, June 28, 2022 at 1:12:03 PM UTC-4 Edward K. Ream wrote:
>
>> On Tue, Jun 28, 2022 at 11:33 AM Jacob MacDonald  
>> wrote:
>>
>> In the tbp directory, you need to run `git checkout tbp-leo-general` 
>>> and then should see the new code.
>>>
>>
>> Thanks, Jacob.  That worked.
>>
>> Edward
>>
>

-- 
You received this message because you are subscribed to the Google Groups 
"leo-editor" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to leo-editor+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/leo-editor/86b8cbbd-bd8e-4cdb-9138-2c2ee8728d93n%40googlegroups.com.


Re: Another small Q: selecting test and text endings

2022-06-29 Thread jkn
Thanks for the work on this little itch!

Regard, Jon N


On Wednesday, June 29, 2022 at 12:37:28 PM UTC+1 tbp1...@gmail.com wrote:

> The new PR has been merged into devel.
>
> On Wednesday, June 29, 2022 at 12:10:57 AM UTC-4 tbp1...@gmail.com wrote:
>
>> OK, a fix is proposed in PR 2700 
>> .  It wasn't an 
>> off-by-one.  It was a missing bit of logic.  I needed to restrict the 
>> movement to the end of the last line to the case where the cursor was 
>> already on the last line when the Down key is pressed.  I have also tested 
>> using a wrapped last line and it works correctly in this case, too.
>>
>> On Tuesday, June 28, 2022 at 11:41:19 PM UTC-4 tbp1...@gmail.com wrote:
>>
>>> Hmm, this is not quite working as I want.  If you place the cursor in 
>>> the left-hand column of a line above the last line, and Shift-Down to the 
>>> last line, the cursor jumps to the end of the last line.  It should go to 
>>> the start of the last line.  This seems different from what I thought I had 
>>> worked out.  I'll look at fixing it - probably an off-by-one error or some 
>>> such.
>>>
>>> On Tuesday, June 28, 2022 at 6:34:12 PM UTC-4 tbp1...@gmail.com wrote:
>>>
 @Edward has merged the PR.

 On Tuesday, June 28, 2022 at 1:12:03 PM UTC-4 Edward K. Ream wrote:

> On Tue, Jun 28, 2022 at 11:33 AM Jacob MacDonald  
> wrote:
>
> In the tbp directory, you need to run `git checkout tbp-leo-general` 
>> and then should see the new code.
>>
>
> Thanks, Jacob.  That worked.
>
> Edward
>


-- 
You received this message because you are subscribed to the Google Groups 
"leo-editor" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to leo-editor+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/leo-editor/81da99bb-f6a0-4b89-919e-35358a3a5b36n%40googlegroups.com.


Re: Another small Q: selecting test and text endings

2022-06-29 Thread tbp1...@gmail.com
The new PR has been merged into devel.

On Wednesday, June 29, 2022 at 12:10:57 AM UTC-4 tbp1...@gmail.com wrote:

> OK, a fix is proposed in PR 2700 
> .  It wasn't an 
> off-by-one.  It was a missing bit of logic.  I needed to restrict the 
> movement to the end of the last line to the case where the cursor was 
> already on the last line when the Down key is pressed.  I have also tested 
> using a wrapped last line and it works correctly in this case, too.
>
> On Tuesday, June 28, 2022 at 11:41:19 PM UTC-4 tbp1...@gmail.com wrote:
>
>> Hmm, this is not quite working as I want.  If you place the cursor in the 
>> left-hand column of a line above the last line, and Shift-Down to the last 
>> line, the cursor jumps to the end of the last line.  It should go to the 
>> start of the last line.  This seems different from what I thought I had 
>> worked out.  I'll look at fixing it - probably an off-by-one error or some 
>> such.
>>
>> On Tuesday, June 28, 2022 at 6:34:12 PM UTC-4 tbp1...@gmail.com wrote:
>>
>>> @Edward has merged the PR.
>>>
>>> On Tuesday, June 28, 2022 at 1:12:03 PM UTC-4 Edward K. Ream wrote:
>>>
 On Tue, Jun 28, 2022 at 11:33 AM Jacob MacDonald  
 wrote:

 In the tbp directory, you need to run `git checkout tbp-leo-general` 
> and then should see the new code.
>

 Thanks, Jacob.  That worked.

 Edward

>>>

-- 
You received this message because you are subscribed to the Google Groups 
"leo-editor" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to leo-editor+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/leo-editor/7a7b2335-8916-404f-963a-81922eb4fce9n%40googlegroups.com.


Re: Another small Q: selecting test and text endings

2022-06-28 Thread tbp1...@gmail.com
OK, a fix is proposed in PR 2700 
.  It wasn't an 
off-by-one.  It was a missing bit of logic.  I needed to restrict the 
movement to the end of the last line to the case where the cursor was 
already on the last line when the Down key is pressed.  I have also tested 
using a wrapped last line and it works correctly in this case, too.

On Tuesday, June 28, 2022 at 11:41:19 PM UTC-4 tbp1...@gmail.com wrote:

> Hmm, this is not quite working as I want.  If you place the cursor in the 
> left-hand column of a line above the last line, and Shift-Down to the last 
> line, the cursor jumps to the end of the last line.  It should go to the 
> start of the last line.  This seems different from what I thought I had 
> worked out.  I'll look at fixing it - probably an off-by-one error or some 
> such.
>
> On Tuesday, June 28, 2022 at 6:34:12 PM UTC-4 tbp1...@gmail.com wrote:
>
>> @Edward has merged the PR.
>>
>> On Tuesday, June 28, 2022 at 1:12:03 PM UTC-4 Edward K. Ream wrote:
>>
>>> On Tue, Jun 28, 2022 at 11:33 AM Jacob MacDonald  
>>> wrote:
>>>
>>> In the tbp directory, you need to run `git checkout tbp-leo-general` 
 and then should see the new code.

>>>
>>> Thanks, Jacob.  That worked.
>>>
>>> Edward
>>>
>>

-- 
You received this message because you are subscribed to the Google Groups 
"leo-editor" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to leo-editor+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/leo-editor/a0ec00db-9c3e-4f95-9162-fa5792438dbcn%40googlegroups.com.


Re: Another small Q: selecting test and text endings

2022-06-28 Thread tbp1...@gmail.com
Hmm, this is not quite working as I want.  If you place the cursor in the 
left-hand column of a line above the last line, and Shift-Down to the last 
line, the cursor jumps to the end of the last line.  It should go to the 
start of the last line.  This seems different from what I thought I had 
worked out.  I'll look at fixing it - probably an off-by-one error or some 
such.

On Tuesday, June 28, 2022 at 6:34:12 PM UTC-4 tbp1...@gmail.com wrote:

> @Edward has merged the PR.
>
> On Tuesday, June 28, 2022 at 1:12:03 PM UTC-4 Edward K. Ream wrote:
>
>> On Tue, Jun 28, 2022 at 11:33 AM Jacob MacDonald  
>> wrote:
>>
>> In the tbp directory, you need to run `git checkout tbp-leo-general` and 
>>> then should see the new code.
>>>
>>
>> Thanks, Jacob.  That worked.
>>
>> Edward
>>
>

-- 
You received this message because you are subscribed to the Google Groups 
"leo-editor" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to leo-editor+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/leo-editor/5383868a-082f-4d24-aeca-d9aea192e687n%40googlegroups.com.


Re: Another small Q: selecting test and text endings

2022-06-28 Thread tbp1...@gmail.com
@Edward has merged the PR.

On Tuesday, June 28, 2022 at 1:12:03 PM UTC-4 Edward K. Ream wrote:

> On Tue, Jun 28, 2022 at 11:33 AM Jacob MacDonald  
> wrote:
>
> In the tbp directory, you need to run `git checkout tbp-leo-general` and 
>> then should see the new code.
>>
>
> Thanks, Jacob.  That worked.
>
> Edward
>

-- 
You received this message because you are subscribed to the Google Groups 
"leo-editor" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to leo-editor+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/leo-editor/b9b812e4-f25d-4051-80ed-ff16e03be1d0n%40googlegroups.com.


Re: Another small Q: selecting test and text endings

2022-06-28 Thread Edward K. Ream
On Tue, Jun 28, 2022 at 11:33 AM Jacob MacDonald 
wrote:

In the tbp directory, you need to run `git checkout tbp-leo-general` and
> then should see the new code.
>

Thanks, Jacob.  That worked.

Edward

-- 
You received this message because you are subscribed to the Google Groups 
"leo-editor" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to leo-editor+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/leo-editor/CAMF8tS2Ju-CTE7OKpdvYpt2eAbKhKwVV4QYxEz1rbtFKnFuRqg%40mail.gmail.com.


Re: Another small Q: selecting test and text endings

2022-06-28 Thread Jacob MacDonald
Edward K. Ream wrote:
>> - In that page, I copied the "Code" link, whose contents is:
>>  https://github.com/tbpassin/leo-editor.git
> Something strange is happening. I'll continue to investigate.

The instructions GitHub gives you to clone don't change based on which
branch you're viewing. In the tbp directory, you need to run `git
checkout tbp-leo-general` and then should see the new code.

Jacob.

-- 
You received this message because you are subscribed to the Google Groups 
"leo-editor" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to leo-editor+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/leo-editor/CACy6W0CRx6T02y_MaWnSdxkt1DmaQyQQTi8Xmhcpc7J7W3qgxg%40mail.gmail.com.


Re: Another small Q: selecting test and text endings

2022-06-28 Thread Edward K. Ream
On Tue, Jun 28, 2022 at 7:43 AM tbp1...@gmail.com 
wrote:

> After I pushed my change to Github, Github recognized that I had made a
> commit and offered to create a PR, which I accepted.  So at that time
> Github knew there had been a commit.  I also see that the changes are in my
> Github leo-editor repo, starting at line 1796 in qt_text.py.


Thanks for these comments. Something strange is happening. I'll continue to
investigate.

Edward

-- 
You received this message because you are subscribed to the Google Groups 
"leo-editor" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to leo-editor+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/leo-editor/CAMF8tS3BzX%2BW3TD7Q%2BFxp_88MSTCX9Mmh4f8qs-juTJdtwQS3Q%40mail.gmail.com.


Re: Another small Q: selecting test and text endings

2022-06-28 Thread tbp1...@gmail.com
On Tuesday, June 28, 2022 at 2:11:43 AM UTC-4 Edward K. Ream wrote:

> On Monday, June 27, 2022 at 1:42:26 PM UTC-5 tbp1...@gmail.com wrote:
>
>> PR 2698  handles 
>> this (when merged).
>>
>
> I'm having trouble testing the code. Maybe I'm not using git correctly. 
> Here's what I did:
>
> - In the PR's main page, I clicked the link that says 
> tbpassin:tbp-leo-general.
>   That takes me to this page: 
> https://github.com/tbpassin/leo-editor/tree/tbp-leo-general
>
> - In that page, I copied the "Code" link, whose contents is:
>   https://github.com/tbpassin/leo-editor.git
>
> - In my Repos directory, I did `git clone 
> https://github.com/tbpassin/leo-editor.git tbp`
>

I navigated to that page.  When you press the "Code" button (as you did),  
you also get an option to download a zip file.  I downloaded it and yes, it 
does have my changes.

-- 
You received this message because you are subscribed to the Google Groups 
"leo-editor" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to leo-editor+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/leo-editor/c7355581-6ef7-4924-9193-385c859d54b3n%40googlegroups.com.


Re: Another small Q: selecting test and text endings

2022-06-28 Thread tbp1...@gmail.com
After I pushed my change to Github, Github recognized that I had made a 
commit and offered to create a PR, which I accepted.  So at that time 
Github knew there had been a commit.  I also see that the changes are in my 
Github leo-editor repo, starting at line 1796 in qt_text.py.

The branch is not devel but tbp-leo-general.

Otherwise, I can't help you with git mysteries.  I always get lost!

On Tuesday, June 28, 2022 at 2:11:43 AM UTC-4 Edward K. Ream wrote:

> On Monday, June 27, 2022 at 1:42:26 PM UTC-5 tbp1...@gmail.com wrote:
>
>> PR 2698  handles 
>> this (when merged).
>>
>
> I'm having trouble testing the code. Maybe I'm not using git correctly. 
> Here's what I did:
>
> - In the PR's main page, I clicked the link that says 
> tbpassin:tbp-leo-general.
>   That takes me to this page: 
> https://github.com/tbpassin/leo-editor/tree/tbp-leo-general
>
> - In that page, I copied the "Code" link, whose contents is:
>   https://github.com/tbpassin/leo-editor.git
>
> - In my Repos directory, I did `git clone 
> https://github.com/tbpassin/leo-editor.git tbp`
>
> - cd tbp
>
> - I don't see the new code, and gitk doesn't show any commits.
>
> I wonder what I did wrong.
>
> Edward
>

-- 
You received this message because you are subscribed to the Google Groups 
"leo-editor" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to leo-editor+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/leo-editor/72dd2d12-4b56-4bae-8f56-efdd2905b4bcn%40googlegroups.com.


Re: Another small Q: selecting test and text endings

2022-06-27 Thread Edward K. Ream
On Monday, June 27, 2022 at 1:42:26 PM UTC-5 tbp1...@gmail.com wrote:

> PR 2698  handles this 
> (when merged).
>

I'm having trouble testing the code. Maybe I'm not using git correctly. 
Here's what I did:

- In the PR's main page, I clicked the link that says 
tbpassin:tbp-leo-general.
  That takes me to this page: 
https://github.com/tbpassin/leo-editor/tree/tbp-leo-general

- In that page, I copied the "Code" link, whose contents is:
  https://github.com/tbpassin/leo-editor.git

- In my Repos directory, I did `git clone 
https://github.com/tbpassin/leo-editor.git tbp`

- cd tbp

- I don't see the new code, and gitk doesn't show any commits.

I wonder what I did wrong.

Edward

-- 
You received this message because you are subscribed to the Google Groups 
"leo-editor" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to leo-editor+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/leo-editor/9e2a5fb9-fae8-4d0b-8198-1fe59c595a2dn%40googlegroups.com.


Re: Another small Q: selecting test and text endings

2022-06-27 Thread tbp1...@gmail.com


On Monday, June 27, 2022 at 4:00:10 PM UTC-4 jkn wrote:

> That is how I would explain the desired action, and thank you for working 
> on the PR (and Edward for raising it); I will try it shortly.
>
Wait until the PR is actually accepted and merged ... it's not yet ... 

-- 
You received this message because you are subscribed to the Google Groups 
"leo-editor" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to leo-editor+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/leo-editor/a3610b02-ea6a-4e6e-81d7-efccea69276an%40googlegroups.com.


Re: Another small Q: selecting test and text endings

2022-06-27 Thread tbp1...@gmail.com
I think the new way it works agrees with the principle of minimum 
surprise.  At least, I was always surprised when Shift-Down *didn't* select 
the last line.  And with this change, a down arrow without a Shift puts the 
cursor at the end of the last line, which is also what I seem to expect.

I suppose an alternative would have been to have Shift-Down insert a new 
line at the bottom and select to there, but I didn't favor that because an 
unrequested insert can be a surprise - and when the selected line gets 
deleted, which has to be the most common use case, should the newly 
inserted line be deleted too?  Hmm

I'd rather not make it configurable unless someone complains.  Why 
complicate the code when chances are everyone will like the new way, if 
they even notice?
On Monday, June 27, 2022 at 4:00:10 PM UTC-4 jkn wrote:

> That is how I would explain the desired action, and thank you for working 
> on the PR (and Edward for raising it); I will try it shortly.
>
> I would suggest that it is made a configurable option; as I mention I am 
> sure I have seen something like this as a configurable option
> in A.N.Other editor. I am trying to remember which. It may be that the new 
> action is annoying to some.
>
> It was probably connected with the idea of 'virtual space; whether you can 
> navigate with the cursor beyond the end of text
> in a node. Leo doesn't let you do this. Some editors do; then if you start 
> adding characters, they fill the space between
> the previous end of text in that node, and your current cursor position, 
> with a combination of EOLs and spaces.
>
> I see that Notepad++ has an 'enable scrolling beyond last line' option, 
> which is probably similar. Note that
> (I'm not requesting this feature for Leo...
>
> Thanks, J^n
>
>
> On Monday, June 27, 2022 at 4:02:25 PM UTC+1 tbp1...@gmail.com wrote:
>
>> I understand that the desired action is this:
>>
>>If the cursor is on the last line of the body and SHIFT-DOWN is 
>> pressed, then the selection will be extended to include the entire last 
>> line.
>>The cursor will also move to the end of the last line.
>>
>> Is there anything else that should happen, or any other user action that 
>> should be included?
>>
>>
>>
>> On Monday, June 27, 2022 at 9:28:29 AM UTC-4 Edward K. Ream wrote:
>>
>>> On Monday, June 27, 2022 at 8:23:38 AM UTC-5 Edward K. Ream wrote:
>>>
>>> I agree this can be annoying. Do you want to attempt a fix?

>>>
>>> I have just created #2697 
>>>  for this issue.
>>>
>>> Edward
>>>
>>

-- 
You received this message because you are subscribed to the Google Groups 
"leo-editor" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to leo-editor+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/leo-editor/544c211f-bd51-4d1c-8049-7110a64ba615n%40googlegroups.com.


Re: Another small Q: selecting test and text endings

2022-06-27 Thread jkn
That is how I would explain the desired action, and thank you for working 
on the PR (and Edward for raising it); I will try it shortly.

I would suggest that it is made a configurable option; as I mention I am 
sure I have seen something like this as a configurable option
in A.N.Other editor. I am trying to remember which. It may be that the new 
action is annoying to some.

It was probably connected with the idea of 'virtual space; whether you can 
navigate with the cursor beyond the end of text
in a node. Leo doesn't let you do this. Some editors do; then if you start 
adding characters, they fill the space between
the previous end of text in that node, and your current cursor position, 
with a combination of EOLs and spaces.

I see that Notepad++ has an 'enable scrolling beyond last line' option, 
which is probably similar. Note that
(I'm not requesting this feature for Leo...

Thanks, J^n


On Monday, June 27, 2022 at 4:02:25 PM UTC+1 tbp1...@gmail.com wrote:

> I understand that the desired action is this:
>
>If the cursor is on the last line of the body and SHIFT-DOWN is 
> pressed, then the selection will be extended to include the entire last 
> line.
>The cursor will also move to the end of the last line.
>
> Is there anything else that should happen, or any other user action that 
> should be included?
>
>
>
> On Monday, June 27, 2022 at 9:28:29 AM UTC-4 Edward K. Ream wrote:
>
>> On Monday, June 27, 2022 at 8:23:38 AM UTC-5 Edward K. Ream wrote:
>>
>> I agree this can be annoying. Do you want to attempt a fix?
>>>
>>
>> I have just created #2697 
>>  for this issue.
>>
>> Edward
>>
>

-- 
You received this message because you are subscribed to the Google Groups 
"leo-editor" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to leo-editor+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/leo-editor/425f8b55-0b92-49ba-9b61-0828c837b4cdn%40googlegroups.com.


Re: Another small Q: selecting test and text endings

2022-06-27 Thread tbp1...@gmail.com
PR 2698  handles this 
(when merged).

On Monday, June 27, 2022 at 11:02:25 AM UTC-4 tbp1...@gmail.com wrote:

> I understand that the desired action is this:
>
>If the cursor is on the last line of the body and SHIFT-DOWN is 
> pressed, then the selection will be extended to include the entire last 
> line.
>The cursor will also move to the end of the last line.
>
> Is there anything else that should happen, or any other user action that 
> should be included?
>
>
>
> On Monday, June 27, 2022 at 9:28:29 AM UTC-4 Edward K. Ream wrote:
>
>> On Monday, June 27, 2022 at 8:23:38 AM UTC-5 Edward K. Ream wrote:
>>
>> I agree this can be annoying. Do you want to attempt a fix?
>>>
>>
>> I have just created #2697 
>>  for this issue.
>>
>> Edward
>>
>

-- 
You received this message because you are subscribed to the Google Groups 
"leo-editor" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to leo-editor+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/leo-editor/c54861ef-1dc4-41e4-bae4-d83f98bf1106n%40googlegroups.com.


Re: Another small Q: selecting test and text endings

2022-06-27 Thread tbp1...@gmail.com
I understand that the desired action is this:

   If the cursor is on the last line of the body and SHIFT-DOWN is pressed, 
then the selection will be extended to include the entire last line.
   The cursor will also move to the end of the last line.

Is there anything else that should happen, or any other user action that 
should be included?



On Monday, June 27, 2022 at 9:28:29 AM UTC-4 Edward K. Ream wrote:

> On Monday, June 27, 2022 at 8:23:38 AM UTC-5 Edward K. Ream wrote:
>
> I agree this can be annoying. Do you want to attempt a fix?
>>
>
> I have just created #2697 
>  for this issue.
>
> Edward
>

-- 
You received this message because you are subscribed to the Google Groups 
"leo-editor" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to leo-editor+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/leo-editor/c0c0368a-f39c-480e-9e0a-7cf88e145888n%40googlegroups.com.


Re: Another small Q: selecting test and text endings

2022-06-27 Thread Edward K. Ream
On Monday, June 27, 2022 at 8:23:38 AM UTC-5 Edward K. Ream wrote:

I agree this can be annoying. Do you want to attempt a fix?
>

I have just created #2697 
 for this issue.

Edward

-- 
You received this message because you are subscribed to the Google Groups 
"leo-editor" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to leo-editor+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/leo-editor/8b9bf7f8-0f7d-47e5-a075-f7abb4ae2967n%40googlegroups.com.


Re: Another small Q: selecting test and text endings

2022-06-27 Thread Edward K. Ream
On Mon, Jun 27, 2022 at 7:41 AM tbp1...@gmail.com 
wrote:

> I get annoyed by this too.  If you just want to move the line up, a line
> or block of lines can be moved with CNTL-Uparrow and CNTL-Downarrow.  These
> are a useful habit to acquire, even though it doesn't solve the case where
> you actually do want to select the last line.
>

I agree this can be annoying. Do you want to attempt a fix?

Edward

-- 
You received this message because you are subscribed to the Google Groups 
"leo-editor" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to leo-editor+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/leo-editor/CAMF8tS0x3Wzx%3D0BCjgZRKhqf1zZHOpkL0YmOmuy5Fncst2GyDQ%40mail.gmail.com.


Re: Another small Q: selecting test and text endings

2022-06-27 Thread tbp1...@gmail.com
I get annoyed by this too.  If you just want to move the line up, a line or 
block of lines can be moved with CNTL-Uparrow and CNTL-Downarrow.  These 
are a useful habit to acquire, even though it doesn't solve the case where 
you actually do want to select the last line.

On Monday, June 27, 2022 at 4:24:58 AM UTC-4 jkn wrote:

> (I am scratching a few small itches at the moment...)
>
> My particular use case is this. If I am on the last line of the body of a 
> node,
> and my cursor is at the beginning of that line, then I cannot select the 
> line by
> . I have to either:
>
> - use  instead (inconsistent)
> - add an EOL to the line and then retry.
>
> I had vaguely thought that there were some Leo settings relating to 
> selection and
> cursor movement around line endings, which might govern this.
> However I can't find them - perhaps I am thinking of a different editor.
>
> Am I missing something?
>
> Thanks, J^n
>
>
>
>

-- 
You received this message because you are subscribed to the Google Groups 
"leo-editor" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to leo-editor+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/leo-editor/3db1b112-c311-46c6-9071-4345645c5f3dn%40googlegroups.com.


Another small Q: selecting test and text endings

2022-06-27 Thread jkn
(I am scratching a few small itches at the moment...)

My particular use case is this. If I am on the last line of the body of a 
node,
and my cursor is at the beginning of that line, then I cannot select the 
line by
. I have to either:

- use  instead (inconsistent)
- add an EOL to the line and then retry.

I had vaguely thought that there were some Leo settings relating to 
selection and
cursor movement around line endings, which might govern this.
However I can't find them - perhaps I am thinking of a different editor.

Am I missing something?

Thanks, J^n



-- 
You received this message because you are subscribed to the Google Groups 
"leo-editor" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to leo-editor+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/leo-editor/74c5040f-aefe-4c85-9bda-b4dc947cd9can%40googlegroups.com.