mirror of https://gitlab.com/basile.b/dexed.git
Merge branch 'a12_2_a13'
This commit is contained in:
commit
6c86979373
|
|
@ -140,7 +140,7 @@
|
||||||
<PackageName Value="LCL"/>
|
<PackageName Value="LCL"/>
|
||||||
</Item6>
|
</Item6>
|
||||||
</RequiredPackages>
|
</RequiredPackages>
|
||||||
<Units Count="34">
|
<Units Count="33">
|
||||||
<Unit0>
|
<Unit0>
|
||||||
<Filename Value="coedit.lpr"/>
|
<Filename Value="coedit.lpr"/>
|
||||||
<IsPartOfProject Value="True"/>
|
<IsPartOfProject Value="True"/>
|
||||||
|
|
@ -336,23 +336,18 @@
|
||||||
<UnitName Value="ce_writableComponent"/>
|
<UnitName Value="ce_writableComponent"/>
|
||||||
</Unit30>
|
</Unit30>
|
||||||
<Unit31>
|
<Unit31>
|
||||||
<Filename Value="..\src\ce_icons.pas"/>
|
|
||||||
<IsPartOfProject Value="True"/>
|
|
||||||
<UnitName Value="ce_icons"/>
|
|
||||||
</Unit31>
|
|
||||||
<Unit32>
|
|
||||||
<Filename Value="..\src\ce_todolist.pas"/>
|
<Filename Value="..\src\ce_todolist.pas"/>
|
||||||
<IsPartOfProject Value="True"/>
|
<IsPartOfProject Value="True"/>
|
||||||
<ComponentName Value="CETodoListWidget"/>
|
<ComponentName Value="CETodoListWidget"/>
|
||||||
<HasResources Value="True"/>
|
<HasResources Value="True"/>
|
||||||
<ResourceBaseClass Value="Form"/>
|
<ResourceBaseClass Value="Form"/>
|
||||||
<UnitName Value="ce_todolist"/>
|
<UnitName Value="ce_todolist"/>
|
||||||
</Unit32>
|
</Unit31>
|
||||||
<Unit33>
|
<Unit32>
|
||||||
<Filename Value="..\src\ce_inspectors.pas"/>
|
<Filename Value="..\src\ce_inspectors.pas"/>
|
||||||
<IsPartOfProject Value="True"/>
|
<IsPartOfProject Value="True"/>
|
||||||
<UnitName Value="ce_inspectors"/>
|
<UnitName Value="ce_inspectors"/>
|
||||||
</Unit33>
|
</Unit32>
|
||||||
</Units>
|
</Units>
|
||||||
</ProjectOptions>
|
</ProjectOptions>
|
||||||
<CompilerOptions>
|
<CompilerOptions>
|
||||||
|
|
|
||||||
|
|
@ -8,11 +8,12 @@ uses
|
||||||
{$ENDIF}{$ENDIF}
|
{$ENDIF}{$ENDIF}
|
||||||
Interfaces, Forms, lazcontrols, runtimetypeinfocontrols, ce_observer, ce_libman,
|
Interfaces, Forms, lazcontrols, runtimetypeinfocontrols, ce_observer, ce_libman,
|
||||||
ce_tools, ce_dcd, ce_main, ce_writableComponent, ce_options, ce_symstring,
|
ce_tools, ce_dcd, ce_main, ce_writableComponent, ce_options, ce_symstring,
|
||||||
ce_staticmacro, ce_icons, ce_inspectors;
|
ce_staticmacro, ce_inspectors, LResources;
|
||||||
|
|
||||||
{$R *.res}
|
{$R *.res}
|
||||||
|
|
||||||
begin
|
begin
|
||||||
|
{$I ../src/ce_icons.inc}
|
||||||
Application.Initialize;
|
Application.Initialize;
|
||||||
Application.CreateForm(TCEMainForm, CEMainForm);
|
Application.CreateForm(TCEMainForm, CEMainForm);
|
||||||
Application.Run;
|
Application.Run;
|
||||||
|
|
|
||||||
|
|
@ -430,8 +430,6 @@ begin
|
||||||
end;
|
end;
|
||||||
|
|
||||||
//TODO-ccomments: nested comments with multiple nesting on the same line.
|
//TODO-ccomments: nested comments with multiple nesting on the same line.
|
||||||
|
|
||||||
{$BOOLEVAL ON}
|
|
||||||
procedure TSynD2Syn.next;
|
procedure TSynD2Syn.next;
|
||||||
var
|
var
|
||||||
reader: PChar;
|
reader: PChar;
|
||||||
|
|
@ -801,7 +799,6 @@ begin
|
||||||
// Should not happend
|
// Should not happend
|
||||||
assert(false);
|
assert(false);
|
||||||
end;
|
end;
|
||||||
{$BOOLEVAL OFF}
|
|
||||||
|
|
||||||
function TSynD2Syn.GetEol: Boolean;
|
function TSynD2Syn.GetEol: Boolean;
|
||||||
begin
|
begin
|
||||||
|
|
|
||||||
|
|
@ -99,7 +99,7 @@ begin
|
||||||
//
|
//
|
||||||
completion.OnPaintItem := @completionItemPaint;
|
completion.OnPaintItem := @completionItemPaint;
|
||||||
fSyncEdit := TSynPluginSyncroEdit.Create(self);
|
fSyncEdit := TSynPluginSyncroEdit.Create(self);
|
||||||
//TODO: activate this after next Laz release
|
//TODO-ccLCL&LAZ-specific: activate this after next Laz release
|
||||||
//fSyncEdit.CaseSensitive:=true;
|
//fSyncEdit.CaseSensitive:=true;
|
||||||
bmp := TBitmap.Create;
|
bmp := TBitmap.Create;
|
||||||
try
|
try
|
||||||
|
|
@ -289,9 +289,7 @@ end;
|
||||||
procedure TCEEditorWidget.memoMouseMove(Sender: TObject; Shift: TShiftState; X, Y: Integer);
|
procedure TCEEditorWidget.memoMouseMove(Sender: TObject; Shift: TShiftState; X, Y: Integer);
|
||||||
begin
|
begin
|
||||||
if not (ssLeft in Shift) then exit;
|
if not (ssLeft in Shift) then exit;
|
||||||
//
|
|
||||||
beginUpdateByDelay;
|
beginUpdateByDelay;
|
||||||
UpdateByEvent;
|
|
||||||
end;
|
end;
|
||||||
|
|
||||||
procedure TCEEditorWidget.memoCtrlClick(Sender: TObject; Button: TMouseButton; Shift: TShiftState; X, Y: Integer);
|
procedure TCEEditorWidget.memoCtrlClick(Sender: TObject; Button: TMouseButton; Shift: TShiftState; X, Y: Integer);
|
||||||
|
|
@ -356,6 +354,7 @@ var
|
||||||
md: string;
|
md: string;
|
||||||
begin
|
begin
|
||||||
if fDoc = nil then exit;
|
if fDoc = nil then exit;
|
||||||
|
UpdateByEvent;
|
||||||
if not fKeyChanged then exit;
|
if not fKeyChanged then exit;
|
||||||
//
|
//
|
||||||
fKeyChanged := false;
|
fKeyChanged := false;
|
||||||
|
|
|
||||||
|
|
@ -1,16 +0,0 @@
|
||||||
unit ce_icons;
|
|
||||||
|
|
||||||
{$I ce_defines.inc}
|
|
||||||
|
|
||||||
interface
|
|
||||||
|
|
||||||
uses
|
|
||||||
Classes, SysUtils, LResources;
|
|
||||||
|
|
||||||
implementation
|
|
||||||
|
|
||||||
|
|
||||||
initialization
|
|
||||||
{$I ce_icons.inc}
|
|
||||||
end.
|
|
||||||
|
|
||||||
|
|
@ -539,7 +539,7 @@ begin
|
||||||
if not Visible then exit;
|
if not Visible then exit;
|
||||||
//
|
//
|
||||||
if WindowState = wsMinimized then WindowState := wsNormal;
|
if WindowState = wsMinimized then WindowState := wsNormal;
|
||||||
// TODO-cbugfix: check new docking persistence behaviour on new Laz release.
|
// TODO-cLCL&LAZ-specific: check new docking persistence behaviour on new Laz release.
|
||||||
// does not save minimized/undocked windows to prevent bugs
|
// does not save minimized/undocked windows to prevent bugs
|
||||||
for i:= 0 to fWidgList.Count-1 do
|
for i:= 0 to fWidgList.Count-1 do
|
||||||
begin
|
begin
|
||||||
|
|
@ -1353,8 +1353,6 @@ label
|
||||||
begin
|
begin
|
||||||
if fProject.currentConfiguration.outputOptions.binaryKind <> executable then
|
if fProject.currentConfiguration.outputOptions.binaryKind <> executable then
|
||||||
begin
|
begin
|
||||||
// TODO-cfeature: define an alternative exe name for shared lib:
|
|
||||||
// e.g: the dll produced by the proj. is the input filename of an host app.
|
|
||||||
dlgOkInfo('Non executable projects cant be run');
|
dlgOkInfo('Non executable projects cant be run');
|
||||||
exit;
|
exit;
|
||||||
end;
|
end;
|
||||||
|
|
@ -1425,7 +1423,7 @@ var
|
||||||
xcfg: TXMLConfigStorage;
|
xcfg: TXMLConfigStorage;
|
||||||
i: NativeInt;
|
i: NativeInt;
|
||||||
begin
|
begin
|
||||||
// TODO-cbugfix: possible loading AV, xml saved after undocking some widgets, xml file abnormal size.
|
// TODO-cLCL&LAZ-specific: possible loading AV, xml saved after undocking some widgets, xml file abnormal size.
|
||||||
for i:= 0 to fWidgList.Count-1 do
|
for i:= 0 to fWidgList.Count-1 do
|
||||||
begin
|
begin
|
||||||
if DockMaster.GetAnchorSite(fWidgList.widget[i]).WindowState = wsMinimized then
|
if DockMaster.GetAnchorSite(fWidgList.widget[i]).WindowState = wsMinimized then
|
||||||
|
|
|
||||||
|
|
@ -112,8 +112,8 @@ begin
|
||||||
Tree.OnExpanding := @treeExpanding;
|
Tree.OnExpanding := @treeExpanding;
|
||||||
|
|
||||||
// http://bugs.freepascal.org/view.php?id=27137
|
// http://bugs.freepascal.org/view.php?id=27137
|
||||||
// TODO-cCleanup: remove comment after next Laz release
|
// TODO-cLCL&LAZ-specific: remove comment after next Laz release
|
||||||
// TODO-cfeature, try the new TListViewFilterEdit here.
|
// TODO-cLCL&LAZ-specific, try the new TListViewFilterEdit here.
|
||||||
lstFilter.FilteredListbox := nil;
|
lstFilter.FilteredListbox := nil;
|
||||||
lstFilter.onChange := @lstFilterChange;
|
lstFilter.onChange := @lstFilterChange;
|
||||||
//
|
//
|
||||||
|
|
|
||||||
|
|
@ -179,8 +179,8 @@ begin
|
||||||
fAutoRefresh := true;
|
fAutoRefresh := true;
|
||||||
mnuAutoRefresh.Checked := true;
|
mnuAutoRefresh.Checked := true;
|
||||||
// http://bugs.freepascal.org/view.php?id=27137
|
// http://bugs.freepascal.org/view.php?id=27137
|
||||||
// TODO-cCleanup: remove comment after next Laz release
|
// TODO-cLCL&LAZ-specific: remove comment after next Laz release
|
||||||
// TODO-cfeature, try the new TListViewFilterEdit here.
|
// TODO-cLCL&LAZ-specific, try the new TListViewFilterEdit here.
|
||||||
lstfilter.OnChange:= @filterItems;
|
lstfilter.OnChange:= @filterItems;
|
||||||
//
|
//
|
||||||
png := TPortableNetworkGraphic.Create;
|
png := TPortableNetworkGraphic.Create;
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue