{"action":"created","issue":{"url":"https://api.github.com/repos/simonsteele/pn/issues/31","labels_url":"https://api.github.com/repos/simonsteele/pn/issues/31/labels{/name}","comments_url":"https://api.github.com/repos/simonsteele/pn/issues/31/comments","events_url":"https://api.github.com/repos/simonsteele/pn/issues/31/events","html_url":"https://github.com/simonsteele/pn/issues/31","id":60256431,"number":31,"title":"Patch for Project Groups and Caret Slop","user":{"login":"simonsteele","id":3320563,"avatar_url":"https://avatars.githubusercontent.com/u/3320563?v=3","gravatar_id":"","url":"https://api.github.com/users/simonsteele","html_url":"https://github.com/simonsteele","followers_url":"https://api.github.com/users/simonsteele/followers","following_url":"https://api.github.com/users/simonsteele/following{/other_user}","gists_url":"https://api.github.com/users/simonsteele/gists{/gist_id}","starred_url":"https://api.github.com/users/simonsteele/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/simonsteele/subscriptions","organizations_url":"https://api.github.com/users/simonsteele/orgs","repos_url":"https://api.github.com/users/simonsteele/repos","events_url":"https://api.github.com/users/simonsteele/events{/privacy}","received_events_url":"https://api.github.com/users/simonsteele/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/simonsteele/pn/labels/Component-UI","name":"Component-UI","color":"ededed"},{"url":"https://api.github.com/repos/simonsteele/pn/labels/Priority-Medium","name":"Priority-Medium","color":"ededed"},{"url":"https://api.github.com/repos/simonsteele/pn/labels/Type-Patch","name":"Type-Patch","color":"ededed"}],"state":"open","locked":false,"assignee":{"login":"simonsteele","id":3320563,"avatar_url":"https://avatars.githubusercontent.com/u/3320563?v=3","gravatar_id":"","url":"https://api.github.com/users/simonsteele","html_url":"https://github.com/simonsteele","followers_url":"https://api.github.com/users/simonsteele/followers","following_url":"https://api.github.com/users/simonsteele/following{/other_user}","gists_url":"https://api.github.com/users/simonsteele/gists{/gist_id}","starred_url":"https://api.github.com/users/simonsteele/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/simonsteele/subscriptions","organizations_url":"https://api.github.com/users/simonsteele/orgs","repos_url":"https://api.github.com/users/simonsteele/repos","events_url":"https://api.github.com/users/simonsteele/events{/privacy}","received_events_url":"https://api.github.com/users/simonsteele/received_events","type":"User","site_admin":false},"milestone":null,"comments":4,"created_at":"2015-03-08T13:24:34Z","updated_at":"2015-03-08T13:24:49Z","closed_at":null,"body":"Original [issue 2](https://code.google.com/p/pnotepad/issues/detail?id=2) created by simonsteele on 2008-03-10T13:43:47.000Z:\n\nFixes contributed by Jarek Bartkowiak:\r\n\r\n1. Added options for setting scintilla's y caret policy. As a default PN2 \r\nuses 3 lines as the jump when scrolling up and down, which is not my \r\nfavourite. I added two options to let the user to configure it (see\r\nOptions_dialog.jpg - this are the options I prefer).\r\n\r\n2. If you rename project and then close PN2 no &quot;Save modified items&quot; prompt\r\nis displayed. Renaming project does not set its 'dirty flag'. I fixed\r\nFolder::SetName(LPCTSTR name_) method in project.cpp to solve this problem.\r\n\r\n3. Saving and restoring workspace changes order of the open files and does\r\nnot preserve selected (focused) file (see Workspace.jpg and \r\nWorkspace_after_restore.jpg).\r\n\r\nI only managed to do minor modifications that preserve selected file\r\n(CMainFrame::WorkspaceChildCloseNotify() method in mainfrm.cpp). To solve\r\nthis problem one should modify 'pnws' file format (add 'selected file'\r\nattribute) and change method that gets open documents list. The problem is \r\nthat this method call Win32 EnumChildWindows function that enumerates \r\nwindows in its Z order (not the true order of the document windows).\r\n\r\n4. Minors changes in methods that save workspaces. See \r\nCMainFrame::OnFileSaveWorkspaceState() and CMainFrame::SaveWorkspaceAs() \r\nmethods. "},"comment":{"url":"https://api.github.com/repos/simonsteele/pn/issues/comments/77748571","html_url":"https://github.com/simonsteele/pn/issues/31#issuecomment-77748571","issue_url":"https://api.github.com/repos/simonsteele/pn/issues/31","id":77748571,"user":{"login":"simonsteele","id":3320563,"avatar_url":"https://avatars.githubusercontent.com/u/3320563?v=3","gravatar_id":"","url":"https://api.github.com/users/simonsteele","html_url":"https://github.com/simonsteele","followers_url":"https://api.github.com/users/simonsteele/followers","following_url":"https://api.github.com/users/simonsteele/following{/other_user}","gists_url":"https://api.github.com/users/simonsteele/gists{/gist_id}","starred_url":"https://api.github.com/users/simonsteele/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/simonsteele/subscriptions","organizations_url":"https://api.github.com/users/simonsteele/orgs","repos_url":"https://api.github.com/users/simonsteele/repos","events_url":"https://api.github.com/users/simonsteele/events{/privacy}","received_events_url":"https://api.github.com/users/simonsteele/received_events","type":"User","site_admin":false},"created_at":"2015-03-08T13:24:49Z","updated_at":"2015-03-08T13:24:49Z","body":"Comment [#4](https://code.google.com/p/pnotepad/issues/detail?id=2#c4) originally posted by simonsteele on 2008-07-30T22:14:19.000Z:\n\nNow done, thanks!"}}