Q62388: PWB Doesn’t Update Mark Location If Mark Moves Up or Left
Article: Q62388 Product(s): See article Version(s): 1.00 | 1.00 Operating System(s): OS/2 | 1.00 Keyword(s): ENDUSER | buglist1.00 | mspl13_basic Last Modified: 13-JUN-1990 If you set a mark in a file, and that location then moves upward or toward the left in the file, PWB does not reset the mark location; however, it does correctly update marks that move downward or to the right in the file. Consider the following file: /* Test.dat */ test1 test2 test3 Place the cursor on the "2" in test2. Choose the Search.Define Mark menu option. Name the mark "mark1" and press ENTER. Now, move the cursor to another location in the file. Choose the Search.Go To Mark option from the menus. Go to "mark1". Note that the cursor is back on the "2" in test2. Next, add another blank line between test1 and test2. Again, move your cursor and go to mark1. Note that the cursor is back on the "2" in test2. Now, delete both the lines between test1 and test2. Select the Search.Go To Mark option from the menus. Note that the cursor is on the same location as it was before you deleted these lines. The same behavior will happen if you delete any of the characters before the "2" in the test2 line. Microsoft has confirmed this to be a problem in the Programmer's WorkBench (PWB) version 1.00. We are researching this problem and will post new information here as it becomes available.
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.