mirror of https://gitlab.com/basile.b/dexed.git
default layout
This commit is contained in:
parent
d04fd37b2e
commit
154025b143
|
@ -5,8 +5,6 @@ object CEMainForm: TCEMainForm
|
||||||
Width = 745
|
Width = 745
|
||||||
AllowDropFiles = True
|
AllowDropFiles = True
|
||||||
Caption = 'Coedit'
|
Caption = 'Coedit'
|
||||||
ClientHeight = 49
|
|
||||||
ClientWidth = 745
|
|
||||||
Icon.Data = {
|
Icon.Data = {
|
||||||
F1B500000000010001000000000001002000DBB500001600000089504E470D0A
|
F1B500000000010001000000000001002000DBB500001600000089504E470D0A
|
||||||
1A0A0000000D49484452000001000000010008060000005C72A8660000B5A249
|
1A0A0000000D49484452000001000000010008060000005C72A8660000B5A249
|
||||||
|
@ -1471,7 +1469,6 @@ object CEMainForm: TCEMainForm
|
||||||
OnDropFiles = FormDropFiles
|
OnDropFiles = FormDropFiles
|
||||||
ShowHint = True
|
ShowHint = True
|
||||||
LCLVersion = '1.6.0.2'
|
LCLVersion = '1.6.0.2'
|
||||||
Visible = False
|
|
||||||
object mainMenu: TMainMenu
|
object mainMenu: TMainMenu
|
||||||
Images = imgList
|
Images = imgList
|
||||||
top = 1
|
top = 1
|
||||||
|
|
|
@ -891,7 +891,7 @@ begin
|
||||||
DockMaster.HeaderStyle := adhsPoints;
|
DockMaster.HeaderStyle := adhsPoints;
|
||||||
DockMaster.HideHeaderCaptionFloatingControl := true;
|
DockMaster.HideHeaderCaptionFloatingControl := true;
|
||||||
|
|
||||||
// this is a fix copied from Laz, seems to force the space between the menu and the UI stay 0.
|
// this is a fix copied from Laz.
|
||||||
if DockManager is TAnchorDockManager then begin
|
if DockManager is TAnchorDockManager then begin
|
||||||
aManager:=TAnchorDockManager(DockManager);
|
aManager:=TAnchorDockManager(DockManager);
|
||||||
aManager.PreferredSiteSizeAsSiteMinimum:=false;
|
aManager.PreferredSiteSizeAsSiteMinimum:=false;
|
||||||
|
@ -913,15 +913,14 @@ begin
|
||||||
// center
|
// center
|
||||||
DockMaster.ManualDock(DockMaster.GetAnchorSite(fEditWidg), DockMaster.GetSite(Self), alBottom);
|
DockMaster.ManualDock(DockMaster.GetAnchorSite(fEditWidg), DockMaster.GetSite(Self), alBottom);
|
||||||
DockMaster.ManualDock(DockMaster.GetAnchorSite(fMesgWidg), DockMaster.GetSite(fEditWidg), alBottom);
|
DockMaster.ManualDock(DockMaster.GetAnchorSite(fMesgWidg), DockMaster.GetSite(fEditWidg), alBottom);
|
||||||
DockMaster.ManualDock(DockMaster.GetAnchorSite(fPrInpWidg), DockMaster.GetSite(fMesgWidg), alBottom);
|
|
||||||
// left
|
// left
|
||||||
DockMaster.GetAnchorSite(fSymlWidg).Width := 200;
|
DockMaster.GetAnchorSite(fSymlWidg).Width := 160;
|
||||||
DockMaster.GetAnchorSite(fFindWidg).Width := 200;
|
DockMaster.GetAnchorSite(fFindWidg).Width := 160;
|
||||||
DockMaster.ManualDock(DockMaster.GetAnchorSite(fSymlWidg), DockMaster.GetSite(fEditWidg), alLeft);
|
DockMaster.ManualDock(DockMaster.GetAnchorSite(fSymlWidg), DockMaster.GetSite(fEditWidg), alLeft);
|
||||||
DockMaster.ManualDock(DockMaster.GetAnchorSite(fFindWidg), DockMaster.GetAnchorSite(fSymlWidg), alBottom, fSymlWidg);
|
DockMaster.ManualDock(DockMaster.GetAnchorSite(fFindWidg), DockMaster.GetAnchorSite(fSymlWidg), alBottom, fSymlWidg);
|
||||||
// right
|
// right
|
||||||
DockMaster.GetAnchorSite(fProjWidg).Width := 250;
|
DockMaster.GetAnchorSite(fProjWidg).Width := 260;
|
||||||
DockMaster.GetAnchorSite(fPrjCfWidg).Width := 250;
|
DockMaster.GetAnchorSite(fPrjCfWidg).Width := 260;
|
||||||
DockMaster.ManualDock(DockMaster.GetAnchorSite(fProjWidg), DockMaster.GetSite(fEditWidg), alRight);
|
DockMaster.ManualDock(DockMaster.GetAnchorSite(fProjWidg), DockMaster.GetSite(fEditWidg), alRight);
|
||||||
DockMaster.ManualDock(DockMaster.GetAnchorSite(fPrjCfWidg), DockMaster.GetAnchorSite(fProjWidg), alBottom, fProjWidg);
|
DockMaster.ManualDock(DockMaster.GetAnchorSite(fPrjCfWidg), DockMaster.GetAnchorSite(fProjWidg), alBottom, fProjWidg);
|
||||||
// close remaining and header to top
|
// close remaining and header to top
|
||||||
|
|
|
@ -1,26 +1,26 @@
|
||||||
inherited CESearchWidget: TCESearchWidget
|
inherited CESearchWidget: TCESearchWidget
|
||||||
Left = 742
|
Left = 742
|
||||||
Height = 288
|
Height = 309
|
||||||
Top = 278
|
Top = 278
|
||||||
Width = 393
|
Width = 399
|
||||||
Caption = 'Search & replace'
|
Caption = 'Search & replace'
|
||||||
ClientHeight = 288
|
ClientHeight = 309
|
||||||
ClientWidth = 393
|
ClientWidth = 399
|
||||||
inherited Back: TPanel
|
inherited Back: TPanel
|
||||||
Height = 288
|
Height = 309
|
||||||
Width = 393
|
Width = 399
|
||||||
ClientHeight = 288
|
ClientHeight = 309
|
||||||
ClientWidth = 393
|
ClientWidth = 399
|
||||||
inherited Content: TPanel
|
inherited Content: TPanel
|
||||||
Height = 288
|
Height = 309
|
||||||
Width = 393
|
Width = 399
|
||||||
ClientHeight = 288
|
ClientHeight = 309
|
||||||
ClientWidth = 393
|
ClientWidth = 399
|
||||||
object cbToFind: TComboBox[0]
|
object cbToFind: TComboBox[0]
|
||||||
Left = 4
|
Left = 4
|
||||||
Height = 23
|
Height = 23
|
||||||
Top = 4
|
Top = 4
|
||||||
Width = 385
|
Width = 391
|
||||||
Align = alTop
|
Align = alTop
|
||||||
AutoSize = False
|
AutoSize = False
|
||||||
BorderSpacing.Around = 4
|
BorderSpacing.Around = 4
|
||||||
|
@ -32,8 +32,8 @@ inherited CESearchWidget: TCESearchWidget
|
||||||
object btnFind: TBitBtn[1]
|
object btnFind: TBitBtn[1]
|
||||||
Left = 4
|
Left = 4
|
||||||
Height = 24
|
Height = 24
|
||||||
Top = 176
|
Top = 197
|
||||||
Width = 385
|
Width = 391
|
||||||
Align = alBottom
|
Align = alBottom
|
||||||
BorderSpacing.Around = 4
|
BorderSpacing.Around = 4
|
||||||
Caption = 'btnFind'
|
Caption = 'btnFind'
|
||||||
|
@ -78,8 +78,8 @@ inherited CESearchWidget: TCESearchWidget
|
||||||
object btnReplace: TBitBtn[2]
|
object btnReplace: TBitBtn[2]
|
||||||
Left = 4
|
Left = 4
|
||||||
Height = 24
|
Height = 24
|
||||||
Top = 232
|
Top = 253
|
||||||
Width = 385
|
Width = 391
|
||||||
Align = alBottom
|
Align = alBottom
|
||||||
BorderSpacing.Around = 4
|
BorderSpacing.Around = 4
|
||||||
Caption = 'btnReplace'
|
Caption = 'btnReplace'
|
||||||
|
@ -123,14 +123,14 @@ inherited CESearchWidget: TCESearchWidget
|
||||||
end
|
end
|
||||||
object grpOpts: TGroupBox[3]
|
object grpOpts: TGroupBox[3]
|
||||||
Left = 4
|
Left = 4
|
||||||
Height = 114
|
Height = 135
|
||||||
Top = 58
|
Top = 58
|
||||||
Width = 385
|
Width = 391
|
||||||
Align = alClient
|
Align = alClient
|
||||||
BorderSpacing.Around = 4
|
BorderSpacing.Around = 4
|
||||||
Caption = 'Options'
|
Caption = 'Options'
|
||||||
ClientHeight = 84
|
ClientHeight = 105
|
||||||
ClientWidth = 381
|
ClientWidth = 387
|
||||||
TabOrder = 4
|
TabOrder = 4
|
||||||
object chkWWord: TCheckBox
|
object chkWWord: TCheckBox
|
||||||
Left = 8
|
Left = 8
|
||||||
|
@ -190,8 +190,8 @@ inherited CESearchWidget: TCESearchWidget
|
||||||
object btnReplaceAll: TBitBtn[4]
|
object btnReplaceAll: TBitBtn[4]
|
||||||
Left = 4
|
Left = 4
|
||||||
Height = 24
|
Height = 24
|
||||||
Top = 260
|
Top = 281
|
||||||
Width = 385
|
Width = 391
|
||||||
Align = alBottom
|
Align = alBottom
|
||||||
BorderSpacing.Around = 4
|
BorderSpacing.Around = 4
|
||||||
Caption = 'btnReplaceAll'
|
Caption = 'btnReplaceAll'
|
||||||
|
@ -237,18 +237,18 @@ inherited CESearchWidget: TCESearchWidget
|
||||||
Left = 4
|
Left = 4
|
||||||
Height = 23
|
Height = 23
|
||||||
Top = 31
|
Top = 31
|
||||||
Width = 385
|
Width = 391
|
||||||
Align = alTop
|
Align = alTop
|
||||||
BorderSpacing.Around = 4
|
BorderSpacing.Around = 4
|
||||||
BevelOuter = bvNone
|
BevelOuter = bvNone
|
||||||
ClientHeight = 23
|
ClientHeight = 23
|
||||||
ClientWidth = 385
|
ClientWidth = 391
|
||||||
TabOrder = 5
|
TabOrder = 5
|
||||||
object cbReplaceWth: TComboBox
|
object cbReplaceWth: TComboBox
|
||||||
Left = 108
|
Left = 108
|
||||||
Height = 23
|
Height = 23
|
||||||
Top = 0
|
Top = 0
|
||||||
Width = 277
|
Width = 283
|
||||||
Align = alClient
|
Align = alClient
|
||||||
Anchors = [akTop, akLeft, akBottom]
|
Anchors = [akTop, akLeft, akBottom]
|
||||||
ItemHeight = 0
|
ItemHeight = 0
|
||||||
|
@ -270,19 +270,19 @@ inherited CESearchWidget: TCESearchWidget
|
||||||
object Panel2: TPanel[6]
|
object Panel2: TPanel[6]
|
||||||
Left = 4
|
Left = 4
|
||||||
Height = 24
|
Height = 24
|
||||||
Top = 204
|
Top = 225
|
||||||
Width = 385
|
Width = 391
|
||||||
Align = alBottom
|
Align = alBottom
|
||||||
BorderSpacing.Around = 4
|
BorderSpacing.Around = 4
|
||||||
BevelOuter = bvNone
|
BevelOuter = bvNone
|
||||||
ClientHeight = 24
|
ClientHeight = 24
|
||||||
ClientWidth = 385
|
ClientWidth = 391
|
||||||
TabOrder = 6
|
TabOrder = 6
|
||||||
object btnFindAll: TBitBtn
|
object btnFindAll: TBitBtn
|
||||||
Left = 0
|
Left = 0
|
||||||
Height = 24
|
Height = 24
|
||||||
Top = 0
|
Top = 0
|
||||||
Width = 354
|
Width = 360
|
||||||
Align = alClient
|
Align = alClient
|
||||||
Caption = 'btnFindAll'
|
Caption = 'btnFindAll'
|
||||||
Glyph.Data = {
|
Glyph.Data = {
|
||||||
|
@ -324,7 +324,7 @@ inherited CESearchWidget: TCESearchWidget
|
||||||
TabOrder = 0
|
TabOrder = 0
|
||||||
end
|
end
|
||||||
object btnAllScope: TBitBtn
|
object btnAllScope: TBitBtn
|
||||||
Left = 356
|
Left = 362
|
||||||
Height = 24
|
Height = 24
|
||||||
Top = 0
|
Top = 0
|
||||||
Width = 29
|
Width = 29
|
||||||
|
|
|
@ -60,7 +60,7 @@ The latest Coedit version requires at least DMD 2.066.
|
||||||
* To uninstall, run the same program but with the `-u` option.
|
* To uninstall, run the same program but with the `-u` option.
|
||||||
* Linux: if coedit has been setup with `sudo` you must also uninstall with elevated privileges: `sudo .\coedit.<version>.<platform>.setup -u`.
|
* Linux: if coedit has been setup with `sudo` you must also uninstall with elevated privileges: `sudo .\coedit.<version>.<platform>.setup -u`.
|
||||||
* Windows: start a console as administrator and execute: `coedit.<version>.win32.setup -u`.
|
* Windows: start a console as administrator and execute: `coedit.<version>.win32.setup -u`.
|
||||||
* Troubleshooting: run the setup program with the `-l` (or `--list`) option to get the status of the files and use the report to uninstall manually the files.
|
* Troubleshooting: run the setup program with the `-l` (or `--list`) option to get the status of the files and use the report to uninstall manually the files or open a ticket [here](https://github.com/BBasile/Coedit/issue).
|
||||||
|
|
||||||
Note for the future versions:
|
Note for the future versions:
|
||||||
* Updating doesn't require to uninstall.
|
* Updating doesn't require to uninstall.
|
||||||
|
@ -85,31 +85,13 @@ If they are not correctly set, for each of the following file **coedit**, **dcd-
|
||||||
either set the permission in the context menu (check _allow execution_ or _executable_ depending on the desktop)
|
either set the permission in the context menu (check _allow execution_ or _executable_ depending on the desktop)
|
||||||
or `chmod a+x` the file in a console.
|
or `chmod a+x` the file in a console.
|
||||||
|
|
||||||
Under linux, since no **.deb** or **.rpm** are provided, you can verify that the following packages are already present.
|
|
||||||
Since they are mostly related to gtk2, they already should be installed:
|
|
||||||
|
|
||||||
> libpthread.so.0
|
|
||||||
libX11.so.6
|
|
||||||
libgdk_pixbuf-2.0.so.0
|
|
||||||
libgtk-x11-2.0.so.0
|
|
||||||
libgdk-x11-2.0.so.0
|
|
||||||
libgobject-2.0.so.0
|
|
||||||
libglib-2.0.so.0
|
|
||||||
libgthread-2.0.so.0
|
|
||||||
libgmodule-2.0.so.0
|
|
||||||
libpango-1.0.so.0
|
|
||||||
libcairo.so.2
|
|
||||||
libatk-1.0.so.0
|
|
||||||
libdl.so.2
|
|
||||||
libc.so.6
|
|
||||||
|
|
||||||
## Build the sources
|
## Build the sources
|
||||||
|
|
||||||
Download ans setup the tools:
|
Download ans setup the tools:
|
||||||
|
|
||||||
* [Download](http://lazarus.freepascal.org/index.php?page=downloads) and setup the latest Lazarus version (1.6) and FPC + FPC sources (3.0.0.1) for your platform.
|
* [Download](http://lazarus.freepascal.org/index.php?page=downloads) and setup the latest Lazarus version (1.6) and FPC + FPC sources (3.0.0) for your platform.
|
||||||
* Windows: the three packages are bundled in an installer. Even on Windows 64 bit, the 32 version must be setup.
|
* Windows: the three packages are bundled in an installer. Even on Windows 64 bit, the 32 version must be setup.
|
||||||
* Linux: the three packages must be downloaded and setup individually. Take care to the version number because the official rpm/deb source of a Linux distribution does not always propose the latest version !
|
* Linux: the three packages must be downloaded and setup individually. It's recommended to download the packages from _SourceForge_ and not from the official repository of the distribution because they don't always propose the latest version.
|
||||||
|
|
||||||
* [Clone](https://github.com/BBasile/Coedit.git) Coedit git repository. There are two ways to do it (console or a git GUI).
|
* [Clone](https://github.com/BBasile/Coedit.git) Coedit git repository. There are two ways to do it (console or a git GUI).
|
||||||
If you've never used Git at all, you can try [Source-Tree](http://www.sourcetreeapp.com/), a freeware Git/Mercurial GUI that is distributed with a Git copy.
|
If you've never used Git at all, you can try [Source-Tree](http://www.sourcetreeapp.com/), a freeware Git/Mercurial GUI that is distributed with a Git copy.
|
||||||
|
@ -145,10 +127,10 @@ Only the _x86-64_ _rpm_ is available (Fedora, openSuse, ...). After the installa
|
||||||
|
|
||||||
# How to contribute
|
# How to contribute
|
||||||
|
|
||||||
## Programming
|
## Development
|
||||||
|
|
||||||
Any Pascal or Delphi programmer who has interest to the D language can contribute.
|
Any Pascal or Delphi programmer who is also interested by the D language can contribute.
|
||||||
The process is based on _git_ and _Github_, using what's often called the _fork push pull_ model:
|
The process is based on _git_ and _Github_, using what's called the _fork push pull_ model:
|
||||||
|
|
||||||
- fork the _Coedit_ repository in your _Github_ account.
|
- fork the _Coedit_ repository in your _Github_ account.
|
||||||
- clone this fork to your computer.
|
- clone this fork to your computer.
|
||||||
|
@ -161,7 +143,7 @@ The process is based on _git_ and _Github_, using what's often called the _fork
|
||||||
|
|
||||||
The maintainer will be notified of the request, which could be merged after review.
|
The maintainer will be notified of the request, which could be merged after review.
|
||||||
|
|
||||||
## Linux packages
|
## Distribution
|
||||||
|
|
||||||
In addition to the setup program, **.deb** and **.rpm** would be welcome. They can be build using the binaries that are proposed in a zip for each release.
|
In addition to the setup program, **.deb** and **.rpm** would be welcome. They can be build using the binaries that are proposed in a zip for each release.
|
||||||
|
|
||||||
|
@ -170,16 +152,17 @@ In addition to the setup program, **.deb** and **.rpm** would be welcome. They c
|
||||||
The documentation (the sources of this wiki) need to be reviewed, as it's currently written by a non native English speaker.
|
The documentation (the sources of this wiki) need to be reviewed, as it's currently written by a non native English speaker.
|
||||||
The wiki can be edited locally by cloning [this git repository](https://github.com/BBasile/Coedit.wiki.git).
|
The wiki can be edited locally by cloning [this git repository](https://github.com/BBasile/Coedit.wiki.git).
|
||||||
It's also possible to propose pull requests in the main repository since the [wiki source is present](https://github.com/BBasile/Coedit/tree/master/wiki).
|
It's also possible to propose pull requests in the main repository since the [wiki source is present](https://github.com/BBasile/Coedit/tree/master/wiki).
|
||||||
As tool, one of the numerous markdown editor available on the web can be used, for example [StackEdit](https://stackedit.io/editor).
|
As tool, one of the many markdown editor available on the web can be used, for example [StackEdit](https://stackedit.io/editor).
|
||||||
|
|
||||||
There is also a huge need to split the wiki in pages. Because the page became huge and a long to load,
|
There is also a huge need to split the wiki in pages.
|
||||||
the browsers often fail to scroll to a particular anchor.
|
Because the page becomes huge and a long to load, the browsers can fail to scroll to a particular anchor.
|
||||||
|
|
||||||
## Bug reports
|
## Bug reports
|
||||||
|
|
||||||
Bugs can be reported using [this dedicated online utility](https://github.com/BBasile/Coedit/issues).
|
Bugs can be reported using [this dedicated online utility](https://github.com/BBasile/Coedit/issues).
|
||||||
It can be a bug report (BR), a feature request (FR).
|
This place can also be used to suggest enhancements and new features.
|
||||||
General questions and discussions (Q, BLA) about the use are also allowed since there is no other dedicated place to talk about CE.
|
|
||||||
|
For discussions, the official D forums [propose a section dedicated to the IDEs](http://forum.dlang.org/group/ide).
|
||||||
|
|
||||||
# Menu reference
|
# Menu reference
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue