Menu

BUG - List index out of bounds

2012-05-08
2012-12-07
  • Jeff Goodenough

    Jeff Goodenough - 2012-05-08

    Hi, Pierre - another problem!

    If I type something incorrectly in a require statement (that's the only time I've seen this problem), and try to correct it with backspace, an error dialog pops up "List index out of bounds (-1)". I can OK it and backspace again, the dialog pops up again. The text on the screen is unchanged but the characters are in fact deleted (if I hit the End key the cursor goes to where I have deleted to - if you understand me).

    The only way to get out of this is to save the file and restart Dev-PHP.

    It doesn't need to be an error either: if I am trying to type

        require ('email.inc');
    

    I get the dialog when I type the second quote, but the quote doesn't appear on the screen (although it's there!). After dismissing the dialog, I type the remaining right parenthesis and semi-colon. The parenthesis is shown, but not the semi-colon. If I now save and restart Dev-PHP, the line is there correctly.

     
  • Jeff Goodenough

    Jeff Goodenough - 2012-05-08

    Update: I only have to save the file, close it and reopen it to fix the problem. I don't need to restart Dev-PHP.

     
  • Pierre Fauconnier

    This is a bug related to my experimental code-folding (*).
    I think I've fixed it. There's a new version 08-May-2012 16:4x
    http://devphp2.free.fr/files/devphp.exe (exe only, 1.6 M)
    http://devphp2.free.fr/files/devphp2_6_0_355.exe (installer: exe + environment, 2.0 M)

    By the way, we have a tracker for bugs here
    https://sourceforge.net/tracker/?group_id=54728&atid=474628
    It's more convenient to track bugs.
    There's also another tracker for feature requests.
    For new items, could you use these trackers in preference to the forum, please?

    Kind regards,
    Pierre.

    (*) The MediaWiki documentation seems to be broken at sf.net - so does their site status

     
  • Jeff Goodenough

    Jeff Goodenough - 2012-05-08

    Sorry - of course I will use the bug tracker in future. I should have realised. I will replace the existing exe with the linked one. Thanks.

     

Log in to post a comment.