Copy editor code to clipboard produces a 'Clipboard copy operation failed' error
Original Reporter info from Mantis: gerardus
-
Reporter name: Gerard V
Original Reporter info from Mantis: gerardus
- Reporter name: Gerard V
Description:
I've seen this one a few times, but now I have reproductible sequence (at least on my setup: FPC 2.3.1, SVN 15559, windows XP SP2 32 bits).
Steps to reproduce:
- Create a new standard project.
- Click on the editor behind the autocreated main form.
- Comment the form variable declaration (two lines) with { }
- Comment either the 'private' or the 'public' reserved word in the form class declaration with //
- Select the 'implementation' or 'initialization' reserved word -> Crash
All the navigation in the code editor is done by arrow keys.
Additional information:
This is what the source code looks like just before step 5
unit Unit1;
{mode objfpc}{
H+}
interface
uses
Classes, SysUtils, LResources, Forms, Controls, Graphics, Dialogs;
type
TForm1 = class(TForm)
private
{ private declarations }
// public
{ public declarations }
end;
{var
Form1: TForm1; }
implementation
initialization
{$I unit1.lrs}
end.
Mantis conversion info:
- Mantis ID: 11548
- Version: 0.9.25 (SVN)
- Fixed in version: 0.9.27 (SVN)
- Fixed in revision: 18105 (#e3b23070),18106 (#b24b71e5)
- Monitored by: » Ask (Alexander S. Klenin), » etrusco (Flávio Etrusco), » gerardus (Gerard V), » @martin_frb (Martin Friebe)
- Target version: 1.4