{"action":"created","issue":{"url":"https://api.github.com/repos/ballerinalang/composer/issues/2076","repository_url":"https://api.github.com/repos/ballerinalang/composer","labels_url":"https://api.github.com/repos/ballerinalang/composer/issues/2076/labels{/name}","comments_url":"https://api.github.com/repos/ballerinalang/composer/issues/2076/comments","events_url":"https://api.github.com/repos/ballerinalang/composer/issues/2076/events","html_url":"https://github.com/ballerinalang/composer/issues/2076","id":237861969,"number":2076,"title":"Errorneous statement gets reverted on enter","user":{"login":"maheeka","id":1029806,"avatar_url":"https://avatars1.githubusercontent.com/u/1029806?v=4","gravatar_id":"","url":"https://api.github.com/users/maheeka","html_url":"https://github.com/maheeka","followers_url":"https://api.github.com/users/maheeka/followers","following_url":"https://api.github.com/users/maheeka/following{/other_user}","gists_url":"https://api.github.com/users/maheeka/gists{/gist_id}","starred_url":"https://api.github.com/users/maheeka/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/maheeka/subscriptions","organizations_url":"https://api.github.com/users/maheeka/orgs","repos_url":"https://api.github.com/users/maheeka/repos","events_url":"https://api.github.com/users/maheeka/events{/privacy}","received_events_url":"https://api.github.com/users/maheeka/received_events","type":"User","site_admin":false},"labels":[{"id":535831884,"url":"https://api.github.com/repos/ballerinalang/composer/labels/UX","name":"UX","color":"e99695","default":false}],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":1,"created_at":"2017-06-22T14:20:36Z","updated_at":"2017-11-13T09:22:35Z","closed_at":null,"author_association":"MEMBER","body":"Click on an assignment and start typing\r\n<img width=\"150\" alt=\"image\" src=\"https://user-images.githubusercontent.com/1029806/27438754-de54a40a-5783-11e7-9389-ea104621d939.png\">\r\n\r\nDuring typing, following is an erroneous statement. \r\n<img width=\"168\" alt=\"image\" src=\"https://user-images.githubusercontent.com/1029806/27438770-e7730536-5783-11e7-923e-daa36639be1d.png\">\r\n\r\nIf user looses focus at this point (by mistake), everything is reverted back to the old state, resulting the user to start typing from beginning.\r\n\r\n"},"comment":{"url":"https://api.github.com/repos/ballerinalang/composer/issues/comments/343859468","html_url":"https://github.com/ballerinalang/composer/issues/2076#issuecomment-343859468","issue_url":"https://api.github.com/repos/ballerinalang/composer/issues/2076","id":343859468,"user":{"login":"maheeka","id":1029806,"avatar_url":"https://avatars1.githubusercontent.com/u/1029806?v=4","gravatar_id":"","url":"https://api.github.com/users/maheeka","html_url":"https://github.com/maheeka","followers_url":"https://api.github.com/users/maheeka/followers","following_url":"https://api.github.com/users/maheeka/following{/other_user}","gists_url":"https://api.github.com/users/maheeka/gists{/gist_id}","starred_url":"https://api.github.com/users/maheeka/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/maheeka/subscriptions","organizations_url":"https://api.github.com/users/maheeka/orgs","repos_url":"https://api.github.com/users/maheeka/repos","events_url":"https://api.github.com/users/maheeka/events{/privacy}","received_events_url":"https://api.github.com/users/maheeka/received_events","type":"User","site_admin":false},"created_at":"2017-11-13T09:22:34Z","updated_at":"2017-11-13T09:22:34Z","author_association":"MEMBER","body":"Current behaviour is as follows.\r\n\r\nWhen user types syntactically incorrect source, the source is reverted and an error message is displayed.\r\n<img width=\"226\" alt=\"image\" src=\"https://user-images.githubusercontent.com/1029806/32718113-f5c38142-c853-11e7-9739-a6e1e14c3616.png\">\r\n<img width=\"162\" alt=\"image\" src=\"https://user-images.githubusercontent.com/1029806/32718119-fac914a4-c853-11e7-810f-2fa6821337f8.png\">\r\n\r\nWe should disable falling back on the editing mode when hit enter with syntactically incorrect code.  \r\n@hevayo  WDYT?\r\n"}}
{"actor":{"display_login":"maheeka"}}