Precision, Performance, Confidence. ™

How to Comment Multiple Lines in MET/CAL Editor

Select the rows you wish to comment out. Press Ctrl+H to bring up the Find and Replace tool. Click the Regex button (in the square in the image below). In the Find field, type "\n" which is the new line character, and in the Replace field, type "\n#" which will add a # after the new line. Then replace all.



Have more questions? Submit a request

Comments

  • Avatar
    Chuang Zhang

    Smart way! If there is a keyboard shortcut will be much better.

    Comment actions Permalink
  • Avatar
    William (Bill) Spath

    Set cursor to the start of the first line then

    Shift - Alt - Down Arrow

    Highlight all the rows that you want to comment
    Then Press # to comment the rows out

    Comment actions Permalink

Please sign in to leave a comment.