{"action":"created","issue":{"url":"https://api.github.com/repos/wereturtle/ghostwriter/issues/65","repository_url":"https://api.github.com/repos/wereturtle/ghostwriter","labels_url":"https://api.github.com/repos/wereturtle/ghostwriter/issues/65/labels{/name}","comments_url":"https://api.github.com/repos/wereturtle/ghostwriter/issues/65/comments","events_url":"https://api.github.com/repos/wereturtle/ghostwriter/issues/65/events","html_url":"https://github.com/wereturtle/ghostwriter/issues/65","id":144062238,"number":65,"title":"Serious Conflict With NumPad and Lists","user":{"login":"tajmone","id":11064292,"avatar_url":"https://avatars.githubusercontent.com/u/11064292?v=3","gravatar_id":"","url":"https://api.github.com/users/tajmone","html_url":"https://github.com/tajmone","followers_url":"https://api.github.com/users/tajmone/followers","following_url":"https://api.github.com/users/tajmone/following{/other_user}","gists_url":"https://api.github.com/users/tajmone/gists{/gist_id}","starred_url":"https://api.github.com/users/tajmone/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tajmone/subscriptions","organizations_url":"https://api.github.com/users/tajmone/orgs","repos_url":"https://api.github.com/users/tajmone/repos","events_url":"https://api.github.com/users/tajmone/events{/privacy}","received_events_url":"https://api.github.com/users/tajmone/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":2,"created_at":"2016-03-28T19:34:23Z","updated_at":"2016-03-28T21:59:23Z","closed_at":null,"body":"I think this issue report need a foreword: Many of the exalted standards in computing are built around the old days of ASCII, and in their tradition they carry on with a strong US-Centric attitude. MarkDown is no exception...\r\n\r\nNon-USA keyboards (Italian is my case, but also French, German, and many others) don't have a key for characters like tilde `~`, or backtick `` ` `` — just to mention a few of the many missing ones! —, so you can imagine what a nightmare it becomes to mark a block code: we have to go through the `Alt + Numeric Pad 126` for tilde (or `96` for backtick) THREE TIMES in a row.\r\n\r\nSo much for talks on accessibility and open standards — and bare in mind: I'm sparing you the rants on working with Arabic and Hebrew keyboards, which would make anyone laugh at the mentioning of RTL implementation in 99% of existing software (as if introducing RTL was all there is to allow decent working with semitic languages, which have separation between vowels and consonants, and special glyphs for letters according to in-word context).\r\n\r\nGoing back to ghostwriter, the problem is that the Alt + NumPad numbers sequence trigger list styles whenever numbers 0, 1 or 8 are involved—which end up inserting all sort of list item syntax in the paragraph. Since there is no menu or hotkey to invoke inline or block code syntaxing, the Alt sequences are the only way to achieve them.\r\n\r\nPersonally, since I work a lot in text editing, I use frequently the NumPad shortcuts to quickly obtain Unicode special characters (from em-dashes to curly quotes, special letters, and so on). In some cross language works, special key sequences are required to switch between language modes, and for many special characters not represented on keyboard). So the potentials for problems at stake with the Alt + numbers sequences are rather high — unless the program can differentiate between numbers being struck on the main keyboard and thos on the numeric pad.\r\n\r\nTherefore, any Alt hotkey involving numbers will inevitably conflict with non-USA keyboard users.\r\n\r\nI would have thought that keyboard input would distinguish between numbers being typed in the main keyboard and those typed on the numeric pad, but maybe this is a shortcoming of Qt."},"comment":{"url":"https://api.github.com/repos/wereturtle/ghostwriter/issues/comments/202597059","html_url":"https://github.com/wereturtle/ghostwriter/issues/65#issuecomment-202597059","issue_url":"https://api.github.com/repos/wereturtle/ghostwriter/issues/65","id":202597059,"user":{"login":"tajmone","id":11064292,"avatar_url":"https://avatars.githubusercontent.com/u/11064292?v=3","gravatar_id":"","url":"https://api.github.com/users/tajmone","html_url":"https://github.com/tajmone","followers_url":"https://api.github.com/users/tajmone/followers","following_url":"https://api.github.com/users/tajmone/following{/other_user}","gists_url":"https://api.github.com/users/tajmone/gists{/gist_id}","starred_url":"https://api.github.com/users/tajmone/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tajmone/subscriptions","organizations_url":"https://api.github.com/users/tajmone/orgs","repos_url":"https://api.github.com/users/tajmone/repos","events_url":"https://api.github.com/users/tajmone/events{/privacy}","received_events_url":"https://api.github.com/users/tajmone/received_events","type":"User","site_admin":false},"created_at":"2016-03-28T21:59:23Z","updated_at":"2016-03-28T21:59:23Z","body":"Great! Sorry for the ranting ... but I get really frusted whenever I stumble on the good standars (*nix like) where such difficoult character are envolved.\r\n\r\nI mean ... just look at Vim (or SublimeText), all the config hacks people with non-USA keyboards have to go through in order to acess all the tilde or backtick hotkeys (these are the 2 most troublesome characters for non-USA keyboards).\r\n\r\nUnofrtunately, keyboard producers just behaved as if ASCII was dead. Except it's not.\r\n\r\nBut usally most API distinguish between numbers from keyboard and those from NumPad.\r\n\r\nThanks a lot! I'm really enjoying using GhostWriter! And I'm going to include it in a project here in GitHub (hopefully soon)."}}