{"action":"created","issue":{"url":"https://api.github.com/repos/Choonster-WoW-AddOns/CustomTooltips/issues/4","labels_url":"https://api.github.com/repos/Choonster-WoW-AddOns/CustomTooltips/issues/4/labels{/name}","comments_url":"https://api.github.com/repos/Choonster-WoW-AddOns/CustomTooltips/issues/4/comments","events_url":"https://api.github.com/repos/Choonster-WoW-AddOns/CustomTooltips/issues/4/events","html_url":"https://github.com/Choonster-WoW-AddOns/CustomTooltips/pull/4","id":117846591,"number":4,"title":"Added custom text color for different lines in tooltip body.","user":{"login":"gamma09","id":10649168,"avatar_url":"https://avatars.githubusercontent.com/u/10649168?v=3","gravatar_id":"","url":"https://api.github.com/users/gamma09","html_url":"https://github.com/gamma09","followers_url":"https://api.github.com/users/gamma09/followers","following_url":"https://api.github.com/users/gamma09/following{/other_user}","gists_url":"https://api.github.com/users/gamma09/gists{/gist_id}","starred_url":"https://api.github.com/users/gamma09/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/gamma09/subscriptions","organizations_url":"https://api.github.com/users/gamma09/orgs","repos_url":"https://api.github.com/users/gamma09/repos","events_url":"https://api.github.com/users/gamma09/events{/privacy}","received_events_url":"https://api.github.com/users/gamma09/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":8,"created_at":"2015-11-19T16:08:27Z","updated_at":"2015-11-19T19:22:52Z","closed_at":"2015-11-19T17:29:12Z","pull_request":{"url":"https://api.github.com/repos/Choonster-WoW-AddOns/CustomTooltips/pulls/4","html_url":"https://github.com/Choonster-WoW-AddOns/CustomTooltips/pull/4","diff_url":"https://github.com/Choonster-WoW-AddOns/CustomTooltips/pull/4.diff","patch_url":"https://github.com/Choonster-WoW-AddOns/CustomTooltips/pull/4.patch"},"body":"I added the ability to customize the text colors for each line in the custom tooltip's body, instead of being forced to use the default yellow. Since this made the configuration a little more complex, I added a syntax error checker and an example of a malformed tooltip that will generate a syntax error tooltip. The syntax checker doesn't work for the inline tooltip definitions inside of a macro.\r\n\r\nThe custom coloring is not implemented for the inline tooltip definitions (using #tooltipdesc).\r\nHowever, I intend to add a GUI to allow players to create custom tooltips in-game without having to touch core.lua at all.\r\n\r\nHere are some screenshots of the new version:\r\n\r\nThis is an example of a tooltip using different colors:\r\n![example 1](https://cloud.githubusercontent.com/assets/10649168/11275814/0a4ee7c2-8ea5-11e5-97b1-9cb876db8f12.jpg)\r\n\r\nThis is an example of a tooltip using the default colors:\r\n![example 2](https://cloud.githubusercontent.com/assets/10649168/11275835/1f41ddce-8ea5-11e5-92a6-f220a731c6e7.jpg)\r\n\r\nThis is an example of a syntax error tooltip:\r\n![syntax error](https://cloud.githubusercontent.com/assets/10649168/11275846/31698d80-8ea5-11e5-8a02-400e8468b43d.jpg)\r\n\r\nThis is an example of the tooltip that is displayed when the wrong tooltip name is given:\r\n![not found error](https://cloud.githubusercontent.com/assets/10649168/11275867/402e44a0-8ea5-11e5-915a-b0849794be58.jpg)\r\n\r\nAnd this is an example of the existing inline tooltip description (which does not currently support custom line colors):\r\n![inline example](https://cloud.githubusercontent.com/assets/10649168/11275900/57aea6d8-8ea5-11e5-8c46-cbb1b4aef846.jpg)\r\n"},"comment":{"url":"https://api.github.com/repos/Choonster-WoW-AddOns/CustomTooltips/issues/comments/158164039","html_url":"https://github.com/Choonster-WoW-AddOns/CustomTooltips/pull/4#issuecomment-158164039","issue_url":"https://api.github.com/repos/Choonster-WoW-AddOns/CustomTooltips/issues/4","id":158164039,"user":{"login":"Choonster","id":878073,"avatar_url":"https://avatars.githubusercontent.com/u/878073?v=3","gravatar_id":"","url":"https://api.github.com/users/Choonster","html_url":"https://github.com/Choonster","followers_url":"https://api.github.com/users/Choonster/followers","following_url":"https://api.github.com/users/Choonster/following{/other_user}","gists_url":"https://api.github.com/users/Choonster/gists{/gist_id}","starred_url":"https://api.github.com/users/Choonster/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Choonster/subscriptions","organizations_url":"https://api.github.com/users/Choonster/orgs","repos_url":"https://api.github.com/users/Choonster/repos","events_url":"https://api.github.com/users/Choonster/events{/privacy}","received_events_url":"https://api.github.com/users/Choonster/received_events","type":"User","site_admin":false},"created_at":"2015-11-19T19:22:52Z","updated_at":"2015-11-19T19:22:52Z","body":"I've just added your name to the credits on Curse/WoWI. Is using your real name and GitHub username plus a link to your GitHub profile okay or would you prefer a different name/link?"}}