Menu

BUG: line delete crashes Notepad++ v5.1

btodd
2008-12-02
2012-11-13
  • btodd

    btodd - 2008-12-02

    This minimal example was tedious to create as NP kept crashing! Create an asp file:

    <%
        function Test
            Set Conn = Nothing
        end function
    %>

    Put your cursor at the beginning of the line "Set Conn...", then SHIFT-DOWN_ARROW to hilite the row, then press DELETE...and NP should crash.  This is just one example; I have others but trying to minimize the example is too tedious.

     
    • btodd

      btodd - 2008-12-05

      I found the problem but it's bad news for me. It wasn't any of the plugins, it was SciLexer.dll. The version that comes with the current NP++ has a bug for ASP that has never been fixed so I've been using an older version that doesn't have the bug. Unfortunately, the older version is now causing the delete line bug in NP.

      So I guess it's still Scintilla's problem?  I'm screwed :(

       
    • Fabio

      Fabio - 2008-12-03

      I'm using Vista SP1 and Notepad++ 5.1.1 ANSI, and it works perfectly. It might be that this bug was present in 5.1 but it was fixed in 5.1.1, try using that.

       
    • Don HO

      Don HO - 2008-12-04

      > Put your cursor at the beginning of the line "Set Conn...",
      > then SHIFT-DOWN_ARROW to hilite the row,
      > then press DELETE...and NP should crash.

      This could be the plugins'issue.
      Could you remove them one by one to identify the guilty one?

      Don