On 10/18/18 3:54 AM, Daniel wrote:
> On 2018-10-17 18:30, Richard Kimberly Heck wrote:
>> On 10/17/18 12:02 PM, Daniel wrote:
>>> On 17/10/2018 17:11, Richard Kimberly Heck wrote:
>
> [...]
>
>>>> I've fixed all this in master. It'll go to 2.3.3, if all is well.
>>>>
>>>> Riki
>>>
>>> Thanks! I am looking forward to what filter you opted for.
>>
>> Just consecutive letters, anywhere in the string. Probably I should
>> update it a bit to allow the user to enter regular expressions that
>> won't be messed with. So then one could enter e.g. "^sec" to get quickly
>> to "section". The question is how exactly to do this. I was thinking to
>> do it vi-like, and have "/" activate "regex mode", as we might put it.
>> So you'd enter "/^sec" to get quickly to "section". But maybe that's
>> overthinking it, and we could just have some character mean: Only search
>> at the start of the string. So then maybe "/sec" works, or "^sec". Of
>> course, that would fail if someone made a layout whose name actually
>> began with such a character. But then maybe they deserve what they get.
>
> Seems to me that consecutive letters is good enough.

Yes, probably.


> Right now one can see what one types from the underlined letters.
> Actually, this is already a bit hard to see and I would suggest to do
> something less subtle, like using bold font for the highlight rather
> than underline. I think that would also look cool.

Definitely. Done.


> Apart from this, there is actually yet another behavior of the layout
> filter that is confusing or "weird" currently. I am not fully sure
> what is going on. For example, in plain standard article,
>
> 1. Select the Standard layout
> 2. Filter the layout list for "sub"
>
> Result: "Subsection" is selected
>
> Next,
>
> 1. Select the Part layout
> 2. Filter the layout list again for "sub"
>
> Result: "Subsection*" is selected
>
> I don't see a reason why this behavior is helpful. 

Yes, that is weird, but I think it is must be something built into Qt
that I have no idea how to change.

Riki


Reply via email to