#468 BugFix #4250 - Block comment does not work with >=1024 characters on line

Next_release
closed
nobody
None
6
2013-07-03
2013-04-03
No

Generated a patch using WinMerge.

1 Attachments

Discussion

  • Don HO

    Don HO - 2013-04-28

    Could you provide me the steps to reproduce the problem of comment > 1024 char?

    Don

     
  • Hugo

    Hugo - 2013-04-29

    Choose a programming language to enable comments, like C;
    write a line with more than 1023 characters;
    push ctrl + q (edit -> comment/uncomment -> toggle block comment).

    Hugo

     
    Last edit: Hugo 2013-04-29
  • SharpC

    SharpC - 2013-04-30

    Did you forget delete [] linebuf; in your patch?

     
  • Hugo

    Hugo - 2013-05-03

    Surely I forgot, if it is really necessary (which I don't know). In any case, another patch.

    Hugo

     
  • Don HO

    Don HO - 2013-05-22
    • status: open --> accepted
    • Priority: 3 --> 6
     
  • Don HO

    Don HO - 2013-05-22

    Memory should always be freeed.
    new -> delete
    malloc -> free

    Don't mix both.

    Don

     
  • Don HO

    Don HO - 2013-07-03
    • status: accepted --> closed
     

Get latest updates about Open Source Projects, Conferences and News.

Sign up for the SourceForge newsletter:





No, thanks