@@ -364,11 +364,18 @@ <h3>Help menu (Shell and Editor)<a class="headerlink" href="#help-menu-shell-and
364
364
< dt > Clear Breakpoint</ dt >
365
365
< dd > Clear the breakpoint on that line.</ dd >
366
366
</ dl >
367
- < p > Shell and Output windows have the following.</ p >
367
+ < p > Shell and Output windows also have the following.</ p >
368
368
< dl class ="docutils ">
369
369
< dt > Go to file/line</ dt >
370
370
< dd > Same as in Debug menu.</ dd >
371
371
</ dl >
372
+ < p > The Shell window also has an output squeezing facility explained in the
373
+ the < em > Python Shell window</ em > subsection below.</ p >
374
+ < dl class ="docutils ">
375
+ < dt > Squeeze</ dt >
376
+ < dd > If the cursor is over an output line, squeeze all the output between
377
+ the code above and the prompt below down to a ‘Squeezed text’ label.</ dd >
378
+ </ dl >
372
379
</ div >
373
380
</ div >
374
381
< div class ="section " id ="editing-and-navigation ">
@@ -478,6 +485,8 @@ <h3>Calltips<a class="headerlink" href="#calltips" title="Permalink to this head
478
485
</ div >
479
486
< div class ="section " id ="python-shell-window ">
480
487
< h3 > Python Shell window< a class ="headerlink " href ="#python-shell-window " title ="Permalink to this headline "> ¶</ a > </ h3 >
488
+ < p > The editing features described above work when entering code interactively.
489
+ IDLE’s Shell window also responds to the following keys.</ p >
481
490
< ul >
482
491
< li > < p class ="first "> < kbd class ="kbd docutils literal notranslate "> C-c</ kbd > interrupts executing command</ p >
483
492
</ li >
@@ -493,6 +502,14 @@ <h3>Python Shell window<a class="headerlink" href="#python-shell-window" title="
493
502
</ ul >
494
503
</ li >
495
504
</ ul >
505
+ < p > Shell has a special facility for squeezing output lines down to a
506
+ ‘Squeezed text’ label. This is done automatically for output over N lines
507
+ (N = 50 by default). N can be changed in the PyShell section of the General
508
+ page of the Settings dialog. Output with fewer lines can be squeezed by
509
+ right clicking on the output. This can be useful for extra long lines.</ p >
510
+ < p > Squeezed output is expanded in place by double-clicking the label.
511
+ It can also be sent to the clipboard or a separate view window by
512
+ right-clicking the label.</ p >
496
513
</ div >
497
514
< div class ="section " id ="text-colors ">
498
515
< h3 > Text colors< a class ="headerlink " href ="#text-colors " title ="Permalink to this headline "> ¶</ a > </ h3 >
@@ -797,7 +814,7 @@ <h3>Navigation</h3>
797
814
< br />
798
815
< br />
799
816
800
- Last updated on Oct 27 , 2018.
817
+ Last updated on Oct 28 , 2018.
801
818
< a href ="https://docs.python.org/3/bugs.html "> Found a bug</ a > ?
802
819
< br />
803
820
0 commit comments