{"action":"created","issue":{"url":"https://api.github.com/repos/ajaxorg/ace/issues/2593","labels_url":"https://api.github.com/repos/ajaxorg/ace/issues/2593/labels{/name}","comments_url":"https://api.github.com/repos/ajaxorg/ace/issues/2593/comments","events_url":"https://api.github.com/repos/ajaxorg/ace/issues/2593/events","html_url":"https://github.com/ajaxorg/ace/issues/2593","id":94254696,"number":2593,"title":"Multiple modes ?","user":{"login":"abuhurairalakdawala","id":6679615,"avatar_url":"https://avatars.githubusercontent.com/u/6679615?v=3","gravatar_id":"","url":"https://api.github.com/users/abuhurairalakdawala","html_url":"https://github.com/abuhurairalakdawala","followers_url":"https://api.github.com/users/abuhurairalakdawala/followers","following_url":"https://api.github.com/users/abuhurairalakdawala/following{/other_user}","gists_url":"https://api.github.com/users/abuhurairalakdawala/gists{/gist_id}","starred_url":"https://api.github.com/users/abuhurairalakdawala/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/abuhurairalakdawala/subscriptions","organizations_url":"https://api.github.com/users/abuhurairalakdawala/orgs","repos_url":"https://api.github.com/users/abuhurairalakdawala/repos","events_url":"https://api.github.com/users/abuhurairalakdawala/events{/privacy}","received_events_url":"https://api.github.com/users/abuhurairalakdawala/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":6,"created_at":"2015-07-10T08:56:33Z","updated_at":"2015-07-15T04:37:44Z","closed_at":"2015-07-14T20:40:39Z","body":"Is it possible to set multiple modes at a time?"},"comment":{"url":"https://api.github.com/repos/ajaxorg/ace/issues/comments/121485672","html_url":"https://github.com/ajaxorg/ace/issues/2593#issuecomment-121485672","issue_url":"https://api.github.com/repos/ajaxorg/ace/issues/2593","id":121485672,"user":{"login":"javatlacati","id":1063901,"avatar_url":"https://avatars.githubusercontent.com/u/1063901?v=3","gravatar_id":"","url":"https://api.github.com/users/javatlacati","html_url":"https://github.com/javatlacati","followers_url":"https://api.github.com/users/javatlacati/followers","following_url":"https://api.github.com/users/javatlacati/following{/other_user}","gists_url":"https://api.github.com/users/javatlacati/gists{/gist_id}","starred_url":"https://api.github.com/users/javatlacati/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/javatlacati/subscriptions","organizations_url":"https://api.github.com/users/javatlacati/orgs","repos_url":"https://api.github.com/users/javatlacati/repos","events_url":"https://api.github.com/users/javatlacati/events{/privacy}","received_events_url":"https://api.github.com/users/javatlacati/received_events","type":"User","site_admin":false},"created_at":"2015-07-15T04:37:44Z","updated_at":"2015-07-15T04:37:44Z","body":"What about for Java?\r\nhttps://docs.oracle.com/javase/tutorial/uiswing/components/html.html\r\n\r\nor asm in C?\r\n\r\nIn modern compilers you can see something like:\r\n\r\n     void do_print(uint32_t dwSomeValue)\r\n     {\r\n        uint32_t dwRes;\r\n     \r\n        for (uint32_t x=0; x < 5; x++)\r\n        {\r\n           // Assumes dwSomeValue is not zero.\r\n           asm (\"bsfl %1,%0\"\r\n             : \"=r\" (dwRes)\r\n             : \"r\" (dwSomeValue)\r\n             : \"cc\");\r\n     \r\n           printf(\"%u: %u %u\\n\", x, dwSomeValue, dwRes);\r\n        }\r\n     }\r\n\r\non the elders I remember have seen soemthing like\r\nmain() {\r\nprintf(\"calling asm...\");\r\nasm{\r\n mov bx\r\n jmp\r\n}"}}