{"action":"created","issue":{"url":"https://api.github.com/repos/OpenCobolIDE/OpenCobolIDE/issues/195","repository_url":"https://api.github.com/repos/OpenCobolIDE/OpenCobolIDE","labels_url":"https://api.github.com/repos/OpenCobolIDE/OpenCobolIDE/issues/195/labels{/name}","comments_url":"https://api.github.com/repos/OpenCobolIDE/OpenCobolIDE/issues/195/comments","events_url":"https://api.github.com/repos/OpenCobolIDE/OpenCobolIDE/issues/195/events","html_url":"https://github.com/OpenCobolIDE/OpenCobolIDE/issues/195","id":99620462,"number":195,"title":"[Bug] Log pane (Issues tab): Line breaks from cobc & gcc are not translated correctly","user":{"login":"GitMensch","id":6699539,"avatar_url":"https://avatars.githubusercontent.com/u/6699539?v=3","gravatar_id":"","url":"https://api.github.com/users/GitMensch","html_url":"https://github.com/GitMensch","followers_url":"https://api.github.com/users/GitMensch/followers","following_url":"https://api.github.com/users/GitMensch/following{/other_user}","gists_url":"https://api.github.com/users/GitMensch/gists{/gist_id}","starred_url":"https://api.github.com/users/GitMensch/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/GitMensch/subscriptions","organizations_url":"https://api.github.com/users/GitMensch/orgs","repos_url":"https://api.github.com/users/GitMensch/repos","events_url":"https://api.github.com/users/GitMensch/events{/privacy}","received_events_url":"https://api.github.com/users/GitMensch/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/OpenCobolIDE/OpenCobolIDE/labels/Bug","name":"Bug","color":"fc2929"},{"url":"https://api.github.com/repos/OpenCobolIDE/OpenCobolIDE/labels/Windows","name":"Windows","color":"207de5"}],"state":"closed","locked":false,"assignee":{"login":"ColinDuquesnoy","id":1681217,"avatar_url":"https://avatars.githubusercontent.com/u/1681217?v=3","gravatar_id":"","url":"https://api.github.com/users/ColinDuquesnoy","html_url":"https://github.com/ColinDuquesnoy","followers_url":"https://api.github.com/users/ColinDuquesnoy/followers","following_url":"https://api.github.com/users/ColinDuquesnoy/following{/other_user}","gists_url":"https://api.github.com/users/ColinDuquesnoy/gists{/gist_id}","starred_url":"https://api.github.com/users/ColinDuquesnoy/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ColinDuquesnoy/subscriptions","organizations_url":"https://api.github.com/users/ColinDuquesnoy/orgs","repos_url":"https://api.github.com/users/ColinDuquesnoy/repos","events_url":"https://api.github.com/users/ColinDuquesnoy/events{/privacy}","received_events_url":"https://api.github.com/users/ColinDuquesnoy/received_events","type":"User","site_admin":false},"milestone":{"url":"https://api.github.com/repos/OpenCobolIDE/OpenCobolIDE/milestones/23","html_url":"https://github.com/OpenCobolIDE/OpenCobolIDE/milestones/4.7","labels_url":"https://api.github.com/repos/OpenCobolIDE/OpenCobolIDE/milestones/23/labels","id":1143305,"number":23,"title":"4.7","description":"The next main release, planned to be release when after HackEdit alpha 2 has been released.","creator":{"login":"ColinDuquesnoy","id":1681217,"avatar_url":"https://avatars.githubusercontent.com/u/1681217?v=3","gravatar_id":"","url":"https://api.github.com/users/ColinDuquesnoy","html_url":"https://github.com/ColinDuquesnoy","followers_url":"https://api.github.com/users/ColinDuquesnoy/followers","following_url":"https://api.github.com/users/ColinDuquesnoy/following{/other_user}","gists_url":"https://api.github.com/users/ColinDuquesnoy/gists{/gist_id}","starred_url":"https://api.github.com/users/ColinDuquesnoy/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ColinDuquesnoy/subscriptions","organizations_url":"https://api.github.com/users/ColinDuquesnoy/orgs","repos_url":"https://api.github.com/users/ColinDuquesnoy/repos","events_url":"https://api.github.com/users/ColinDuquesnoy/events{/privacy}","received_events_url":"https://api.github.com/users/ColinDuquesnoy/received_events","type":"User","site_admin":false},"open_issues":0,"closed_issues":56,"state":"closed","created_at":"2015-06-01T16:34:44Z","updated_at":"2016-01-30T15:02:57Z","due_on":"2016-01-23T23:00:00Z","closed_at":"2016-01-25T16:20:59Z"},"comments":19,"created_at":"2015-08-07T10:10:00Z","updated_at":"2016-02-05T22:30:03Z","closed_at":"2016-01-08T16:07:44Z","body":"Something went wrong compiling a file. Therefore I wanted to check what happens and added -v to extra command line options in preferences dialog.\r\n\r\nThis worked and I've got the information I wanted to see, but all line breaks are missing in the log pane and is truncated:\r\n\r\n\tpreprocessing TESTME.cob into C:\\Users\\Simon\\AppData\\Local\\Temp\\cob7B4C.cobparsing C:\\Users\\Simon\\AppData\\Local\\Temp\\cob7B4C.cob (TESTME.cob)\r\n\r\nWorkaround: copy and paste the line as this expands it to the full message\r\n\r\n\tpreprocessing TESTME.cob into C:\\Users\\Simon\\AppData\\Local\\Temp\\cob7B4C.cob\r\n\tparsing C:\\Users\\Simon\\AppData\\Local\\Temp\\cob7B4C.cob (TESTME.cob)\r\n\t../TESTME.CPY:11: Error: syntax error, unexpected Literal, expecting FUNCTION-ID or PROGRAM-ID\r\n\tReturn status:\t1\r\n\texit \r\n\r\nPlease fix the log pane to show multiple lines.\r\n\r\n## System information\r\n\r\n- OpenCobolIDE: 4.6.4\r\n- GnuCOBOL: GNU Cobol 1.1.0\r\n- Python: 3.4.3 (32bits)\r\n- Qt: 5.4.1\r\n- PyQt: 5.4.1\r\n- pyqode.core: 2.6.7\r\n- pyqode.cobol: 2.6.2\r\n- pyqode.qt: 2.6.0\r\n- pygments: 2.0.2\r\n\r\n"},"comment":{"url":"https://api.github.com/repos/OpenCobolIDE/OpenCobolIDE/issues/comments/180599810","html_url":"https://github.com/OpenCobolIDE/OpenCobolIDE/issues/195#issuecomment-180599810","issue_url":"https://api.github.com/repos/OpenCobolIDE/OpenCobolIDE/issues/195","id":180599810,"user":{"login":"GitMensch","id":6699539,"avatar_url":"https://avatars.githubusercontent.com/u/6699539?v=3","gravatar_id":"","url":"https://api.github.com/users/GitMensch","html_url":"https://github.com/GitMensch","followers_url":"https://api.github.com/users/GitMensch/followers","following_url":"https://api.github.com/users/GitMensch/following{/other_user}","gists_url":"https://api.github.com/users/GitMensch/gists{/gist_id}","starred_url":"https://api.github.com/users/GitMensch/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/GitMensch/subscriptions","organizations_url":"https://api.github.com/users/GitMensch/orgs","repos_url":"https://api.github.com/users/GitMensch/repos","events_url":"https://api.github.com/users/GitMensch/events{/privacy}","received_events_url":"https://api.github.com/users/GitMensch/received_events","type":"User","site_admin":false},"created_at":"2016-02-05T22:30:03Z","updated_at":"2016-02-05T22:30:03Z","body":"I did not found the other issue about the message format. As you've posted about the regex-parser here, too I want to suggest to support more formats. I think these are missing:\r\n\r\n~~~~~\r\nsourcefile:lineno.column: message\r\n\r\nsourcefile:line1.column1-line2.column2: message\r\nsourcefile:line1.column1-column2: message\r\nsourcefile:line1-line2: message\r\n\r\nfile1:line1.column1-file2:line2.column2: message\r\n~~~~~\r\n\r\nand all these with the optional prefix ``program:``.\r\n\r\nAll samples were taken from https://www.gnu.org/prep/standards/html_node/Errors.html"}}