{"id":686,"date":"2012-05-03T04:19:24","date_gmt":"2012-05-03T04:19:24","guid":{"rendered":"http:\/\/www.kurianos.com\/wordpress\/?p=686"},"modified":"2012-05-03T04:25:57","modified_gmt":"2012-05-03T04:25:57","slug":"maya-expression-editor-with-syntax-highlight","status":"publish","type":"post","link":"https:\/\/www.kurianos.com\/wordpress\/?p=686","title":{"rendered":"Maya Expression Editor With Syntax Highlight"},"content":{"rendered":"<p>I found that if you make a single line edit in expressionEditor.mel then you will get a nice looking expression editor in maya.<\/p>\n<p>Here is the change<\/p>\n<p>[Python]<br \/>\n\/\/~ string $path = \\`scrollField -wordWrap false EEmultiText\\`;<br \/>\nstring $path = \\`cmdScrollFieldExecuter -width 200 -height 100 -showLineNumbers true -commandCompletion true -sourceType mel EEmultiText\\`;<br \/>\n[\/Python]<\/p>\n<p>Search for string $path = \\`scrollField -wordWrap false EEmultiText\\`; in expressionEditor.mel and replace that line with the new code. so now you have a expression editor with syntax highlight, line number, font changer with mouse wheel and more.<\/p>\n<p>enjoy \ud83d\ude42<\/p>\n","protected":false},"excerpt":{"rendered":"<p>I found that if you make a single line edit in expressionEditor.mel then you will get a nice looking expression editor in maya. Here is the change [Python] \/\/~ string $path = \\`scrollField -wordWrap false EEmultiText\\`; string $path = \\`cmdScrollFieldExecuter -width 200 -height 100 -showLineNumbers true -commandCompletion true -sourceType mel EEmultiText\\`; [\/Python] Search for string [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"ngg_post_thumbnail":0,"footnotes":""},"categories":[11,24],"tags":[],"class_list":["post-686","post","type-post","status-publish","format-standard","hentry","category-maya","category-ubuntu"],"_links":{"self":[{"href":"https:\/\/www.kurianos.com\/wordpress\/index.php?rest_route=\/wp\/v2\/posts\/686","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.kurianos.com\/wordpress\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.kurianos.com\/wordpress\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.kurianos.com\/wordpress\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.kurianos.com\/wordpress\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=686"}],"version-history":[{"count":4,"href":"https:\/\/www.kurianos.com\/wordpress\/index.php?rest_route=\/wp\/v2\/posts\/686\/revisions"}],"predecessor-version":[{"id":690,"href":"https:\/\/www.kurianos.com\/wordpress\/index.php?rest_route=\/wp\/v2\/posts\/686\/revisions\/690"}],"wp:attachment":[{"href":"https:\/\/www.kurianos.com\/wordpress\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=686"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.kurianos.com\/wordpress\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=686"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.kurianos.com\/wordpress\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=686"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}