This commit is contained in:
Basile Burg 2014-11-18 13:48:41 +01:00
parent a02a269a7b
commit cddf6168db
8 changed files with 16 additions and 18 deletions

View File

@ -19,7 +19,7 @@ type
fOpts: TProcessOptions; fOpts: TProcessOptions;
fParameters: TStringList; fParameters: TStringList;
fToolAlias: string; fToolAlias: string;
fShortcut: string; //fShortcut: string;
fLogMessager: TCELogMessageSubject; fLogMessager: TCELogMessageSubject;
procedure setParameters(const aValue: TStringList); procedure setParameters(const aValue: TStringList);
procedure processOUtput(sender: TObject); procedure processOUtput(sender: TObject);

View File

@ -727,7 +727,7 @@ begin
exit; exit;
end; end;
// symbChars 1: ponctuation // symbChars 1: punctuation
if isSymbol(reader^) then if isSymbol(reader^) then
begin begin
fTokKind := tkSymbl; fTokKind := tkSymbl;

View File

@ -5,7 +5,7 @@ unit ce_interfaces;
interface interface
uses uses
Classes, SysUtils, actnList, process, menus, Classes, SysUtils, actnList, menus,
ce_synmemo, ce_project, ce_observer; ce_synmemo, ce_project, ce_observer;
type type

View File

@ -7,7 +7,7 @@ interface
uses uses
Classes, SysUtils, FileUtil, SynEditKeyCmds, SynHighlighterLFM, Forms, asyncprocess, Classes, SysUtils, FileUtil, SynEditKeyCmds, SynHighlighterLFM, Forms, asyncprocess,
AnchorDocking, AnchorDockStorage, AnchorDockOptionsDlg, Controls, Graphics, AnchorDocking, AnchorDockStorage, AnchorDockOptionsDlg, Controls, Graphics,
Dialogs, Menus, ActnList, ExtCtrls, process, XMLPropStorage, ComCtrls, dynlibs, Dialogs, Menus, ActnList, ExtCtrls, process, XMLPropStorage, dynlibs,
ce_common, ce_dmdwrap, ce_project, ce_dcd, ce_plugin, ce_synmemo, ce_widget, ce_common, ce_dmdwrap, ce_project, ce_dcd, ce_plugin, ce_synmemo, ce_widget,
ce_messages, ce_interfaces, ce_editor, ce_projinspect, ce_projconf, ce_search, ce_messages, ce_interfaces, ce_editor, ce_projinspect, ce_projconf, ce_search,
ce_staticexplorer, ce_miniexplorer, ce_libman, ce_libmaneditor, ce_customtools, ce_staticexplorer, ce_miniexplorer, ce_libman, ce_libmaneditor, ce_customtools,
@ -292,7 +292,7 @@ implementation
{$R *.lfm} {$R *.lfm}
uses uses
SynMacroRecorder, strutils, ce_options, ce_symstring; SynMacroRecorder, ce_options, ce_symstring;
{$REGION Standard Comp/Obj------------------------------------------------------} {$REGION Standard Comp/Obj------------------------------------------------------}
constructor TCEMainForm.create(aOwner: TComponent); constructor TCEMainForm.create(aOwner: TComponent);
@ -809,7 +809,6 @@ begin
actFileSaveAll.Enabled := false; actFileSaveAll.Enabled := false;
actFileOpenContFold.Enabled := false; actFileOpenContFold.Enabled := false;
end; end;
hasProj := fProject <> nil; hasProj := fProject <> nil;
actProjSave.Enabled := hasProj; actProjSave.Enabled := hasProj;
actProjSaveAs.Enabled := hasProj; actProjSaveAs.Enabled := hasProj;
@ -826,11 +825,10 @@ begin
actProjRun.Enabled := fProject.canBeRun; actProjRun.Enabled := fProject.canBeRun;
actProjRunWithArgs.Enabled := fProject.canBeRun; actProjRunWithArgs.Enabled := fProject.canBeRun;
end; end;
actFileAddToProj.Enabled := hasEd and hasProj; actFileAddToProj.Enabled := hasEd and hasProj;
finally finally
Dec(fUpdateCount); Dec(fUpdateCount);
Handled := true;
end; end;
end; end;
@ -1720,19 +1718,19 @@ end;
{$ENDREGION} {$ENDREGION}
procedure PlugDispatchToHost(aPlugin: TCEPlugin; opCode: LongWord; data0: Integer; data1, data2: Pointer); cdecl; procedure PlugDispatchToHost(aPlugin: TCEPlugin; opCode: LongWord; data0: Integer; data1, data2: Pointer); cdecl;
var //var
ctxt: NativeUint; //ctxt: NativeUint;
oper: NativeUint; //oper: NativeUint;
begin begin
if opCode = HELLO_PLUGIN then begin if opCode = HELLO_PLUGIN then begin
dlgOkInfo('Hello plugin'); dlgOkInfo('Hello plugin');
exit; exit;
end; end;
{
ctxt := opCode and $0F000000; ctxt := opCode and $0F000000;
oper := opCode and $000FFFFF; oper := opCode and $000FFFFF;
{
case ctxt of case ctxt of
CTXT_MSGS: CTXT_MSGS:
case oper of case oper of

View File

@ -6,9 +6,8 @@ interface
uses uses
Classes, SysUtils, Forms, Controls, Graphics, Dialogs, ExtCtrls, ComCtrls, Classes, SysUtils, Forms, Controls, Graphics, Dialogs, ExtCtrls, ComCtrls,
lcltype, ce_widget, ActnList, Menus, clipbrd, AnchorDocking, process, lcltype, ce_widget, ActnList, Menus, clipbrd, AnchorDocking, Buttons,
asyncprocess, Buttons, ce_common, ce_project, ce_synmemo, ce_dlangutils, ce_common, ce_project, ce_synmemo, ce_dlangutils, ce_interfaces, ce_observer;
ce_interfaces, ce_observer;
type type

View File

@ -6,7 +6,7 @@ interface
uses uses
Classes, SysUtils, TreeFilterEdit, Forms, Controls, Graphics, ExtCtrls, Menus, Classes, SysUtils, TreeFilterEdit, Forms, Controls, Graphics, ExtCtrls, Menus,
ComCtrls, ce_widget, jsonparser, fpjson, asyncprocess, process, actnlist, Buttons, ComCtrls, ce_widget, jsonparser, fpjson, process, actnlist, Buttons,
ce_common, ce_project, ce_observer, ce_synmemo, ce_interfaces; ce_common, ce_project, ce_observer, ce_synmemo, ce_interfaces;
type type

View File

@ -9,7 +9,6 @@ uses
type type
(** (**
* Enumerates the symbol kinds, used to index an associative array. * Enumerates the symbol kinds, used to index an associative array.
*) *)

View File

@ -65,6 +65,8 @@ constructor TCESynMemo.Create(aOwner: TComponent);
begin begin
inherited; inherited;
Font.Quality := fqProof; Font.Quality := fqProof;
//Font.CharSet := OEM_CHARSET;
Font.Pitch := fpFixed;
TabWidth := 4; TabWidth := 4;
BlockIndent := 4; BlockIndent := 4;
Options := Options :=