Last change
on this file was 227, checked in by chronos, 17 months ago |
- Added: Test form.
- Added: Interface translation.
- Added: Common package.
|
File size:
725 bytes
|
Line | |
---|
1 | unit FormOutput;
|
---|
2 |
|
---|
3 | interface
|
---|
4 |
|
---|
5 | uses
|
---|
6 | Classes, SysUtils, Forms, Controls, Graphics, Dialogs, StdCtrls, SynEdit,
|
---|
7 | SynHighlighterAny, SynHighlighterPas, SynHighlighterCpp, SynHighlighterXML,
|
---|
8 | SynHighlighterPHP, FormEx;
|
---|
9 |
|
---|
10 | type
|
---|
11 |
|
---|
12 | { TFormOutput }
|
---|
13 |
|
---|
14 | TFormOutput = class(TFormEx)
|
---|
15 | Label1: TLabel;
|
---|
16 | SynCppSyn1: TSynCppSyn;
|
---|
17 | SynEditOutput: TSynEdit;
|
---|
18 | SynPasSyn1: TSynPasSyn;
|
---|
19 | SynPHPSyn1: TSynPHPSyn;
|
---|
20 | SynXMLSyn1: TSynXMLSyn;
|
---|
21 | public
|
---|
22 | procedure Clear;
|
---|
23 | procedure SetText(Text: string);
|
---|
24 | end;
|
---|
25 |
|
---|
26 |
|
---|
27 | implementation
|
---|
28 |
|
---|
29 | {$R *.lfm}
|
---|
30 |
|
---|
31 | { TFormOutput }
|
---|
32 |
|
---|
33 | procedure TFormOutput.Clear;
|
---|
34 | begin
|
---|
35 | SynEditOutput.Lines.Clear;
|
---|
36 | end;
|
---|
37 |
|
---|
38 | procedure TFormOutput.SetText(Text: string);
|
---|
39 | begin
|
---|
40 | SynEditOutput.Lines.Text := Text;
|
---|
41 | end;
|
---|
42 |
|
---|
43 | end.
|
---|
44 |
|
---|
Note:
See
TracBrowser
for help on using the repository browser.