Tapatalk

Code folding jump to start or end of block

Code folding jump to start or end of block

4

    Apr 28, 2009#1

    Hi,
    when code folding is active for the current file, does a shortcut key exist to jump to the start or end of the block, the cursor is in?
    ... or otherwise, jump to the corresponding indentation delimiter, when the cursor is located on a folding delimiter.
    I searched the UE help and forum, but couldn't find anything on this.

    Thanks
    Lutz

      Apr 29, 2009#2

      Hey, found out myself.
      For anyone running into the same "problem":
      Use the same strings that define the "Open Fold Strings" and "Close Fold Strings" to define them as "Open Brace Strings" and "Close Brace Strings".
      Then place the cursor directly before one of the folding delimiters and press Ctrl+B. The complete block is marked and the cursor jumps to the corresponding (other) end of that block.

      5
      NewbieNewbie
      5

        May 08, 2015#3

        GREAT TIP, THANKS!