{"action":"created","issue":{"url":"https://api.github.com/repos/madflow/flow-netbeans-markdown/issues/64","labels_url":"https://api.github.com/repos/madflow/flow-netbeans-markdown/issues/64/labels{/name}","comments_url":"https://api.github.com/repos/madflow/flow-netbeans-markdown/issues/64/comments","events_url":"https://api.github.com/repos/madflow/flow-netbeans-markdown/issues/64/events","html_url":"https://github.com/madflow/flow-netbeans-markdown/issues/64","id":47243774,"number":64,"title":"Please add an option to change refresh time.","user":{"login":"Chris2011","id":795658,"avatar_url":"https://avatars.githubusercontent.com/u/795658?v=3","gravatar_id":"","url":"https://api.github.com/users/Chris2011","html_url":"https://github.com/Chris2011","followers_url":"https://api.github.com/users/Chris2011/followers","following_url":"https://api.github.com/users/Chris2011/following{/other_user}","gists_url":"https://api.github.com/users/Chris2011/gists{/gist_id}","starred_url":"https://api.github.com/users/Chris2011/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Chris2011/subscriptions","organizations_url":"https://api.github.com/users/Chris2011/orgs","repos_url":"https://api.github.com/users/Chris2011/repos","events_url":"https://api.github.com/users/Chris2011/events{/privacy}","received_events_url":"https://api.github.com/users/Chris2011/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/madflow/flow-netbeans-markdown/labels/Feature%20Request","name":"Feature Request","color":"02e10c"},{"url":"https://api.github.com/repos/madflow/flow-netbeans-markdown/labels/Pull%20Request%20Welcome","name":"Pull Request Welcome","color":"5319e7"}],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":5,"created_at":"2014-10-30T08:25:50Z","updated_at":"2015-03-15T22:37:34Z","closed_at":null,"body":"For me, the refreshtime of the preview (I split my view, so I can see both, code and preview at the same time) the refresh time is a bit to slow. I would like to change this, not each would like to have a faster or slower refreshtime so I think an option to set the refresh time would be very nice. For chrome there is an Markdown extension too, this has no delay time \"type smth -> instant reload\".\r\n\r\n\r\nRegards\r\n\r\nChris"},"comment":{"url":"https://api.github.com/repos/madflow/flow-netbeans-markdown/issues/comments/81274385","html_url":"https://github.com/madflow/flow-netbeans-markdown/issues/64#issuecomment-81274385","issue_url":"https://api.github.com/repos/madflow/flow-netbeans-markdown/issues/64","id":81274385,"user":{"login":"rmburkhead","id":255075,"avatar_url":"https://avatars.githubusercontent.com/u/255075?v=3","gravatar_id":"","url":"https://api.github.com/users/rmburkhead","html_url":"https://github.com/rmburkhead","followers_url":"https://api.github.com/users/rmburkhead/followers","following_url":"https://api.github.com/users/rmburkhead/following{/other_user}","gists_url":"https://api.github.com/users/rmburkhead/gists{/gist_id}","starred_url":"https://api.github.com/users/rmburkhead/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rmburkhead/subscriptions","organizations_url":"https://api.github.com/users/rmburkhead/orgs","repos_url":"https://api.github.com/users/rmburkhead/repos","events_url":"https://api.github.com/users/rmburkhead/events{/privacy}","received_events_url":"https://api.github.com/users/rmburkhead/received_events","type":"User","site_admin":false},"created_at":"2015-03-15T22:37:33Z","updated_at":"2015-03-15T22:37:33Z","body":"@Chris2011 @madflow If 10 ms was chosen rather arbitrarily as an insane lower limit. It seemed to work OK on a reasonably sized file (the official Markdown syntax page), but might blow up on a chapter-sized or novel-sized md file.  I did not profile the task scheduling for the preview refresh, but it might be worth doing this on a sufficiently large file to see when the tasks start colliding.\r\n\r\nTo my eye, 100 ms (and even 250 ms) seemed reasonably responsive. It might be better to increase the lower limit to some similar, more reasonable number if no one can profile the threads on a huge file."}}