{"action":"created","issue":{"url":"https://api.github.com/repos/godotengine/godot/issues/4198","repository_url":"https://api.github.com/repos/godotengine/godot","labels_url":"https://api.github.com/repos/godotengine/godot/issues/4198/labels{/name}","comments_url":"https://api.github.com/repos/godotengine/godot/issues/4198/comments","events_url":"https://api.github.com/repos/godotengine/godot/issues/4198/events","html_url":"https://github.com/godotengine/godot/issues/4198","id":145364148,"number":4198,"title":"\"Toggle comment\" undesirable behaviour","user":{"login":"vjrossi","id":17793037,"avatar_url":"https://avatars.githubusercontent.com/u/17793037?v=3","gravatar_id":"","url":"https://api.github.com/users/vjrossi","html_url":"https://github.com/vjrossi","followers_url":"https://api.github.com/users/vjrossi/followers","following_url":"https://api.github.com/users/vjrossi/following{/other_user}","gists_url":"https://api.github.com/users/vjrossi/gists{/gist_id}","starred_url":"https://api.github.com/users/vjrossi/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/vjrossi/subscriptions","organizations_url":"https://api.github.com/users/vjrossi/orgs","repos_url":"https://api.github.com/users/vjrossi/repos","events_url":"https://api.github.com/users/vjrossi/events{/privacy}","received_events_url":"https://api.github.com/users/vjrossi/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/godotengine/godot/labels/bug","name":"bug","color":"ff2222"},{"url":"https://api.github.com/repos/godotengine/godot/labels/topic:editor","name":"topic:editor","color":"ffdd44"},{"url":"https://api.github.com/repos/godotengine/godot/labels/usability","name":"usability","color":"007700"}],"state":"open","locked":false,"assignee":{"login":"neikeq","id":7718100,"avatar_url":"https://avatars.githubusercontent.com/u/7718100?v=3","gravatar_id":"","url":"https://api.github.com/users/neikeq","html_url":"https://github.com/neikeq","followers_url":"https://api.github.com/users/neikeq/followers","following_url":"https://api.github.com/users/neikeq/following{/other_user}","gists_url":"https://api.github.com/users/neikeq/gists{/gist_id}","starred_url":"https://api.github.com/users/neikeq/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/neikeq/subscriptions","organizations_url":"https://api.github.com/users/neikeq/orgs","repos_url":"https://api.github.com/users/neikeq/repos","events_url":"https://api.github.com/users/neikeq/events{/privacy}","received_events_url":"https://api.github.com/users/neikeq/received_events","type":"User","site_admin":false},"milestone":{"url":"https://api.github.com/repos/godotengine/godot/milestones/5","html_url":"https://github.com/godotengine/godot/milestones/2.1","labels_url":"https://api.github.com/repos/godotengine/godot/milestones/5/labels","id":1449703,"number":5,"title":"2.1","description":"","creator":{"login":"akien-mga","id":4701338,"avatar_url":"https://avatars.githubusercontent.com/u/4701338?v=3","gravatar_id":"","url":"https://api.github.com/users/akien-mga","html_url":"https://github.com/akien-mga","followers_url":"https://api.github.com/users/akien-mga/followers","following_url":"https://api.github.com/users/akien-mga/following{/other_user}","gists_url":"https://api.github.com/users/akien-mga/gists{/gist_id}","starred_url":"https://api.github.com/users/akien-mga/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/akien-mga/subscriptions","organizations_url":"https://api.github.com/users/akien-mga/orgs","repos_url":"https://api.github.com/users/akien-mga/repos","events_url":"https://api.github.com/users/akien-mga/events{/privacy}","received_events_url":"https://api.github.com/users/akien-mga/received_events","type":"User","site_admin":false},"open_issues":176,"closed_issues":20,"state":"open","created_at":"2015-12-08T11:42:22Z","updated_at":"2016-04-02T13:50:58Z","due_on":null,"closed_at":null},"comments":3,"created_at":"2016-04-02T11:29:08Z","updated_at":"2016-04-02T13:51:44Z","closed_at":null,"body":"Take any 3 consecutive lines of code (1, 2, & 3)\r\nPlace cursor at start of line 1.\r\nUse keyboard (Shift Down-arrow) or mouse (click & drag down) to highlight lines 1 & 2 fully. Cursor is now at beginning of line 3.\r\nPress Ctrl-K or Edit/Toggle comment\r\n\r\nExpected: lines 1 & 2 commented out with # at start of each line (as these lines only, are highlighted)\r\n\r\nActual: lines 1, 2 & 3 commented out with # at start of each line\r\n\r\nIMO this can create an unwanted comment-out line of code, often going unnoticed.\r\n\r\nNote: if lines 1 & 2 are partially selected, then only lines 1 & 2 are commented-out.\r\n\r\nI suggest my \"expected\" behaviour above, should be the actual, as per other code editors with a similar feature."},"comment":{"url":"https://api.github.com/repos/godotengine/godot/issues/comments/204719936","html_url":"https://github.com/godotengine/godot/issues/4198#issuecomment-204719936","issue_url":"https://api.github.com/repos/godotengine/godot/issues/4198","id":204719936,"user":{"login":"akien-mga","id":4701338,"avatar_url":"https://avatars.githubusercontent.com/u/4701338?v=3","gravatar_id":"","url":"https://api.github.com/users/akien-mga","html_url":"https://github.com/akien-mga","followers_url":"https://api.github.com/users/akien-mga/followers","following_url":"https://api.github.com/users/akien-mga/following{/other_user}","gists_url":"https://api.github.com/users/akien-mga/gists{/gist_id}","starred_url":"https://api.github.com/users/akien-mga/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/akien-mga/subscriptions","organizations_url":"https://api.github.com/users/akien-mga/orgs","repos_url":"https://api.github.com/users/akien-mga/repos","events_url":"https://api.github.com/users/akien-mga/events{/privacy}","received_events_url":"https://api.github.com/users/akien-mga/received_events","type":"User","site_admin":false},"created_at":"2016-04-02T13:51:44Z","updated_at":"2016-04-02T13:51:44Z","body":"Indeed, thanks. I can't tell if it's exactly a duplicate, but it could be that fixing this bug will fix the other if they have a similar cause in the selection mechanism."}}