Menu

#1 Access violation

1.0
closed
nobody
None
2020-04-30
2020-04-29
David
No

Access violation when attempting to wrap comments, or use auto-wrap comments on windows Vista with ms visual c redistributables v 14.25.28508.3. Comment gets truncated at WrapAtColumn number.

Related

Tickets: #1

Discussion

  • Kered13

    Kered13 - 2020-04-29

    Please provide:

    • Notepad++ version (including 64 bit or 32 bit).
    • Sample text to reproduce the error.
    • What language are you using?
     
  • David

    David - 2020-04-30

    Notepad++ version 7.8.6 32 bit

    sample comment (this is a single line):
    // Incidentally, we can pass anything this way, and that's how we could remove the "X" button from the pop up if I decide I want to do that. maybe something like hs.custom.hidecloseText or something.

    Language: JavaScript

    Action: Plugins ->Comment Wrap -> Wrap Selection
    Result: Comment truncated, Access Violation

    Also occurs with Auto Wrap Comments enabled.

     
  • Kered13

    Kered13 - 2020-04-30

    Thank you, I can confirm that I can reproduce the bug and will start looking into it.

    From an initial glance, it looks like the vertical edge settings in NP++ have changed, and this might be related to the problem, as my plugin reads these settings. However setting an explicit wrap column does not act as a workaround, which should bypass reading those settings. So it may be something else.

     
  • David

    David - 2020-04-30

    You're welcome and I agree, as I have the wrap set at 80 columns in the .ini file. Thanks for looking into it.

     
  • Kered13

    Kered13 - 2020-04-30

    I have fixed the problem. It turned out to be caused by wrapping a comment line that was followed by a blank line, which was not covered by my test cases. New versions of the plugin have been uploaded to the downloads page.

    Also I was apparently logged into the wrong account before. I didn't even realize I had two accounts...

     
    • David

      David - 2020-05-01

      Confirmed working on my system as well. Thank you.

      On Thursday, April 30, 2020, 1:12:28 PM EDT, Kered13 derekbrowncmu@users.sourceforge.net wrote:

      I have fixed the problem. It turned out to be caused by wrapping a comment line that was followed by a blank line, which was not covered by my test cases. New versions of the plugin have been uploaded to the downloads page.

      Also I was apparently logged into the wrong account before. I didn't even realize I had two accounts...


      [tickets:#1] Access violation

      Status: open
      Milestone: 1.0
      Created: Wed Apr 29, 2020 08:26 AM UTC by David
      Last Updated: Thu Apr 30, 2020 01:59 PM UTC

      Owner: nobody

      Access violation when attempting to wrap comments, or use auto-wrap comments on windows Vista with ms visual c redistributables v 14.25.28508.3. Comment gets truncated at WrapAtColumn number.


      Sent from sourceforge.net because you indicated interest in https://sourceforge.net/p/kered13-notepad-plugins/tickets/1/

      To unsubscribe from further messages, please visit https://sourceforge.net/auth/subscriptions/

       

      Related

      Tickets: #1

  • Kered13

    Kered13 - 2020-04-30
    • status: open --> closed
     

Log in to post a comment.