Customizer's Guide > Customizing Copying and Pasting from Other Applications > Disabling Copy and Paste
  
Disabling Copy and Paste
If you do not want Arbortext Editor to convert content from other applications into markup, then you can disable this feature. In this case, copy and paste from other applications will function as that operation did before Arbortext Editor release 5.4. That is, pasted content will be a stream of text without any tagging.
Following are some reasons you might want to revert to the earlier way Arbortext Editor did copy and paste operations from other applications:
Many applications that want to preserve text formatting in clipboard content use RTF to store that content. This might cause unexpected results in the converted markup.
This feature is dependent on a certain release of the Java Virtual Machine (JVM) and third-party Java classes. Changes in the .jar files in your install tree or in a custom\classes directory might adversely affect the copy and paste feature requiring you to disable it.
If you have existing customizations that process HTML or RTF clipboard content or if you have a customization using the buffer_clipboard_contents function, then you might want to retain that customization instead of using the new copy and paste feature.
If you use a right-to-left language then you might want disable this feature, as Arbortext Import/Export does not reliably support language directionality.
Follow these steps to disable copy and paste:
1. In Arbortext Editor. select Tools > Preferences.
The Preferences dialog box opens.
2. Click the Advanced button.
The Advanced Preferences dialog box opens.
3. Select the pastesource preference and click the Edit button.
4. Delete all of the content in the Value field and click OK.
5. Click Close to close the Advanced Preferences dialog box and OK to close the Preferences dialog box.
Copy and paste is now disabled.
Note that you can also use the set pastesource command to disable copy and paste by setting the value of the command to an empty or null string, for example: set pastesource="".
Related topics
Copying and pasting text from other applications
set pastesource
buffer_clipboard_contents