{"id":5561,"date":"2012-09-13T16:34:21","date_gmt":"2012-09-13T20:34:21","guid":{"rendered":"http:\/\/cscircles.cemc.uwaterloo.ca\/?page_id=5561"},"modified":"2020-04-08T08:43:03","modified_gmt":"2020-04-08T12:43:03","slug":"7-de","status":"publish","type":"page","link":"https:\/\/cscircles.cemc.uwaterloo.ca\/dev\/7-de\/","title":{"rendered":"7: Rich Editor"},"content":{"rendered":"<p>Die restlichen Lektionen erlauben es dir, einen Editor mit \"rich features\" zu verwenden. Du kannst ihn dir in der Box unten genauer ansehen.<\/p>\n<p><form class=\"pbform\" action=\"#\" id=\"pbform0\" method=\"POST\">\n<div class='pybox modeNeutral  facultative' id='pybox0'>\n<div class=\"heading\"><span class='type'>Example: <\/span><span class='title'>Rich Editor Demo<\/span><\/div>Probiere den \"rich editor\" aus.<div class='pyboxTextwrap pyboxCodewrap RW resizy'  style='height: 526px;'><textarea wrap='off' name='usercode0' id='usercode0'  cols=10 rows=20   class='pyboxCode RW'>\ninfo = \"The rich editor does syntax highlighting\"\n# It resizes automatically. Drag the bottom border for manual size.\ncool = True\nfor i in range(0, max(3, 1+2*3-4)):\n   print('It also colours matching parentheses as you type')\n<\/textarea><\/div>\n<div id='pbhistory0' class='flexcontain' style='display:none;'><\/div>\n<input type='hidden' id='defaultCode0' value='info = \\\"The rich editor does syntax highlighting\\\"\\n# It resizes automatically. Drag the bottom border for manual size.\\ncool = True\\nfor i in range(0, max(3, 1+2*3-4)):\\n   print(\\u0027It also colours matching parentheses as you type\\u0027)\\n'><\/input>\n<div class='pyboxbuttons'><table><tr>\n<td><input type='submit' name='submit' id='submit0' value=' '\/><\/td>\n<td><input type='button' name='consolecopy' value=\"Open in console\" onclick=\"pbConsoleCopy(0)\" ><\/td>\n<td><input type='button' name='visualize' value=\"Visualize\" onclick=\"pbVisualize(0,'N')\" ><\/td>\n<td><input type='button' name='history' value=\"History\" onclick=\"historyClick(0,'7.sample')\" ><\/td>\n<\/tr><\/table><select id='pbSelect0' class='selectmore'><option name='more'>More actions...<\/option>\n<option name='default' data-pbonclick=\"pbSetText(0,descape($('#defaultCode0').val()))\" >Reset code to default<\/option>\n<\/select><\/div>\n<input type=\"hidden\" name=\"lang\" value=\"\"\/><input type=\"hidden\" id=\"inputInUse0\" name=\"inputInUse\" value=\"Y\"\/>\n<input type=\"hidden\" name=\"pyId\" value=\"0\"\/>\n<input type=\"hidden\" name=\"hash\" value=\"06ca5644301dbe0c898f0a1e1cd094e8\"\/>\n<div id='pbresults0' class='pbresults avoidline'><\/div>\n<\/div>\n<\/form>\n<script type='text\/javascript'>jQuery(function(){pbToggleCodeMirror(0);});document.getElementById(\"submit0\").value = \"Run program\";document.getElementById(\"inputInUse0\").value = \"N\";<\/script>\n<\/p>\n<p>Du kannst diesen Editor so wie \u00fcblich verwenden.<\/p>\n<p><table class='pywarn'><tr><td class='pywarnleft'><img src='https:\/\/cscircles.cemc.uwaterloo.ca\/dev\/wp-content\/plugins\/pybox\/files\/warning.png'\/><\/td><td class='pywarnright'><span>  Der \"rich editor\" wird in allen folgenden Lektionen verwendet. <\/span><\/td><\/table><\/p>\n<p>Diese Lektion ist <em>so<\/em> reichhaltig (\"rich\"!), dass sie in drei Unterlektionen aufgeteilt ist, die in jeder Reihenfolge beendet werden k\u00f6nnen. W\u00e4hle eine, um fortzufahren:<\/p>\n<ol style=\"list-style-type: upper-alpha;\">\n<li><a class=\"open-same-window\" href=\"\/7a-d\/\">Strings (St\u00fccke von Text) und Zeichen (Buchstaben und Zahlen).<\/a><\/li>\n<li><a class=\"open-same-window\" href=\"\/7b-de\/\">Mathematische Operationen (*, +, -, \/), Klammern und das Importieren von Methoden aus dem <code>math<\/code> Modul.<\/a><\/li>\n<li><a class=\"open-same-window\" href=\"\/7c-de\/\">Schleifen mit \"<code>while<\/code>\"\u00a0und\u00a0\"<code>for<\/code>\"\u00a0und Programmflusskontrolle mit \"<code>break<\/code>\"\u00a0und \"<code>continue<\/code>\".<\/a><\/li>\n<\/ol>\n","protected":false},"excerpt":{"rendered":"<p>Die restlichen Lektionen erlauben es dir, einen Editor mit \"rich features\" zu verwenden. Du kannst ihn dir in der Box unten genauer ansehen. Example: Rich Editor DemoProbiere den \"rich editor\" aus. info = \"The rich editor does syntax highlighting\" # &hellip; <a href=\"https:\/\/cscircles.cemc.uwaterloo.ca\/dev\/7-de\/\">Continue reading <span class=\"meta-nav\">&rarr;<\/span><\/a><\/p>\n","protected":false},"author":2653,"featured_media":0,"parent":0,"menu_order":0,"comment_status":"closed","ping_status":"closed","template":"","meta":{"footnotes":""},"class_list":["post-5561","page","type-page","status-publish","hentry"],"_links":{"self":[{"href":"https:\/\/cscircles.cemc.uwaterloo.ca\/dev\/wp-json\/wp\/v2\/pages\/5561","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/cscircles.cemc.uwaterloo.ca\/dev\/wp-json\/wp\/v2\/pages"}],"about":[{"href":"https:\/\/cscircles.cemc.uwaterloo.ca\/dev\/wp-json\/wp\/v2\/types\/page"}],"author":[{"embeddable":true,"href":"https:\/\/cscircles.cemc.uwaterloo.ca\/dev\/wp-json\/wp\/v2\/users\/2653"}],"replies":[{"embeddable":true,"href":"https:\/\/cscircles.cemc.uwaterloo.ca\/dev\/wp-json\/wp\/v2\/comments?post=5561"}],"version-history":[{"count":11,"href":"https:\/\/cscircles.cemc.uwaterloo.ca\/dev\/wp-json\/wp\/v2\/pages\/5561\/revisions"}],"predecessor-version":[{"id":5831,"href":"https:\/\/cscircles.cemc.uwaterloo.ca\/dev\/wp-json\/wp\/v2\/pages\/5561\/revisions\/5831"}],"wp:attachment":[{"href":"https:\/\/cscircles.cemc.uwaterloo.ca\/dev\/wp-json\/wp\/v2\/media?parent=5561"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}