KnowledgeBase Archive

An Archive of Early Microsoft KnowledgeBase Articles

View on GitHub

Q31491: Parentheses Matching in Microsoft Editor; Arg Meta PBal

Article: Q31491
Product(s): See article
Version(s): 1.00
Operating System(s): OS/2
Keyword(s): ENDUSER | tar63957 | mspl13_basic
Last Modified: 31-OCT-1988

The Microsoft Editor has the capability of matching parentheses
without altering the current file. Meta PBal prevents the file from
being edited while balancing parentheses and brackets.

The following are various other options for Pbal:

1. Pbal: Scan backwards through the file, balancing parentheses and
   brackets. The first unbalanced one is highlighted when found. If it
   is found and is not visible, the editor displays the matching line,
   with the highlighted matching character. Note that the search does
   not include the current cursor position, and that the scan only
   looks for more left brackets or parentheses than right, not just an
   unequal amount.

2. Arg Pbal: Performs similarly to Pbal, except that it scans
   forward in the file and looks for more right brackets or parentheses
   than left.

3. Arg Meta Pbal: Performs similarly to Arg Pbal except that the
   file is not updated.

THE INFORMATION PROVIDED IN THE MICROSOFT KNOWLEDGE BASE IS PROVIDED "AS IS" WITHOUT WARRANTY OF ANY KIND. MICROSOFT DISCLAIMS ALL WARRANTIES, EITHER EXPRESS OR IMPLIED, INCLUDING THE WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. IN NO EVENT SHALL MICROSOFT CORPORATION OR ITS SUPPLIERS BE LIABLE FOR ANY DAMAGES WHATSOEVER INCLUDING DIRECT, INDIRECT, INCIDENTAL, CONSEQUENTIAL, LOSS OF BUSINESS PROFITS OR SPECIAL DAMAGES, EVEN IF MICROSOFT CORPORATION OR ITS SUPPLIERS HAVE BEEN ADVISED OF THE POSSIBILITY OF SUCH DAMAGES. SOME STATES DO NOT ALLOW THE EXCLUSION OR LIMITATION OF LIABILITY FOR CONSEQUENTIAL OR INCIDENTAL DAMAGES SO THE FOREGOING LIMITATION MAY NOT APPLY.

Copyright Microsoft Corporation 1986-2002.