Menu

5.0.1 Crash when editing - solid repro

2008-07-18
2012-11-13
  • Nobody/Anonymous

    Hi,

    It looks like the crash when editing is some sort of initialization problem?  Try this:

    1) Create a new text document, call it "bug.php".  Enter the following code:
    <?php
            echo "<th>hello</th>";
    ?>

    2) Save it.
    3) Move the cursor to just before the closing angle bracket of the first th, ie between  "<th" and ">"
    4) Press space.  NPP crashes instantly with no error message.

    This ONLY happens if putting a space in this location is the first thing you do.
    It doesn't happen if you don't save it.
    It doesn't happen if, after saving, you type a space at the start of the file and delete it.
    It DOES happen if, after saving, you type a space at the start of the file and press 'undo'.

    I'm using WindowsXP MCE SP3.

     
    • Don HO

      Don HO - 2008-07-18

      It'll be fixed in v5.0.2 (will be available this weekend).

      Don

       
    • Nobody/Anonymous

      That seems to be similar to the problem I already described here:

      http://sourceforge.net/forum/forum.php?thread_id=2120136&forum_id=331753

      Greetings from Germany
      Dominik

       
    • Nobody/Anonymous

      <td style="border: 0.5pt solid #cccccc;">'.$value['description'].'</td>

      When I move cursor after #cccccc; and press space Notepad++ crash. I am useng Windows Vista basic