mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-09-04 19:00:27 +02:00
Refactor: reorder uses sections.
git-svn-id: trunk@58207 -
This commit is contained in:
parent
90b07c0f9e
commit
880624a747
@ -16,7 +16,11 @@ unit BaseIDEIntf;
|
|||||||
interface
|
interface
|
||||||
|
|
||||||
uses
|
uses
|
||||||
Classes, SysUtils, LazUTF8, LazConfigStorage, Dialogs, MacroIntf;
|
Classes, SysUtils,
|
||||||
|
// LazUtils
|
||||||
|
LazUTF8, LazConfigStorage,
|
||||||
|
// IdeIntf
|
||||||
|
MacroIntf;
|
||||||
|
|
||||||
type
|
type
|
||||||
TGetIDEConfigStorage = function(const Filename: string; LoadFromDisk: Boolean
|
TGetIDEConfigStorage = function(const Filename: string; LoadFromDisk: Boolean
|
||||||
|
@ -11,8 +11,12 @@ unit ColumnDlg;
|
|||||||
interface
|
interface
|
||||||
|
|
||||||
uses
|
uses
|
||||||
Classes, SysUtils, LCLProc, Forms, Controls, Graphics, Dialogs, LResources,
|
Classes, SysUtils,
|
||||||
ComCtrls, StdCtrls, Buttons, ExtCtrls, ObjInspStrConsts;
|
// LCL
|
||||||
|
LCLProc, Forms, Controls, Graphics, Dialogs, LResources,
|
||||||
|
ComCtrls, StdCtrls, Buttons, ExtCtrls,
|
||||||
|
// IdeIntf
|
||||||
|
ObjInspStrConsts;
|
||||||
|
|
||||||
type
|
type
|
||||||
// TODO create more generic collection editor.
|
// TODO create more generic collection editor.
|
||||||
|
@ -16,8 +16,13 @@ unit FormEditingIntf;
|
|||||||
interface
|
interface
|
||||||
|
|
||||||
uses
|
uses
|
||||||
Math, Classes, SysUtils, LCLProc, TypInfo, types, Forms, Controls, LCLClasses,
|
Classes, SysUtils, TypInfo, types, Math,
|
||||||
ProjectIntf, ComponentEditors, ObjectInspector, UnitResources, CompWriterPas;
|
// LCL
|
||||||
|
LCLProc, LCLClasses, Forms, Controls,
|
||||||
|
// LazUtils
|
||||||
|
CompWriterPas,
|
||||||
|
// IdeIntf
|
||||||
|
ProjectIntf, ComponentEditors, ObjectInspector, UnitResources;
|
||||||
|
|
||||||
const
|
const
|
||||||
ComponentPaletteImageWidth = 24;
|
ComponentPaletteImageWidth = 24;
|
||||||
|
@ -20,8 +20,13 @@ unit HelpFPDoc;
|
|||||||
interface
|
interface
|
||||||
|
|
||||||
uses
|
uses
|
||||||
Classes, SysUtils, LCLProc, LazFileUtils, MacroIntf, HelpIntfs, LazHelpIntf,
|
Classes, SysUtils,
|
||||||
LazHelpHTML;
|
// LazUtils,
|
||||||
|
LazFileUtils,
|
||||||
|
// LCL
|
||||||
|
LCLProc, HelpIntfs, LazHelpIntf, LazHelpHTML,
|
||||||
|
// IdeIntf
|
||||||
|
MacroIntf;
|
||||||
|
|
||||||
type
|
type
|
||||||
{ TFPDocHTMLHelpDatabase }
|
{ TFPDocHTMLHelpDatabase }
|
||||||
|
@ -15,12 +15,10 @@ interface
|
|||||||
|
|
||||||
uses
|
uses
|
||||||
Classes, SysUtils, Math, Laz_AVL_Tree,
|
Classes, SysUtils, Math, Laz_AVL_Tree,
|
||||||
// LCL
|
|
||||||
LCLProc,
|
|
||||||
// LazUtils
|
// LazUtils
|
||||||
UTF8Process, LazFileUtils, LazFileCache, LazMethodList,
|
UTF8Process, LazFileUtils, LazFileCache, LazMethodList, LazLoggerBase,
|
||||||
// IdeIntf
|
// IdeIntf
|
||||||
ObjInspStrConsts, LazLoggerBase, Menus;
|
ObjInspStrConsts;
|
||||||
|
|
||||||
const
|
const
|
||||||
SubToolFPC = 'FPC';
|
SubToolFPC = 'FPC';
|
||||||
|
@ -19,8 +19,7 @@ interface
|
|||||||
uses
|
uses
|
||||||
Classes, Types, SysUtils,
|
Classes, Types, SysUtils,
|
||||||
// LCL
|
// LCL
|
||||||
LMessages, LCLType, LCLProc, Forms, Controls, Graphics,
|
LMessages, LCLType, LCLIntf, Forms, Controls, Graphics, HelpIntfs, LazHelpIntf,
|
||||||
HelpIntfs, LazHelpIntf, LCLIntf,
|
|
||||||
// IdeIntf
|
// IdeIntf
|
||||||
TextTools;
|
TextTools;
|
||||||
|
|
||||||
|
@ -25,8 +25,9 @@ unit IDEImagesIntf;
|
|||||||
interface
|
interface
|
||||||
|
|
||||||
uses
|
uses
|
||||||
Classes, SysUtils, LCLProc, LCLType, ImgList, Controls, Graphics, LResources,
|
Classes, SysUtils, Math,
|
||||||
Math, Buttons;
|
// LCL
|
||||||
|
LCLProc, LCLType, LResources, ImgList, Controls, Graphics, Buttons;
|
||||||
|
|
||||||
type
|
type
|
||||||
|
|
||||||
|
@ -16,8 +16,13 @@ unit IDEMsgIntf;
|
|||||||
interface
|
interface
|
||||||
|
|
||||||
uses
|
uses
|
||||||
Classes, SysUtils, contnrs, Forms, Menus,
|
Classes, SysUtils, contnrs,
|
||||||
IDECommands, IDEExternToolIntf, MenuIntf, LazFileUtils, LazLoggerBase;
|
// LCL
|
||||||
|
Forms, Menus,
|
||||||
|
// LazUtils
|
||||||
|
IDEExternToolIntf, LazFileUtils, LazLoggerBase,
|
||||||
|
// IdeIntf
|
||||||
|
MenuIntf;
|
||||||
|
|
||||||
type
|
type
|
||||||
TMsgQuickFixes = class;
|
TMsgQuickFixes = class;
|
||||||
|
@ -21,8 +21,13 @@ unit IDETextConverter;
|
|||||||
interface
|
interface
|
||||||
|
|
||||||
uses
|
uses
|
||||||
Classes, SysUtils, TypInfo, LCLProc, Controls, Forms, FileUtil, LazFileUtils,
|
Classes, SysUtils, TypInfo,
|
||||||
LazUTF8, LazUTF8Classes, SrcEditorIntf, PropEdits, ObjInspStrConsts;
|
// LCL
|
||||||
|
LCLProc, Controls, Forms,
|
||||||
|
// LazUtils
|
||||||
|
FileUtil, LazFileUtils, LazUTF8, LazUTF8Classes,
|
||||||
|
// IdeIntf
|
||||||
|
SrcEditorIntf, PropEdits, ObjInspStrConsts;
|
||||||
|
|
||||||
type
|
type
|
||||||
TCustomTextConverterTool = class;
|
TCustomTextConverterTool = class;
|
||||||
|
@ -14,7 +14,11 @@ unit IDEUtils;
|
|||||||
interface
|
interface
|
||||||
|
|
||||||
uses
|
uses
|
||||||
Classes, SysUtils, StdCtrls, LazUTF8, LazFileUtils;
|
Classes, SysUtils,
|
||||||
|
// LCL
|
||||||
|
StdCtrls,
|
||||||
|
// LazUtils
|
||||||
|
LazUTF8, LazFileUtils;
|
||||||
|
|
||||||
type
|
type
|
||||||
TCmpStrType = (
|
TCmpStrType = (
|
||||||
|
@ -15,7 +15,11 @@ unit MacroIntf;
|
|||||||
interface
|
interface
|
||||||
|
|
||||||
uses
|
uses
|
||||||
Classes, SysUtils, LazFileUtils, MacroDefIntf;
|
Classes, SysUtils,
|
||||||
|
// LazUtils
|
||||||
|
LazFileUtils,
|
||||||
|
// IdeIntf
|
||||||
|
MacroDefIntf;
|
||||||
|
|
||||||
type
|
type
|
||||||
{ TIDEMacros - macros for paths and compiler settings }
|
{ TIDEMacros - macros for paths and compiler settings }
|
||||||
|
@ -5,8 +5,8 @@ unit PackageLinkIntf;
|
|||||||
interface
|
interface
|
||||||
|
|
||||||
uses
|
uses
|
||||||
SysUtils,
|
SysUtils, Classes,
|
||||||
Classes,
|
// LCL
|
||||||
Forms,
|
Forms,
|
||||||
// LazUtils
|
// LazUtils
|
||||||
LazFileUtils,
|
LazFileUtils,
|
||||||
|
@ -17,10 +17,13 @@ interface
|
|||||||
|
|
||||||
uses
|
uses
|
||||||
Classes, SysUtils, Contnrs,
|
Classes, SysUtils, Contnrs,
|
||||||
|
// LazUtils
|
||||||
FileUtil, LazFileUtils, LazFileCache, LazMethodList, AvgLvlTree,
|
FileUtil, LazFileUtils, LazFileCache, LazMethodList, AvgLvlTree,
|
||||||
|
// LCL
|
||||||
Controls, Forms, ImgList, Graphics,
|
Controls, Forms, ImgList, Graphics,
|
||||||
IDEOptionsIntf, NewItemIntf, ProjPackIntf, CompOptsIntf, ObjInspStrConsts,
|
// IdeIntf
|
||||||
IDEImagesIntf;
|
IDEOptionsIntf, NewItemIntf, ProjPackIntf, CompOptsIntf, IDEImagesIntf,
|
||||||
|
ObjInspStrConsts;
|
||||||
|
|
||||||
const
|
const
|
||||||
FileDescGroupName = 'File';
|
FileDescGroupName = 'File';
|
||||||
|
@ -11,7 +11,9 @@ unit ProjectResourcesIntf;
|
|||||||
interface
|
interface
|
||||||
|
|
||||||
uses
|
uses
|
||||||
Classes, SysUtils, CompOptsIntf, ProjectIntf, resource;
|
Classes, SysUtils, resource,
|
||||||
|
// IdeIntf
|
||||||
|
CompOptsIntf, ProjectIntf;
|
||||||
|
|
||||||
type
|
type
|
||||||
TAbstractProjectResources = class;
|
TAbstractProjectResources = class;
|
||||||
|
@ -10,8 +10,13 @@ unit PJSDsgnOptions;
|
|||||||
interface
|
interface
|
||||||
|
|
||||||
uses
|
uses
|
||||||
Classes, SysUtils, LazFileCache, LazConfigStorage, LazFileUtils, FileUtil,
|
Classes, SysUtils,
|
||||||
MacroIntf, BaseIDEIntf, IDEUtils, DefineTemplates;
|
// LazUtils
|
||||||
|
LazFileCache, LazConfigStorage, LazFileUtils, FileUtil,
|
||||||
|
// Codetools
|
||||||
|
DefineTemplates,
|
||||||
|
// IdeIntf
|
||||||
|
MacroIntf, BaseIDEIntf;
|
||||||
|
|
||||||
const
|
const
|
||||||
PJSDsgnOptsFile = 'pas2jsdsgnoptions.xml';
|
PJSDsgnOptsFile = 'pas2jsdsgnoptions.xml';
|
||||||
|
@ -10,9 +10,15 @@ unit PJSDsgnOptsFrame;
|
|||||||
interface
|
interface
|
||||||
|
|
||||||
uses
|
uses
|
||||||
Classes, SysUtils, Forms, Controls, StdCtrls, Dialogs, Spin, IDEOptionsIntf,
|
Classes, SysUtils,
|
||||||
IDEUtils, LazFileCache, PJSDsgnOptions,
|
// LCL
|
||||||
LazFileUtils;
|
Forms, StdCtrls, Dialogs, Spin,
|
||||||
|
// LazUtils
|
||||||
|
LazFileCache, LazFileUtils,
|
||||||
|
// IdeIntf
|
||||||
|
IDEOptionsIntf, IDEUtils,
|
||||||
|
// Pas2Js
|
||||||
|
PJSDsgnOptions;
|
||||||
|
|
||||||
Type
|
Type
|
||||||
{ TPas2jsOptionsFrame }
|
{ TPas2jsOptionsFrame }
|
||||||
|
@ -7,12 +7,17 @@ unit BuildFileDlg;
|
|||||||
interface
|
interface
|
||||||
|
|
||||||
uses
|
uses
|
||||||
Classes, SysUtils, LCLProc, LCLType, Forms, Controls, Graphics, ComCtrls,
|
Classes, SysUtils,
|
||||||
Dialogs, Buttons, ExtCtrls, StdCtrls, LazFileUtils, ButtonPanel,
|
// LCL
|
||||||
|
LCLProc, LCLType, Forms, Controls, Graphics, ComCtrls, Dialogs, StdCtrls, ButtonPanel,
|
||||||
|
// LazUtils
|
||||||
|
LazFileUtils,
|
||||||
|
// CodeTools
|
||||||
BasicCodeTools,
|
BasicCodeTools,
|
||||||
IDEHelpIntf,
|
// IdeIntf
|
||||||
IDEProcs, InputHistory, LazarusIDEStrConsts, EnvironmentOpts, TransferMacros,
|
IDEHelpIntf, MacroDefIntf, LazIDEIntf, IDEUtils,
|
||||||
MacroDefIntf, IDEUtils, LazIDEIntf;
|
// IDE
|
||||||
|
IDEProcs, InputHistory, LazarusIDEStrConsts, EnvironmentOpts, TransferMacros;
|
||||||
|
|
||||||
type
|
type
|
||||||
|
|
||||||
|
@ -25,13 +25,22 @@ unit editor_color_options;
|
|||||||
interface
|
interface
|
||||||
|
|
||||||
uses
|
uses
|
||||||
Classes, Controls, math, types, typinfo, sysutils, Laz2_XMLCfg, LazFileUtils,
|
Classes, Controls, math, types, typinfo, sysutils,
|
||||||
LCLProc, LCLType, LCLIntf, LazUTF8, StdCtrls, ExtCtrls, Graphics,
|
// LazUtils
|
||||||
ComCtrls, Dialogs, Menus, SynEdit, SynEditMiscClasses,
|
Laz2_XMLCfg, LazFileUtils, LazUTF8,
|
||||||
SynGutterCodeFolding, SynGutterLineNumber, SynEditTypes, SynGutterChanges,
|
// LCL
|
||||||
SynEditMouseCmds, SynEditHighlighter, SynTextDrawer, SynColorAttribEditor,
|
LCLProc, LCLType, LCLIntf, StdCtrls, ExtCtrls, Graphics, ComCtrls, Dialogs, Menus,
|
||||||
DividerBevel, IDEOptionsIntf, IDEImagesIntf, IDEUtils, EditorOptions,
|
// LazControls
|
||||||
editor_general_options, LazarusIDEStrConsts, IDEProcs, LazConf, SourceMarks;
|
DividerBevel,
|
||||||
|
// SynEdit
|
||||||
|
SynEdit, SynEditMiscClasses, SynGutterCodeFolding, SynGutterLineNumber,
|
||||||
|
SynEditTypes, SynGutterChanges, SynEditMouseCmds, SynEditHighlighter,
|
||||||
|
SynColorAttribEditor,
|
||||||
|
// IdeIntf
|
||||||
|
IDEOptionsIntf, IDEImagesIntf, IDEUtils,
|
||||||
|
// IDE
|
||||||
|
EditorOptions, editor_general_options, LazarusIDEStrConsts, IDEProcs, LazConf,
|
||||||
|
SourceMarks;
|
||||||
|
|
||||||
type
|
type
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user