forum.dlang.org, version 2 (BETA)

sigod via Digitalmars-d-announce digitalmars-d-announce at puremagic.com
Thu Jun 4 13:25:01 PDT 2015


On Thursday, 4 June 2015 at 20:05:32 UTC, Vladimir Panteleev 
wrote:
> On Thursday, 4 June 2015 at 19:57:20 UTC, sigod wrote:
>> On Thursday, 4 June 2015 at 19:42:09 UTC, Vladimir Panteleev 
>> wrote:
>>> On Thursday, 4 June 2015 at 17:57:26 UTC, Mr. Anonymous wrote:
>>>> * Space to scroll doesn't work.
>>>
>>> Where?
>>
>> In threads. But works on help page.
>
> Should be fixed now.

Yes. It works now.

Few issues with help dialog (opened with Shift+H):
- Centers on full page instead of only visible part of it.
- Scrolls with page.

On Thursday, 4 June 2015 at 20:07:26 UTC, Vladimir Panteleev 
wrote:
> On Thursday, 4 June 2015 at 19:55:28 UTC, sigod wrote:
>> Shift+? returns key code 191. And `String.fromCodePoint(191) 
>> === '¿'`.
>
> I looked into this.
>
> 191 is actually the code for the '/' key. This means that 
> checking for it doesn't work on layouts where the question mark 
> is typed by pressing another button. Does this work for you? I 
> tried it on the Russian layout (where it's on Shift+7) and it 
> doesn't.
>
> I settled by moving the help key to Shift+H.

Well. Shift+/ works on GitHub and StackOverflow. As do Shift+7 on 
Russian layout.

You can find line like this in GitHub's sources: 
`i={...,191:"?",...}`.
So, I suppose it's better to use key codes directly.


More information about the Digitalmars-d-announce mailing list