mirror of
https://github.com/doublecmd/doublecmd.git
synced 2026-06-21 09:58:13 +00:00
FIX: Copying in column mode in editor
This commit is contained in:
parent
39f837558d
commit
f0d3ef680d
1 changed files with 7 additions and 1 deletions
|
|
@ -37,7 +37,7 @@ interface
|
|||
uses
|
||||
SysUtils, Classes, Controls, Forms, ActnList, Menus, SynEdit,
|
||||
ComCtrls, SynEditSearch, SynEditHighlighter, uDebug, uOSForms, uShowForm, types, Graphics,
|
||||
uFormCommands, uHotkeyManager;
|
||||
uFormCommands, uHotkeyManager, LCLVersion;
|
||||
|
||||
const
|
||||
HotkeysCategory = 'Editor';
|
||||
|
|
@ -883,13 +883,19 @@ end;
|
|||
procedure TfrmEditor.cm_EditCopy(const Params:array of string);
|
||||
begin
|
||||
editor.CopyToClipboard;
|
||||
{$IF DEFINED(LCLGTK2) and (LCL_FULLVERSION < 1100000)}
|
||||
// Workaround for Lazarus bug #0021453
|
||||
ClipboardSetText(Clipboard.AsText);
|
||||
{$ENDIF}
|
||||
end;
|
||||
|
||||
procedure TfrmEditor.cm_EditCut(const Params:array of string);
|
||||
begin
|
||||
Editor.CutToClipboard;
|
||||
{$IF DEFINED(LCLGTK2) and (LCL_FULLVERSION < 1100000)}
|
||||
// Workaround for Lazarus bug #0021453
|
||||
ClipboardSetText(Clipboard.AsText);
|
||||
{$ENDIF}
|
||||
end;
|
||||
|
||||
procedure TfrmEditor.cm_EditPaste(const Params:array of string);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue