Bug #18857 2013-01-04 23:56

mariand

Alt + Up/Down catch during moving other rows

During moving selected block with Alt + Up or Alt + Down, the row with embedded comment (/* */) becomes part of moving block.

Category
Application::Editor
Group
Platform:All
Status
Closed
Close date
2013-01-11 21:16
Assigned to
alpha0010
mortenmacfly 2013-01-06 08:54

Can you describe a little better? Can you show a code snippet?

mariand 2013-01-09 03:11
<code>
        if (!jeVelkePismeno(znak))
            continue;

        int index = znak - 'A';           /* Poradové &#269;íslo pismena: A = 0, B = 1, C = 2, ... */
        vRiadku[index]++;
        celkom [index]++;
</code>

Try to select and move the first two rows by Alt + Down beyond the row with the comment.

Maybe IMPORTANT: There are non-ANSI characters in the comment. After removing them or replacing by ANSI characters, it works OK.
alpha0010 2013-01-11 21:16

This bug is now fixed in HEAD.

Thank you for reporting it.