{"action":"opened","issue":{"url":"https://api.github.com/repos/opencor/opencor/issues/534","labels_url":"https://api.github.com/repos/opencor/opencor/issues/534/labels{/name}","comments_url":"https://api.github.com/repos/opencor/opencor/issues/534/comments","events_url":"https://api.github.com/repos/opencor/opencor/issues/534/events","html_url":"https://github.com/opencor/opencor/issues/534","id":53889794,"number":534,"title":"QScintilla-based editing views: only the current view gets its read-only state updated","user":{"login":"agarny","id":602265,"avatar_url":"https://avatars.githubusercontent.com/u/602265?v=3","gravatar_id":"","url":"https://api.github.com/users/agarny","html_url":"https://github.com/agarny","followers_url":"https://api.github.com/users/agarny/followers","following_url":"https://api.github.com/users/agarny/following{/other_user}","gists_url":"https://api.github.com/users/agarny/gists{/gist_id}","starred_url":"https://api.github.com/users/agarny/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/agarny/subscriptions","organizations_url":"https://api.github.com/users/agarny/orgs","repos_url":"https://api.github.com/users/agarny/repos","events_url":"https://api.github.com/users/agarny/events{/privacy}","received_events_url":"https://api.github.com/users/agarny/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/opencor/opencor/labels/Improvement","name":"Improvement","color":"fbca04"}],"state":"open","locked":false,"assignee":{"login":"agarny","id":602265,"avatar_url":"https://avatars.githubusercontent.com/u/602265?v=3","gravatar_id":"","url":"https://api.github.com/users/agarny","html_url":"https://github.com/agarny","followers_url":"https://api.github.com/users/agarny/followers","following_url":"https://api.github.com/users/agarny/following{/other_user}","gists_url":"https://api.github.com/users/agarny/gists{/gist_id}","starred_url":"https://api.github.com/users/agarny/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/agarny/subscriptions","organizations_url":"https://api.github.com/users/agarny/orgs","repos_url":"https://api.github.com/users/agarny/repos","events_url":"https://api.github.com/users/agarny/events{/privacy}","received_events_url":"https://api.github.com/users/agarny/received_events","type":"User","site_admin":false},"milestone":{"url":"https://api.github.com/repos/opencor/opencor/milestones/5","labels_url":"https://api.github.com/repos/opencor/opencor/milestones/5/labels","id":614780,"number":5,"title":"0.4","description":"","creator":{"login":"agarny","id":602265,"avatar_url":"https://avatars.githubusercontent.com/u/602265?v=3","gravatar_id":"","url":"https://api.github.com/users/agarny","html_url":"https://github.com/agarny","followers_url":"https://api.github.com/users/agarny/followers","following_url":"https://api.github.com/users/agarny/following{/other_user}","gists_url":"https://api.github.com/users/agarny/gists{/gist_id}","starred_url":"https://api.github.com/users/agarny/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/agarny/subscriptions","organizations_url":"https://api.github.com/users/agarny/orgs","repos_url":"https://api.github.com/users/agarny/repos","events_url":"https://api.github.com/users/agarny/events{/privacy}","received_events_url":"https://api.github.com/users/agarny/received_events","type":"User","site_admin":false},"open_issues":16,"closed_issues":77,"state":"open","created_at":"2014-03-31T01:45:01Z","updated_at":"2015-01-09T17:02:36Z","due_on":null,"closed_at":null},"comments":0,"created_at":"2015-01-09T17:02:36Z","updated_at":"2015-01-09T17:02:36Z","closed_at":null,"body":"Say that you have a writable file opened in the Raw CellML view. To lock the file will make the background of the editor reddish. To switch to the Raw view will also result in the editor's background being reddish (since it gets initialised). Now, as expected, if you unlock the file, the editor's background becomes white again. However, if you switch back to the Raw CellML view, you will see that the editor's background is still reddish and you can't edit the file while you should be able to do so."}}