Results 1 to 7 of 7

Thread: Opening all regions quickly

Hybrid View

  1. #1

    Thread Starter
    Member
    Join Date
    Jun 2005
    Posts
    48

    Opening all regions quickly

    Hey there,

    I read in the useful tips thread about collapsing all regions with the (ctr M O) shortcut, but is there one to open them all?

    I am debugging a program for a company, and often times I find that I want to do a text search, and the region's tend to hinder this.

    Thanks

    - Josh

  2. #2
    Super Moderator jmcilhinney's Avatar
    Join Date
    May 2005
    Location
    Sydney, Australia
    Posts
    111,221

    Re: Opening all regions quickly

    I believe Ctrl+M, Ctrl+L will expand all but the auto-generated code region (thankfully) and then collapse the whole class on the second go. All the shortcuts for regions are on the menu under Edit -> Outlining.

  3. #3

    Thread Starter
    Member
    Join Date
    Jun 2005
    Posts
    48

    Re: Opening all regions quickly

    Thank you kindly

    - Josh

  4. #4
    type Woss is new Grumpy; wossname's Avatar
    Join Date
    Aug 2002
    Location
    #!/bin/bash
    Posts
    5,682

    Re: Opening all regions quickly

    If you press Ctrl-A that highlights the entire file, then hit <tab> to open all regions (including comment regions).

    That's not an official combo I don't think but it certainly does work, and it also forces a reformatting of the code.
    I don't live here any more.

  5. #5

    Thread Starter
    Member
    Join Date
    Jun 2005
    Posts
    48

    Re: Opening all regions quickly

    That actually works perfectly.

    This will make things a lot easier.

  6. #6
    Super Moderator jmcilhinney's Avatar
    Join Date
    May 2005
    Location
    Sydney, Australia
    Posts
    111,221

    Re: Opening all regions quickly

    I just re-read your original post. You may not be aware but in the Find and Replace dialogue there is a checkbox that indicates whether the search should include hidden (collapsed) text.

  7. #7

    Thread Starter
    Member
    Join Date
    Jun 2005
    Posts
    48

    Re: Opening all regions quickly

    hrmmm, I cannot find this option.

    but I am going to assume you are right.

    *Edit*

    Nevermind. =)

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width