diff --git a/components/synedit/syneditstrconst.pp b/components/synedit/syneditstrconst.pp index 2937e67696..9692fe0b9c 100644 --- a/components/synedit/syneditstrconst.pp +++ b/components/synedit/syneditstrconst.pp @@ -273,6 +273,9 @@ const SYNS_LangUnreal = 'Unreal'; SYNS_LangTeX = 'TeX'; +{$IFDEF SYN_LAZARUS} +resourcestring +{$ENDIF} SYNS_emcNone = 'No Action'; SYNS_emcStartSelection = 'Selection'; diff --git a/ide/frames/editor_mouseaction_options.pas b/ide/frames/editor_mouseaction_options.pas index be29d943cd..c5a0662a5b 100644 --- a/ide/frames/editor_mouseaction_options.pas +++ b/ide/frames/editor_mouseaction_options.pas @@ -95,6 +95,9 @@ type class function SupportedOptionsClass: TAbstractIDEOptionsClass; override; end; +var + MMoveName: Array [Boolean] of String; + implementation const @@ -102,8 +105,6 @@ const { TEditorMouseOptionsFrame } procedure TEditorMouseOptionsFrame.ContextTreeChange(Sender: TObject; Node: TTreeNode); -const - MMoveName: Array [Boolean] of String = (dlgMouseOptMoveMouseFalse, dlgMouseOptMoveMouseTrue); var act: TSynEditMouseAction; i, j: Integer; @@ -472,6 +473,9 @@ begin ActionGrid.ColWidths[9] := ActionGrid.ColWidths[8] * 3; ActionGridHeaderSized(nil, true, 0); + MMoveName[false] := dlgMouseOptMoveMouseFalse; + MMoveName[true] := dlgMouseOptMoveMouseTrue; + FSort1 := 1; // Button FSort2 := 2; // CCount FSort3 := 3; // Cdir