[Cuis-dev] TextModelMorph focus and scroll

Juan Vuletich JuanVuletich at zoho.com
Wed Feb 23 06:13:43 PST 2022


On 2/22/2022 6:16 PM, Mariano Montone via Cuis-dev wrote:
>> Hi Mariano, Folks,
>>
>> This happens only if you chose 'click to focus'.
>
> Ah. I didn't realize I had that setting On ...
>>
>> There are 2 possible behaviors: click to focus, and then click again 
>> to set cursor position. This is the standard behavior at least on my 
>> mac. Attach 5076-requireFurtherClick does this.
>>
>> But the alternative, to give focus and set cursor position on a 
>> single click may be better. Attach 5076-sincleClick implements it.
>>
>> Which one do you prefer?
>
> The single click patch works as I would personally expect.
>
> Thanks for the quick patches.
>
> Cheers,
>
> Mariano

Pushed both to GitHub, for future reference, but single click as a later 
update, so it is the actual behavior.

Cheers,

-- 
Juan Vuletich
www.cuis-smalltalk.org
https://github.com/Cuis-Smalltalk/Cuis-Smalltalk-Dev
https://github.com/jvuletich
https://www.linkedin.com/in/juan-vuletich-75611b3
https://independent.academia.edu/JuanVuletich
https://www.researchgate.net/profile/Juan-Vuletich
https://patents.justia.com/inventor/juan-manuel-vuletich
@JuanVuletich



More information about the Cuis-dev mailing list