Last change
on this file was 238, checked in by chronos, 16 months ago |
- Modified: Removed U prefix from unit names.
- Fixed: Memory leaks.
|
File size:
508 bytes
|
Line | |
---|
1 | unit FormAssembler;
|
---|
2 |
|
---|
3 | interface
|
---|
4 |
|
---|
5 | uses
|
---|
6 | Classes, SysUtils, Forms, Controls, Graphics, Dialogs, AsyncProcess, SynEdit,
|
---|
7 | SynHighlighterAny, SynHighlighterMulti;
|
---|
8 |
|
---|
9 | type
|
---|
10 |
|
---|
11 | { TFormAssembler }
|
---|
12 |
|
---|
13 | TFormAssembler = class(TForm)
|
---|
14 | SynAnySyn1: TSynAnySyn;
|
---|
15 | SynEdit1: TSynEdit;
|
---|
16 | public
|
---|
17 | procedure Select(Position: TPoint);
|
---|
18 | end;
|
---|
19 |
|
---|
20 |
|
---|
21 | implementation
|
---|
22 |
|
---|
23 | {$R *.lfm}
|
---|
24 |
|
---|
25 | { TFormAssembler }
|
---|
26 |
|
---|
27 | procedure TFormAssembler.Select(Position: TPoint);
|
---|
28 | begin
|
---|
29 | SynEdit1.CaretXY := Position;
|
---|
30 | SynEdit1.SetFocus;
|
---|
31 | Show;
|
---|
32 | end;
|
---|
33 |
|
---|
34 | end.
|
---|
35 |
|
---|
Note:
See
TracBrowser
for help on using the repository browser.