Skip to content

Commit 157d883

Browse files
committed
yay inline docs
1 parent 3af8c24 commit 157d883

2 files changed

Lines changed: 9 additions & 0 deletions

File tree

‎v3/css/pytutor.css‎

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -562,6 +562,14 @@ div.ExecutionVisualizer #executionSliderFooter {
562562
margin-top: -7px; /* make it butt up against #executionSlider */
563563
}
564564

565+
div.ExecutionVisualizer #executionSliderDocs {
566+
margin-top: 5px;
567+
margin-bottom: 12px;
568+
width: 95%;
569+
font-size: 8pt;
570+
color: #666;
571+
}
572+
565573

566574
/* darken slider handle a bit */
567575
div.ExecutionVisualizer .ui-slider .ui-slider-handle {

‎v3/js/pytutor.js‎

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -404,6 +404,7 @@ ExecutionVisualizer.prototype.render = function() {
404404
<button id="jmpStepFwd", type="button">Forward &gt;</button>\
405405
<button id="jmpLastInstr", type="button">Last &gt;&gt;</button>\
406406
</div>\
407+
<div id="executionSliderDocs"><font color="#e93f34">NEW!</font> Click on a line of code to set a <b>breakpoint</b> where you want to jump. Then use the <b>Left</b> and <b>Right</b> arrow keys and the Back and Forward buttons to jump there.</div>\
407408
<div id="rawUserInputDiv">\
408409
<span id="userInputPromptStr"/>\
409410
<input type="text" id="raw_input_textbox" size="30"/>\

0 commit comments

Comments
 (0)