View Issue Details
ID | Project | Category | View Status | Date Submitted | Last Update |
---|---|---|---|---|---|
0030684 | Lazarus | IDE | public | 2016-10-03 03:31 | 2016-10-20 16:36 |
Reporter | accorp | Assigned To | Martin Friebe | ||
Priority | normal | Severity | minor | Reproducibility | always |
Status | closed | Resolution | fixed | ||
Platform | OS | Windows 7, Ubuntu 14.04 | OS Version | ||
Product Version | 1.6.1 (SVN) | Product Build | 53067 | ||
Target Version | 1.6.2 | Fixed in Version | 1.7 (SVN) | ||
Summary | 0030684: Editor exception on paster-then-undo text with compiler directive | ||||
Description | Pasting "{$if}<space><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. | ||||
Tags | No tags attached. | ||||
Fixed in Revision | 53133 | ||||
LazTarget | 1.6.2 | ||||
Widgetset | GTK 2, Win32/Win64 | ||||
Attached Files |
|
|
|
|
I can confirm on Laz trunk / Win 10. |
|
The problem was caused by a bug in the trailing spaces trimmer. Fixed, please test and close if ok |
|
It works, thank you. |
Date Modified | Username | Field | Change |
---|---|---|---|
2016-10-03 03:31 | accorp | New Issue | |
2016-10-03 03:35 | accorp | File Added: ubuntu.png | |
2016-10-03 10:11 | wp | Note Added: 0094936 | |
2016-10-03 13:39 | Martin Friebe | Assigned To | => Martin Friebe |
2016-10-03 13:39 | Martin Friebe | Status | new => assigned |
2016-10-17 04:28 | Martin Friebe | Fixed in Revision | => 53133 |
2016-10-17 04:28 | Martin Friebe | LazTarget | => 1.6.2 |
2016-10-17 04:28 | Martin Friebe | Note Added: 0095195 | |
2016-10-17 04:28 | Martin Friebe | Status | assigned => resolved |
2016-10-17 04:28 | Martin Friebe | Fixed in Version | => 1.7 (SVN) |
2016-10-17 04:28 | Martin Friebe | Resolution | open => fixed |
2016-10-17 04:28 | Martin Friebe | Target Version | => 1.6.2 |
2016-10-20 16:35 | accorp | Note Added: 0095236 | |
2016-10-20 16:36 | accorp | Status | resolved => closed |