Sign in Join

Live chat for Free Pascal, Lazarus, Delphi and every Pascal programmer.

Mailing lists / lazarus / 2011-02

LAZARUS editor

4 messages · 3 people ·

Reply by email Subscribe to this list Your subscription

Read-only archive. Use j and k to move between messages.

Zelimir Ikovic

All files like unit1.pas or so is always divided into 2 section: interface and implementation

When I open a file it shows whole file. It would be nice if I have an option to open it and see it through two edit windows placed on same form: UPPER edit window to see interface and LOWER to se implementation. Then when I click to let say:

procedure Button2Click(Sender: TObject);

line in UPPER edit window in lower window it jump on correspondig line

procedure TForm1.Button2Click(Sender: TObject);
begin
  ShowMessage('Hello World');
end;

Reply by email

Mattias Gaertner
to Zelimir Ikovic
Show quoted text 15 lines
All files like unit1.pas or so is always divided into 2 section: interface and implementation When I open a file it shows whole file. It would be nice if I have an option to open it and see it through two edit windows placed on same form: UPPER edit window to see interface and LOWER to se implementation. Then when I click to let say: procedure Button2Click(Sender: TObject); line in UPPER edit window in lower window it jump on correspondig line procedure TForm1.Button2Click(Sender: TObject); begin ShowMessage('Hello World'); end;

Do you know the shortcut Ctrl+Shift+Up/Down?

Mattias

Reply by email

Martin
to Zelimir Ikovic: All files like unit1.pas or so is always divided into 2 section: interface and…
Zelimir Ikovic wrote 6 lines
All files like unit1.pas or so is always divided into 2 section: interface and implementation When I open a file it shows whole file. It would be nice if I have an option to open it and see it through two edit windows placed on same form: UPPER edit window to see interface and LOWER to se implementation. Then when I click to let say:

Unfortunately not yet possible, the best you can do is using multiply windows, and "lock" one to the interface section, so it will not be scrolled away:
http://lazarus-dev.blogspot.com/2010/04/page-locking-or-multiply-editor-windows.html

splitting editor within one window is on the todo list, but no date for it yet

Reply by email

Zelimir Ikovic

Here is pic attached:

Zelimir Ikovic wrote 33 lines
From: Zelimir Ikovic Subject: [Lazarus] LAZARUS editor To: Received: Saturday, February 12, 2011, 7:24 AM All files like unit1.pas or so is always divided into 2 section: interface and implementation When I open a file it shows whole file. It would be nice if I have an option to open it and see it through two edit windows placed on same form: UPPER edit window to see interface and LOWER to se implementation. Then when I click to let say: procedure Button2Click(Sender: TObject); line in UPPER edit window in lower window it jump on correspondig line procedure TForm1.Button2Click(Sender: TObject); begin ? ShowMessage('Hello World'); end; -- _______________________________________________ Lazarus mailing list http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus

-------------- next part --------------
A non-text attachment was scrubbed...
Name: editor.JPG
Type: image/jpeg
Size: 129932 bytes
Desc: not available
URL: <http://lists.lazarus.freepascal.org/pipermail/lazarus/attachments/20110212/05107f5d/attachment-0001.jpe>

Reply by email