{"action":"created","issue":{"url":"https://api.github.com/repos/codemirror/CodeMirror/issues/3313","labels_url":"https://api.github.com/repos/codemirror/CodeMirror/issues/3313/labels{/name}","comments_url":"https://api.github.com/repos/codemirror/CodeMirror/issues/3313/comments","events_url":"https://api.github.com/repos/codemirror/CodeMirror/issues/3313/events","html_url":"https://github.com/codemirror/CodeMirror/issues/3313","id":85789687,"number":3313,"title":"Line editor gets wider when line number increases","user":{"login":"danielo515","id":2270425,"avatar_url":"https://avatars.githubusercontent.com/u/2270425?v=3","gravatar_id":"","url":"https://api.github.com/users/danielo515","html_url":"https://github.com/danielo515","followers_url":"https://api.github.com/users/danielo515/followers","following_url":"https://api.github.com/users/danielo515/following{/other_user}","gists_url":"https://api.github.com/users/danielo515/gists{/gist_id}","starred_url":"https://api.github.com/users/danielo515/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/danielo515/subscriptions","organizations_url":"https://api.github.com/users/danielo515/orgs","repos_url":"https://api.github.com/users/danielo515/repos","events_url":"https://api.github.com/users/danielo515/events{/privacy}","received_events_url":"https://api.github.com/users/danielo515/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":12,"created_at":"2015-06-06T18:11:49Z","updated_at":"2015-06-07T17:28:51Z","closed_at":null,"body":"I'm using codemirror in one project, just to provide line numbers to the text areas. The problem I'm facing that the editor gets wider while the line number grows. So if I have an editor which is 150 pixels wide, and I add 100 lines for example, it goes to 160 px wide (just example) if I reach the 1k lines it goes to 200 px wide and so on. All the lines have the same width because it is a list, but the editor still getting wider.\r\n\r\nHow can I prevent this? Thanks in advance."},"comment":{"url":"https://api.github.com/repos/codemirror/CodeMirror/issues/comments/109778718","html_url":"https://github.com/codemirror/CodeMirror/issues/3313#issuecomment-109778718","issue_url":"https://api.github.com/repos/codemirror/CodeMirror/issues/3313","id":109778718,"user":{"login":"danielo515","id":2270425,"avatar_url":"https://avatars.githubusercontent.com/u/2270425?v=3","gravatar_id":"","url":"https://api.github.com/users/danielo515","html_url":"https://github.com/danielo515","followers_url":"https://api.github.com/users/danielo515/followers","following_url":"https://api.github.com/users/danielo515/following{/other_user}","gists_url":"https://api.github.com/users/danielo515/gists{/gist_id}","starred_url":"https://api.github.com/users/danielo515/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/danielo515/subscriptions","organizations_url":"https://api.github.com/users/danielo515/orgs","repos_url":"https://api.github.com/users/danielo515/repos","events_url":"https://api.github.com/users/danielo515/events{/privacy}","received_events_url":"https://api.github.com/users/danielo515/received_events","type":"User","site_admin":false},"created_at":"2015-06-07T17:28:51Z","updated_at":"2015-06-07T17:28:51Z","body":"That's a lot of shame on me. I checked the whole dataset several times. I even activated the mini map and I checked it from the beginning to the bottom several times. The only thing I did not do was to run a regular expression. I think the dataset was so big that it was not properly rendered. Thank you very much and sorry everyone for wasting your time. "}}