Lugaru's Epsilon Programmer's Editor
Context:
|
Epsilon User's Manual and Reference >
Commands by Topic >
Changing Text >
Clipboard Access
In Windows and DOS,
Epsilon's killing commands interact with the Windows clipboard.
Similarly, Epsilon for Unix interacts with the X clipboard when
running as an X program. You can kill text in Epsilon and paste it
into another application, or copy text from an application and bring
it into Epsilon with the yank command.
All commands that put text on the kill ring will also try to copy the
text to the clipboard, if the variable clipboard-access is
non-zero. You can copy the current region to the clipboard without
putting it on the kill ring using the command copy-to-clipboard.
The yank command copies new text from the clipboard to the top
of the kill ring. It does this only when the clipboard's contents
have changed since the last time Epsilon accessed it, the clipboard
contains text, and clipboard-access is non-zero.
Epsilon looks at the size of the clipboard to determine if the text
on it is new, so it may not always notice new text. You can force
Epsilon to retrieve text from the clipboard by using the
insert-clipboard command, which inserts the text on the
clipboard at point in the current buffer.
If you prefer to have Epsilon ignore the clipboard except when you
explicitly tell it otherwise, set clipboard-access to zero.
You can still use the commands copy-to-clipboard and
insert-clipboard to work with the clipboard. Unlike the
transparent clipboard support provided by clipboard-access,
these commands will report any errors that occur while trying to
access the clipboard. If transparent clipboard support cannot access
the clipboard for any reason, it won't report an error, but will
simply ignore the clipboard. Epsilon also disables transparent
clipboard support when running a keyboard macro, unless
clipboard-access is 2 .
By default, when Epsilon for DOS puts characters on the clipboard, it
lets Windows translate the characters from the OEM character set to
Windows ANSI, so that national characters display correctly.
Epsilon for Windows uses Windows ANSI like other Windows programs, so
no translation is needed. See the description of the
clipboard-format variable to change this.
Epsilon for DOS has some limitations on its clipboard access. For one
thing, its clipboard support only functions when running under Windows
3.1 or later or Windows 95/98/ME, not under Windows NT or derivatives.
Epsilon for DOS cannot read a clipboard with more than 65,500
characters, and will ignore the clipboard's contents in this case.
Similarly, if you kill a block of text larger than 65,500 characters,
Epsilon won't put it on the clipboard.
Standard bindings:
Copyright (C) 1984, 2020 by Lugaru Software Ltd. All rights reserved.
|