Menu

#19 Dedent, Indent Region. Plus Collapsible Sections.

closed-works-for-me
nobody
pythonwin (20)
5
2005-06-29
2003-12-17
mike foord
No

In IDLE I use the Indent and Unindent region options -
frequently.
Particularly by their shortcuts - 'ctrl-]' and 'ctrl-['.
Not only does pythonwin use a different shortcut for
dedent region - but it doesn't have a shortcut at all for
indent region.

For this region I tend to edit my modules in IDLE and
only use pythonwin for my main code - because of it's
quick 'import/reload - module' option. (Which
intermittently fails to reload a module by the way... -
*possibly* caused by occasional conflicts with Psyco
the optimizing compiler ?).

Also an option to collapse sections of code from view
would be useful.

If these features I request are *already* available -
could you contact me on mike at pcblokes dot com ??

Thanks

Fuzzy

Discussion

  • TLis

    TLis - 2005-06-27

    Logged In: YES
    user_id=1186126

    Indent region in pythonwin?
    Select the region and press Tab key

     
  • Tony Meyer

    Tony Meyer - 2005-06-29

    Logged In: YES
    user_id=552329

    And dedent is shift-tab. These are much more common than
    ctrl-] and ctrl=] in my experience.

    To collapse a block, click the little minus on the left of
    the window that appears at the start of each block.

     
  • Mark Hammond

    Mark Hammond - 2005-06-29

    Logged In: YES
    user_id=14198

    Folding etc can also be achieved with the keypad +/- and *
    keys ( the latter collapses every top-level fold)

    See pywin\default.cfg for keyboard assignment, and the .chm
    file that ships with pythonwin for more details on the
    keyboard assignments and how to change them

    Please re-open if these responses don't answer your questions.

     
  • Mark Hammond

    Mark Hammond - 2005-06-29
    • status: open --> closed-works-for-me
     

Log in to post a comment.