{"action":"created","issue":{"url":"https://api.github.com/repos/Alexey-T/CudaText/issues/275","labels_url":"https://api.github.com/repos/Alexey-T/CudaText/issues/275/labels{/name}","comments_url":"https://api.github.com/repos/Alexey-T/CudaText/issues/275/comments","events_url":"https://api.github.com/repos/Alexey-T/CudaText/issues/275/events","html_url":"https://github.com/Alexey-T/CudaText/issues/275","id":128398841,"number":275,"title":"Tree Api","user":{"login":"Alexey-T","id":4154978,"avatar_url":"https://avatars.githubusercontent.com/u/4154978?v=3","gravatar_id":"","url":"https://api.github.com/users/Alexey-T","html_url":"https://github.com/Alexey-T","followers_url":"https://api.github.com/users/Alexey-T/followers","following_url":"https://api.github.com/users/Alexey-T/following{/other_user}","gists_url":"https://api.github.com/users/Alexey-T/gists{/gist_id}","starred_url":"https://api.github.com/users/Alexey-T/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Alexey-T/subscriptions","organizations_url":"https://api.github.com/users/Alexey-T/orgs","repos_url":"https://api.github.com/users/Alexey-T/repos","events_url":"https://api.github.com/users/Alexey-T/events{/privacy}","received_events_url":"https://api.github.com/users/Alexey-T/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":3,"created_at":"2016-01-24T14:05:42Z","updated_at":"2016-01-24T18:04:18Z","closed_at":null,"body":"@eastorwest\r\n@kvichans\r\nhttp://wiki.freepascal.org/CudaText_API#tree_proc\r\nhttp://wiki.freepascal.org/CudaText_API#Sidebar_tabs\r\nBeta of api--пока дошлифовать надо.  В понедельник доделаю. беты нет. это для работы с деревом -любым, деревом синтаксиса или другим\r\nМожно делать новые панели с деревом (PROC_SIDEPANEL*)\r\n\r\nя сделал для себя плагин который просто делает новую панель и там в дереве итемы с иконками. или делал печать в консоль дерева кода (все уровни)"},"comment":{"url":"https://api.github.com/repos/Alexey-T/CudaText/issues/comments/174325661","html_url":"https://github.com/Alexey-T/CudaText/issues/275#issuecomment-174325661","issue_url":"https://api.github.com/repos/Alexey-T/CudaText/issues/275","id":174325661,"user":{"login":"eastorwest","id":16493752,"avatar_url":"https://avatars.githubusercontent.com/u/16493752?v=3","gravatar_id":"","url":"https://api.github.com/users/eastorwest","html_url":"https://github.com/eastorwest","followers_url":"https://api.github.com/users/eastorwest/followers","following_url":"https://api.github.com/users/eastorwest/following{/other_user}","gists_url":"https://api.github.com/users/eastorwest/gists{/gist_id}","starred_url":"https://api.github.com/users/eastorwest/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/eastorwest/subscriptions","organizations_url":"https://api.github.com/users/eastorwest/orgs","repos_url":"https://api.github.com/users/eastorwest/repos","events_url":"https://api.github.com/users/eastorwest/events{/privacy}","received_events_url":"https://api.github.com/users/eastorwest/received_events","type":"User","site_admin":false},"created_at":"2016-01-24T18:04:18Z","updated_at":"2016-01-24T18:04:18Z","body":"Не получается добавить элемент в TreeView на новой панели. Код из Plugin:\r\n```python\r\napp_proc(PROC_SIDEPANEL_ADD, \"OPEN FILES,-1,tree\")\r\nh_tree = app_proc(PROC_SIDEPANEL_GET_CONTROL, \"OPEN FILES\")\r\ntree_proc(h_tree, TREE_ITEM_ADD, 0, -1, \"new item\", -1)\r\n```"}}