From ad995611b82d8b0f1b3ab56f7ffed41b57cbac7a Mon Sep 17 00:00:00 2001 From: lazarus Date: Thu, 25 Jan 2001 15:42:57 +0000 Subject: [PATCH] Documentation added. Shane git-svn-id: trunk@136 - --- ide/uniteditor.pp | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/ide/uniteditor.pp b/ide/uniteditor.pp index c9c07fe25d..10766a7dc1 100644 --- a/ide/uniteditor.pp +++ b/ide/uniteditor.pp @@ -45,6 +45,12 @@ type TNotifyFileEvent = procedure(Sender: Tobject; Filename : String) of Object; +{---- TSource Editor --- + TSourceEditor is the class that controls access the the Editor and the source code. + It creates the PopupMenu that appears when you right-click on the editor. It calls + the editor functions for bookmarks, saves/opens files, adds control code to the source, + creates the initial code for a form, and holds the unitname and filename properties. + ---- TSource Editor ---} TSourceEditor = class private FAOwner : TComponent; //Owned by a TSourceNotebook @@ -55,7 +61,8 @@ type FHighlighter: TmwPasSyn; FEditor : TmwCustomEdit; {$endif} - FControl: TComponent; //if this is a Form or Datamodule, this is used + //if this is a Form or Datamodule, this is used + FControl: TComponent; //pulled out of the editor by the Function Getxxx FCurrentCursorXLine : Integer;