{"action":"closed","issue":{"url":"https://api.github.com/repos/supercollider/supercollider/issues/3734","repository_url":"https://api.github.com/repos/supercollider/supercollider","labels_url":"https://api.github.com/repos/supercollider/supercollider/issues/3734/labels{/name}","comments_url":"https://api.github.com/repos/supercollider/supercollider/issues/3734/comments","events_url":"https://api.github.com/repos/supercollider/supercollider/issues/3734/events","html_url":"https://github.com/supercollider/supercollider/issues/3734","id":324695884,"number":3734,"title":"rendered schelp troubles with indented string continuations","user":{"login":"shimpe","id":732258,"avatar_url":"https://avatars1.githubusercontent.com/u/732258?v=4","gravatar_id":"","url":"https://api.github.com/users/shimpe","html_url":"https://github.com/shimpe","followers_url":"https://api.github.com/users/shimpe/followers","following_url":"https://api.github.com/users/shimpe/following{/other_user}","gists_url":"https://api.github.com/users/shimpe/gists{/gist_id}","starred_url":"https://api.github.com/users/shimpe/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/shimpe/subscriptions","organizations_url":"https://api.github.com/users/shimpe/orgs","repos_url":"https://api.github.com/users/shimpe/repos","events_url":"https://api.github.com/users/shimpe/events{/privacy}","received_events_url":"https://api.github.com/users/shimpe/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":1,"created_at":"2018-05-20T09:30:30Z","updated_at":"2018-05-20T16:40:29Z","closed_at":"2018-05-20T16:40:28Z","author_association":"CONTRIBUTOR","body":"The problem is with strings in combination with indentation, e.g.\r\n\r\n```\r\n(\r\n~st = \"sea\"\r\n      \"saw\".postln;\r\n)\r\n```\r\n\r\nThe above works when typed into scide and executed and produces the expected \"seasaw\". \r\n\r\nHowever, when you paste it from scide in a\r\n\r\ncode::\r\n::\r\n\r\nenvironment in a schelp document, it no longer works when copy pasting the example from the rendered help page into scide, and fails with:\r\n\r\n> ERROR: syntax error, unexpected STRING, expecting DOTDOT or ':' or ',' or ')'\r\n>   in interpreted text\r\n>   line 3 char 14:\r\n> \r\n>         \"saw\".postln;\r\n>             ^^^^\r\n>   ) \r\n> -----------------------------------\r\n> ERROR: Command line parse failed\r\n> -> nil\r\n\r\n\r\nIt starts working only if you remove the indentation before the word \"saw\" in the schelp document.\r\n\r\n"}}
{"actor":{"display_login":"brianlheim"}}