Menu

#588 Fix delimiter select crash

Next_major_release
closed
nobody
None
9
2015-03-12
2014-06-10
No

https://sourceforge.net/p/notepad-plus/bugs/4864/

Set the delimiters to the same character, such as an apostrophe. Then Ctrl+DblClick in an empty document will cause a crash.

Documents like this can also cause crashes:

a

b

Note that the middle line contains a single space. Ctrl+DblClick in the middle line will cause a crash.

This patch is similar to revision 1059.

1 Attachments

Discussion

  • Andreas Jonsson

    Andreas Jonsson - 2014-06-10

    Disregard the above patch. It breaks the case when you have the left delimiter as the first character, like:

    ' test test '
    

    Use NppNotification2.cpp.patch instead.

     
  • Don HO

    Don HO - 2014-07-26

    I cannot absolutely reproduce the crash.
    Am I missing somethings?

    Don

     
  • Don HO

    Don HO - 2015-02-13
    • status: open --> accepted
    • Priority: 5 --> 9
     
  • Don HO

    Don HO - 2015-03-12
    • Status: accepted --> closed