Editor exception on paster-then-undo text with compiler directive
Original Reporter info from Mantis: accorp @accorp
-
Reporter name:
Original Reporter info from Mantis: accorp @accorp
- Reporter name:
Description:
Pasting "{$if}&LtPos;space>&LtPos;new_line>" (or any other valid directive) and then undoing last operation cause unhandled exception in the editor.
"Invalid argument index in format "Line=%d NType=%s State=%s OpenState=%s Flags=%s StartCol=%d EndCol=%d"."
Steps to reproduce:
Copy next two lines to the clipboard:
{$if} preserve_newline
Put text cursor on the empty line and paste text from the clipboard. Undo last operation with Ctrl+Z or via menu.
Mantis conversion info:
- Mantis ID: 30684
- OS: Windows 7, Ubuntu 14.04
- Build: 53067
- Version: 1.6.1 (SVN)
- Fixed in version: 1.7 (SVN)
- Fixed in revision: 53133 (#681656b0)
- Target version: 1.6.2