{"action":"created","issue":{"url":"https://api.github.com/repos/kilianc/adobe-generator/issues/33","labels_url":"https://api.github.com/repos/kilianc/adobe-generator/issues/33/labels{/name}","comments_url":"https://api.github.com/repos/kilianc/adobe-generator/issues/33/comments","events_url":"https://api.github.com/repos/kilianc/adobe-generator/issues/33/events","html_url":"https://github.com/kilianc/adobe-generator/issues/33","id":6836117,"number":33,"title":"Photoshop creates duplicates textStyleRanges","user":{"login":"kilianc","id":385716,"avatar_url":"https://avatars.githubusercontent.com/u/385716?v=3","gravatar_id":"","url":"https://api.github.com/users/kilianc","html_url":"https://github.com/kilianc","followers_url":"https://api.github.com/users/kilianc/followers","following_url":"https://api.github.com/users/kilianc/following{/other_user}","gists_url":"https://api.github.com/users/kilianc/gists{/gist_id}","starred_url":"https://api.github.com/users/kilianc/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kilianc/subscriptions","organizations_url":"https://api.github.com/users/kilianc/orgs","repos_url":"https://api.github.com/users/kilianc/repos","events_url":"https://api.github.com/users/kilianc/events{/privacy}","received_events_url":"https://api.github.com/users/kilianc/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/kilianc/adobe-generator/labels/TO-MOVE","name":"TO-MOVE","color":"ededed"}],"state":"open","locked":false,"assignee":{"login":"TomRuark","id":2171763,"avatar_url":"https://avatars.githubusercontent.com/u/2171763?v=3","gravatar_id":"","url":"https://api.github.com/users/TomRuark","html_url":"https://github.com/TomRuark","followers_url":"https://api.github.com/users/TomRuark/followers","following_url":"https://api.github.com/users/TomRuark/following{/other_user}","gists_url":"https://api.github.com/users/TomRuark/gists{/gist_id}","starred_url":"https://api.github.com/users/TomRuark/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/TomRuark/subscriptions","organizations_url":"https://api.github.com/users/TomRuark/orgs","repos_url":"https://api.github.com/users/TomRuark/repos","events_url":"https://api.github.com/users/TomRuark/events{/privacy}","received_events_url":"https://api.github.com/users/TomRuark/received_events","type":"User","site_admin":false},"milestone":{"url":"https://api.github.com/repos/kilianc/adobe-generator/milestones/1","html_url":"https://github.com/kilianc/adobe-generator/milestones/1.0","labels_url":"https://api.github.com/repos/kilianc/adobe-generator/milestones/1/labels","id":160908,"number":1,"title":"1.0","description":"- Ps only\r\n- Solid Asset Generation\r\n- Exploration of Proto 1.5\r\n- Exploration of Proto 2.0\r\n- Buggy Live Browser Preview","creator":{"login":"kilianc","id":385716,"avatar_url":"https://avatars.githubusercontent.com/u/385716?v=3","gravatar_id":"","url":"https://api.github.com/users/kilianc","html_url":"https://github.com/kilianc","followers_url":"https://api.github.com/users/kilianc/followers","following_url":"https://api.github.com/users/kilianc/following{/other_user}","gists_url":"https://api.github.com/users/kilianc/gists{/gist_id}","starred_url":"https://api.github.com/users/kilianc/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kilianc/subscriptions","organizations_url":"https://api.github.com/users/kilianc/orgs","repos_url":"https://api.github.com/users/kilianc/repos","events_url":"https://api.github.com/users/kilianc/events{/privacy}","received_events_url":"https://api.github.com/users/kilianc/received_events","type":"User","site_admin":false},"open_issues":17,"closed_issues":51,"state":"open","created_at":"2012-08-14T19:46:48Z","updated_at":"2013-01-31T00:24:38Z","due_on":"2012-12-21T08:00:00Z","closed_at":null},"comments":3,"created_at":"2012-09-13T00:45:33Z","updated_at":"2015-12-08T20:06:26Z","closed_at":null,"body":"textStyleRange[1] and textStyleRange[2] are identical and that means that I can not loop through the styles array... any thoughts? @isonno @timriot @tomwmcrae \n\nHere the dump:\n\n```\ntextKey.warp.warpStyle: warpNone\ntextKey.warp.warpValue: 0\ntextKey.warp.warpPerspective: 0\ntextKey.warp.warpPerspectiveOther: 0\ntextKey.warp.warpRotate: horizontal\ntextKey.textClickPoint.horizontal: 3.613%\ntextKey.textClickPoint.vertical: 24.089%\ntextKey.textGridding: none\ntextKey.orientation: horizontal\ntextKey.antiAlias: antiAliasSharp\ntextKey.textShape[0].char: box\ntextKey.textShape[0].orientation: horizontal\ntextKey.textShape[0].transform.xx: 1\ntextKey.textShape[0].transform.xy: 0\ntextKey.textShape[0].transform.yx: 0\ntextKey.textShape[0].transform.yy: 1\ntextKey.textShape[0].transform.tx: 0\ntextKey.textShape[0].transform.ty: 0\ntextKey.textShape[0].rowCount: 1\ntextKey.textShape[0].columnCount: 1\ntextKey.textShape[0].rowMajorOrder: true\ntextKey.textShape[0].rowGutter: 0pt\ntextKey.textShape[0].columnGutter: 0pt\ntextKey.textShape[0].spacing: 0pt\ntextKey.textShape[0].frameBaselineAlignment: alignByAscent\ntextKey.textShape[0].firstBaselineMinimum: 0pt\ntextKey.textShape[0].bounds.top: 0\ntextKey.textShape[0].bounds.left: 0\ntextKey.textShape[0].bounds.bottom: 317.7734375\ntextKey.textShape[0].bounds.right: 285\ntextKey.textStyleRange[0].from: 0\ntextKey.textStyleRange[0].to: 5\ntextKey.textStyleRange[0].textStyle.styleSheetHasParent: true\ntextKey.textStyleRange[0].textStyle.fontPostScriptName: HelveticaNeue-CondensedBold\ntextKey.textStyleRange[0].textStyle.fontName: Helvetica Neue\ntextKey.textStyleRange[0].textStyle.fontStyleName: Condensed Bold\ntextKey.textStyleRange[0].textStyle.fontScript: 0\ntextKey.textStyleRange[0].textStyle.fontTechnology: 1\ntextKey.textStyleRange[0].textStyle.size: 24pt\ntextKey.textStyleRange[0].textStyle.autoLeading: true\ntextKey.textStyleRange[0].textStyle.autoKern: manual\ntextKey.textStyleRange[0].textStyle.baseline: normal\ntextKey.textStyleRange[0].textStyle.strikethrough: strikethroughOff\ntextKey.textStyleRange[0].textStyle.underline: underlineOff\ntextKey.textStyleRange[0].textStyle.color.red: 255\ntextKey.textStyleRange[0].textStyle.color.grain: 0.00389105058275\ntextKey.textStyleRange[0].textStyle.color.blue: 0.00389105058275\ntextKey.textStyleRange[1].from: 5\ntextKey.textStyleRange[1].to: 10\ntextKey.textStyleRange[1].textStyle.styleSheetHasParent: true\ntextKey.textStyleRange[1].textStyle.fontPostScriptName: HelveticaNeue-CondensedBold\ntextKey.textStyleRange[1].textStyle.fontName: Helvetica Neue\ntextKey.textStyleRange[1].textStyle.fontStyleName: Condensed Bold\ntextKey.textStyleRange[1].textStyle.fontScript: 0\ntextKey.textStyleRange[1].textStyle.fontTechnology: 1\ntextKey.textStyleRange[1].textStyle.size: 24pt\ntextKey.textStyleRange[1].textStyle.autoLeading: true\ntextKey.textStyleRange[1].textStyle.autoKern: manual\ntextKey.textStyleRange[1].textStyle.baseline: normal\ntextKey.textStyleRange[1].textStyle.strikethrough: strikethroughOff\ntextKey.textStyleRange[1].textStyle.underline: underlineOff\ntextKey.textStyleRange[1].textStyle.color.red: 255\ntextKey.textStyleRange[1].textStyle.color.grain: 255\ntextKey.textStyleRange[1].textStyle.color.blue: 255\ntextKey.textStyleRange[2].from: 5\ntextKey.textStyleRange[2].to: 10\ntextKey.textStyleRange[2].textStyle.styleSheetHasParent: true\ntextKey.textStyleRange[2].textStyle.fontPostScriptName: HelveticaNeue-CondensedBold\ntextKey.textStyleRange[2].textStyle.fontName: Helvetica Neue\ntextKey.textStyleRange[2].textStyle.fontStyleName: Condensed Bold\ntextKey.textStyleRange[2].textStyle.fontScript: 0\ntextKey.textStyleRange[2].textStyle.fontTechnology: 1\ntextKey.textStyleRange[2].textStyle.size: 24pt\ntextKey.textStyleRange[2].textStyle.autoLeading: true\ntextKey.textStyleRange[2].textStyle.autoKern: manual\ntextKey.textStyleRange[2].textStyle.baseline: normal\ntextKey.textStyleRange[2].textStyle.strikethrough: strikethroughOff\ntextKey.textStyleRange[2].textStyle.underline: underlineOff\ntextKey.textStyleRange[2].textStyle.color.red: 255\ntextKey.textStyleRange[2].textStyle.color.grain: 255\ntextKey.textStyleRange[2].textStyle.color.blue: 255\ntextKey.textStyleRange[3].from: 10\ntextKey.textStyleRange[3].to: 14\ntextKey.textStyleRange[3].textStyle.styleSheetHasParent: true\ntextKey.textStyleRange[3].textStyle.fontPostScriptName: HelveticaNeue-CondensedBold\ntextKey.textStyleRange[3].textStyle.fontName: Helvetica Neue\ntextKey.textStyleRange[3].textStyle.fontStyleName: Condensed Bold\ntextKey.textStyleRange[3].textStyle.fontScript: 0\ntextKey.textStyleRange[3].textStyle.fontTechnology: 1\ntextKey.textStyleRange[3].textStyle.size: 24pt\ntextKey.textStyleRange[3].textStyle.autoLeading: true\ntextKey.textStyleRange[3].textStyle.autoKern: manual\ntextKey.textStyleRange[3].textStyle.baseline: normal\ntextKey.textStyleRange[3].textStyle.strikethrough: strikethroughOff\ntextKey.textStyleRange[3].textStyle.underline: underlineOff\ntextKey.textStyleRange[3].textStyle.color.red: 125.000000149012\ntextKey.textStyleRange[3].textStyle.color.grain: 62.7470818161964\ntextKey.textStyleRange[3].textStyle.color.blue: 62.7470818161964\ntextKey.paragraphStyleRange[0].from: 0\ntextKey.paragraphStyleRange[0].to: 8\ntextKey.paragraphStyleRange[0].paragraphStyle.styleSheetHasParent: true\ntextKey.paragraphStyleRange[0].paragraphStyle.align: left\ntextKey.paragraphStyleRange[0].paragraphStyle.firstLineIndent: 0pt\ntextKey.paragraphStyleRange[0].paragraphStyle.startIndent: 0pt\ntextKey.paragraphStyleRange[0].paragraphStyle.endIndent: 0pt\ntextKey.paragraphStyleRange[0].paragraphStyle.spaceBefore: 0pt\ntextKey.paragraphStyleRange[0].paragraphStyle.hyphenate: false\ntextKey.paragraphStyleRange[1].from: 8\ntextKey.paragraphStyleRange[1].to: 14\ntextKey.paragraphStyleRange[1].paragraphStyle.styleSheetHasParent: true\ntextKey.paragraphStyleRange[1].paragraphStyle.align: right\ntextKey.paragraphStyleRange[1].paragraphStyle.firstLineIndent: 0pt\ntextKey.paragraphStyleRange[1].paragraphStyle.startIndent: 0pt\ntextKey.paragraphStyleRange[1].paragraphStyle.endIndent: 0pt\ntextKey.paragraphStyleRange[1].paragraphStyle.spaceBefore: 0pt\ntextKey.paragraphStyleRange[1].paragraphStyle.hyphenate: false\ntextKey.kerningRange[0].from: 4\ntextKey.kerningRange[0].to: 5\ntextKey.kerningRange[0].kerning: -20"},"comment":{"url":"https://api.github.com/repos/kilianc/adobe-generator/issues/comments/163000147","html_url":"https://github.com/kilianc/adobe-generator/issues/33#issuecomment-163000147","issue_url":"https://api.github.com/repos/kilianc/adobe-generator/issues/33","id":163000147,"user":{"login":"urbanstarship","id":16213112,"avatar_url":"https://avatars.githubusercontent.com/u/16213112?v=3","gravatar_id":"","url":"https://api.github.com/users/urbanstarship","html_url":"https://github.com/urbanstarship","followers_url":"https://api.github.com/users/urbanstarship/followers","following_url":"https://api.github.com/users/urbanstarship/following{/other_user}","gists_url":"https://api.github.com/users/urbanstarship/gists{/gist_id}","starred_url":"https://api.github.com/users/urbanstarship/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/urbanstarship/subscriptions","organizations_url":"https://api.github.com/users/urbanstarship/orgs","repos_url":"https://api.github.com/users/urbanstarship/repos","events_url":"https://api.github.com/users/urbanstarship/events{/privacy}","received_events_url":"https://api.github.com/users/urbanstarship/received_events","type":"User","site_admin":false},"created_at":"2015-12-08T20:06:26Z","updated_at":"2015-12-08T20:06:26Z","body":"Are you willing to share your ugly ass dump function?  I'm writing a plug-in and I'm having a hell of a time figuring out what the full list of layer parameters are..."}}