I am using <br><br>Python 2.7.1+ (r271:86832, Apr 11 2011, 18:05:24) <br>Type "copyright", "credits" or "license" for more information.<br><br>IPython 0.12.1 -- An enhanced Interactive Python.<br>
<br>on ubuntu 11.04<br><br>thanks!<br><br>Chao<br><br><div class="gmail_quote">2012/6/8 Paul Hobson <span dir="ltr"><<a href="mailto:pmhobson@gmail.com" target="_blank">pmhobson@gmail.com</a>></span><br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
Python 2.7.2, IPython 12.1 (32-bit), Windows 7 (64-bit):<br>
TAB key does not indent 1 line when cursor is at the start of the line<br>
TAB key does not indent 1 or more lines when they are hightlighted.<br>
<br>
Python 2.7.1+, IPython 13.dev, Linux Mint 12 (all 32-bit) works as expected.<br>
<br>
Hope this helps,<br>
-paul<br>
<div class="HOEnZb"><div class="h5"><br>
On Fri, Jun 8, 2012 at 12:09 PM, Brian Granger <<a href="mailto:ellisonbg@gmail.com">ellisonbg@gmail.com</a>> wrote:<br>
> Hmm, I am on FF 12 as well and I don't see this. Can anyone else<br>
> confirm this issue?<br>
><br>
> On Fri, Jun 8, 2012 at 11:27 AM, Chao YUE <<a href="mailto:chaoyuejoy@gmail.com">chaoyuejoy@gmail.com</a>> wrote:<br>
>> Thanks Brian, then which browser are you using? I am using firefox 12.0 in<br>
>> which select several lines then TAB doesn't work...<br>
>><br>
>> cheers,<br>
>><br>
>> Chao<br>
>><br>
>> 2012/6/8 Brian Granger <<a href="mailto:ellisonbg@gmail.com">ellisonbg@gmail.com</a>><br>
>>><br>
>>> In the notebook:<br>
>>><br>
>>> * Hitting TAB will insert 4 spaces.<br>
>>> * Selecting multiple lines of text and hitting TAB will indent all of<br>
>>> then 4 spaces. SHIFT-TAB will dedent.<br>
>>><br>
>>> Cheers,<br>
>>><br>
>>> Brian<br>
>>><br>
>>> On Fri, Jun 8, 2012 at 11:10 AM, Chao YUE <<a href="mailto:chaoyuejoy@gmail.com">chaoyuejoy@gmail.com</a>> wrote:<br>
>>> > Dear all,<br>
>>> ><br>
>>> > how do you do indentation in notebook? suppose write my code line by<br>
>>> > line in<br>
>>> > interactive way, now I finish testing and I want to indent them and<br>
>>> > give them a function name? Normally I adjust them manually by hitting<br>
>>> > whitespace key line by line. But I have to say, notebook is fantastic!<br>
>>> ><br>
>>> > cheers,<br>
>>> ><br>
>>> > Chao<br>
>>> > --<br>
>>> ><br>
>>> > ***********************************************************************************<br>
>>> > Chao YUE<br>
>>> > Laboratoire des Sciences du Climat et de l'Environnement (LSCE-IPSL)<br>
>>> > UMR 1572 CEA-CNRS-UVSQ<br>
>>> > Batiment 712 - Pe 119<br>
>>> > 91191 GIF Sur YVETTE Cedex<br>
>>> > Tel: (33) 01 69 08 29 02; Fax:01.69.08.77.16<br>
>>> ><br>
>>> > ************************************************************************************<br>
>>> ><br>
>>> ><br>
>>> > _______________________________________________<br>
>>> > IPython-User mailing list<br>
>>> > <a href="mailto:IPython-User@scipy.org">IPython-User@scipy.org</a><br>
>>> > <a href="http://mail.scipy.org/mailman/listinfo/ipython-user" target="_blank">http://mail.scipy.org/mailman/listinfo/ipython-user</a><br>
>>> ><br>
>>><br>
>>><br>
>>><br>
>>> --<br>
>>> Brian E. Granger<br>
>>> Cal Poly State University, San Luis Obispo<br>
>>> <a href="mailto:bgranger@calpoly.edu">bgranger@calpoly.edu</a> and <a href="mailto:ellisonbg@gmail.com">ellisonbg@gmail.com</a><br>
>>> _______________________________________________<br>
>>> IPython-User mailing list<br>
>>> <a href="mailto:IPython-User@scipy.org">IPython-User@scipy.org</a><br>
>>> <a href="http://mail.scipy.org/mailman/listinfo/ipython-user" target="_blank">http://mail.scipy.org/mailman/listinfo/ipython-user</a><br>
>><br>
>><br>
>><br>
>><br>
>> --<br>
>> ***********************************************************************************<br>
>> Chao YUE<br>
>> Laboratoire des Sciences du Climat et de l'Environnement (LSCE-IPSL)<br>
>> UMR 1572 CEA-CNRS-UVSQ<br>
>> Batiment 712 - Pe 119<br>
>> 91191 GIF Sur YVETTE Cedex<br>
>> Tel: (33) 01 69 08 29 02; Fax:01.69.08.77.16<br>
>> ************************************************************************************<br>
>><br>
>><br>
>> _______________________________________________<br>
>> IPython-User mailing list<br>
>> <a href="mailto:IPython-User@scipy.org">IPython-User@scipy.org</a><br>
>> <a href="http://mail.scipy.org/mailman/listinfo/ipython-user" target="_blank">http://mail.scipy.org/mailman/listinfo/ipython-user</a><br>
>><br>
><br>
><br>
><br>
> --<br>
> Brian E. Granger<br>
> Cal Poly State University, San Luis Obispo<br>
> <a href="mailto:bgranger@calpoly.edu">bgranger@calpoly.edu</a> and <a href="mailto:ellisonbg@gmail.com">ellisonbg@gmail.com</a><br>
> _______________________________________________<br>
> IPython-User mailing list<br>
> <a href="mailto:IPython-User@scipy.org">IPython-User@scipy.org</a><br>
> <a href="http://mail.scipy.org/mailman/listinfo/ipython-user" target="_blank">http://mail.scipy.org/mailman/listinfo/ipython-user</a><br>
_______________________________________________<br>
IPython-User mailing list<br>
<a href="mailto:IPython-User@scipy.org">IPython-User@scipy.org</a><br>
<a href="http://mail.scipy.org/mailman/listinfo/ipython-user" target="_blank">http://mail.scipy.org/mailman/listinfo/ipython-user</a><br>
</div></div></blockquote></div><br><br clear="all"><br>-- <br><div>***********************************************************************************</div>
<div>Chao YUE<br>Laboratoire des Sciences du Climat et de l'Environnement (LSCE-IPSL)<br>UMR 1572 CEA-CNRS-UVSQ<br>Batiment 712 - Pe 119<br>91191 GIF Sur YVETTE Cedex</div>
<div>Tel: (33) 01 69 08 29 02; Fax:01.69.08.77.16<br></div>
<div>************************************************************************************</div><br>