{"action":"created","issue":{"url":"https://api.github.com/repos/Kapiainen/SublimePapyrus/issues/15","repository_url":"https://api.github.com/repos/Kapiainen/SublimePapyrus","labels_url":"https://api.github.com/repos/Kapiainen/SublimePapyrus/issues/15/labels{/name}","comments_url":"https://api.github.com/repos/Kapiainen/SublimePapyrus/issues/15/comments","events_url":"https://api.github.com/repos/Kapiainen/SublimePapyrus/issues/15/events","html_url":"https://github.com/Kapiainen/SublimePapyrus/issues/15","id":142524130,"number":15,"title":"Focus being stolen","user":{"login":"Nikey646","id":7837522,"avatar_url":"https://avatars.githubusercontent.com/u/7837522?v=3","gravatar_id":"","url":"https://api.github.com/users/Nikey646","html_url":"https://github.com/Nikey646","followers_url":"https://api.github.com/users/Nikey646/followers","following_url":"https://api.github.com/users/Nikey646/following{/other_user}","gists_url":"https://api.github.com/users/Nikey646/gists{/gist_id}","starred_url":"https://api.github.com/users/Nikey646/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Nikey646/subscriptions","organizations_url":"https://api.github.com/users/Nikey646/orgs","repos_url":"https://api.github.com/users/Nikey646/repos","events_url":"https://api.github.com/users/Nikey646/events{/privacy}","received_events_url":"https://api.github.com/users/Nikey646/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":6,"created_at":"2016-03-22T02:12:10Z","updated_at":"2016-04-11T22:07:41Z","closed_at":null,"body":"First off: This is not talking about the Selection Focus, but the Screen Focus.\r\n\r\nI believe this is related to the Linter portion of the Skyrim Syntax. Whenever there is an error in the .psc file, it will jump to that line and put it in the center of my screen. Great, incredibly helpful...until every time i modify the source code it steals focus from where i was, to try and show me the error i already knew about.\r\n\r\nIt would be great if you stored the last errors line #, and ensured that the # didn't change >2 lines before stealing focusing.\r\n\r\nReproducible steps: On a large .psc file (I was modifying a 2.7k line script), copy and paste an if statement on a variable, and change the variable name. Return to the top of the script to create the new variable for it, and do the same for the properties (Lazy coding ftw :>), but after pasting the property, the focus will be returned to the last error.\r\n\r\nAlso, are you taking feature requests? If so, i have one but not sure if it's possible to (cleanly) implement."},"comment":{"url":"https://api.github.com/repos/Kapiainen/SublimePapyrus/issues/comments/208584281","html_url":"https://github.com/Kapiainen/SublimePapyrus/issues/15#issuecomment-208584281","issue_url":"https://api.github.com/repos/Kapiainen/SublimePapyrus/issues/15","id":208584281,"user":{"login":"Kapiainen","id":7756625,"avatar_url":"https://avatars.githubusercontent.com/u/7756625?v=3","gravatar_id":"","url":"https://api.github.com/users/Kapiainen","html_url":"https://github.com/Kapiainen","followers_url":"https://api.github.com/users/Kapiainen/followers","following_url":"https://api.github.com/users/Kapiainen/following{/other_user}","gists_url":"https://api.github.com/users/Kapiainen/gists{/gist_id}","starred_url":"https://api.github.com/users/Kapiainen/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Kapiainen/subscriptions","organizations_url":"https://api.github.com/users/Kapiainen/orgs","repos_url":"https://api.github.com/users/Kapiainen/repos","events_url":"https://api.github.com/users/Kapiainen/events{/privacy}","received_events_url":"https://api.github.com/users/Kapiainen/received_events","type":"User","site_admin":false},"created_at":"2016-04-11T22:07:41Z","updated_at":"2016-04-11T22:07:41Z","body":"The upcoming version will include tracking of errors until the linter no longer finds errors. A previously encountered error (or what is assumed to be the same error based on the message and the line it is on) is no longer centered more than once unless the line it is on has changed by more than the value defined in a new user setting (default: 2 lines).\r\n\r\nI still need to do some more testing (the update contains over 20 additions, changes, and fixes), update the readme, and merge the update branch into the master branch. The new version will hopefully be available by the end of this week."}}