Loading ...
Sorry, an error occurred while loading the content.

Bracket matching bug

Expand Messages
  • Eb
    System: Windows 7 NoteTab: NTPro, full, ver 7011 Bracket matching DIFFERS, depending on where the cursor is placed, AND whether any text follows the Strating
    Message 1 of 1 , Nov 12, 2012
    • 0 Attachment
      System: Windows 7
      NoteTab: NTPro, full, ver 7011

      Bracket matching DIFFERS, depending on where the cursor is placed, AND whether any text follows the Strating bracket on the same line.

      To demonstrate this, place the cursor inside a pair of brackets
      Place cursor inside a pair of brackets, at various locations.
      inside a bracket pair at the start
      inside a bracket pair at the end
      column 1 AFTER last-on-line opening bracket
      then press CTRL+M:

      <
      [
      | (
      | {
      | | { text following open bracket
      | | < [ ( { oneliners } ) ] >
      | | }
      | }
      | )
      ]
      >

      I think this problem has been reported before, perhaps in less detail.

      Curiously, the quote matching does something of the opposite, and no need to span lines (which it seems incapable of anyway):

      " test "
      " test
      line-spanning quote "
      ' test '


      It is common practice for programmers to place braces, enclosing code blocks, on separate lines for clarity. Mismatched brackets makes this nifty tool useless.



      Eb
    Your message has been successfully submitted and would be delivered to recipients shortly.