copy-with-syntax
copy-with-syntax copied to clipboard
Copy buffer content with syntax highlighting
Limitation of the way this plugin works, fixing would probably mean taking completely different approach. Atom does some optimizations behind the scenes to render only what's actually going to be...
When copied this text: `// Todas as unidades são métricas` Got it: `// Todas as unidades s√£o métricas`
When I copy:  I got in Word: `{\rtf1\ansi\ansicpg1252 {\fonttbl\f0\fnil\fcharset0 Menlo,Consolas,"DejaVuSansMono",monospace-Regular;\f1\fnil\fcharset0 Menlo,Consolas,"DejaVuSansMono",monospace-Bold;\f2\fnil\fcharset0 Menlo,Consolas,"DejaVuSansMono",monospace-Italic;} {\colortbl;\red202\green18\blue67;\red56\green58\blue66;\red64\green120\blue242;\red56\green58\blue66;\red80\green161\blue79;\red166\green38\blue164;\red1\green132\blue188;\red228\green86\blue73;\red152\green104\blue1;\red193\green132\blue1;} \f0\fs24 \cf1 \line \cf4 \line \line \cf2 \cf4 \line \cf2 \cf1 \line \cf2 \cf4 \line \cf2...
Copying results in the following plain text being pasted into Outlook. (Windows environment) {\rtf1\ansi\ansicpg1252 {\fonttbl\f0\fnil\fcharset0 Menlo,Consolas,"DejaVuSansMono",monospace-Regular;\f1\fnil\fcharset0 Menlo,Consolas,"DejaVuSansMono",monospace-Bold;\f2\fnil\fcharset0 Menlo,Consolas,"DejaVuSansMono",monospace-Italic;} {\colortbl;\red56\green58\blue66;\red56\green58\blue66;\red228\green86\blue73;\red80\green161\blue79;} \f0\fs24 \cf1 \{ \line \cf2 \cf3 "sobjects"\cf1 : \{ \line \cf2...
[Enter steps to reproduce:] 1. ... 2. ... **Atom**: 1.21.2 x64 **Electron**: 1.6.15 **OS**: Microsoft Windows 7 Ultimate **Thrown From**: [copy-with-syntax](https://github.com/frantic/copy-with-syntax) package 0.0.3 ### Stack Trace Uncaught TypeError: Cannot read...
The contents of `atom-text-editor` elements are no longer encapsulated within a shadow DOM boundary. Please, stop using `shadowRoot` and access the editor contents directly instead. ``` HTMLElement.shadowRoot (C:\Users\Akira\AppData\Local\atom\app-1.19.0\resources\app\src\text-editor-element.js:13:10) HTMLElement.copyWithSyntax (C:\Users\Akira\.atom\packages\copy-with-syntax\lib\copy-with-syntax.js:9:31)...
In this case lose part of text ``` xslt Version: Vendor: Vendor URL: ``` in result get: ``` xslt Version: Vendor: Vendor URL:  ```
Fix issue #7 > The contents of atom-text-editor elements are no longer encapsulated > within a shadow DOM boundary. Please, stop using shadowRoot and access > the editor contents directly...
The contents of `atom-text-editor` elements are no longer encapsulated within a shadow DOM boundary. Please, stop using `shadowRoot` and access the editor contents directly instead. ``` atom-text-editor.Object.defineProperty.get (/private/var/folders/kc/5sz0jdf14l10gvlqd4vt3_c80000gn/T/AppTranslocation/61529E22-31FD-4C09-9E60-C15C57B2177A/d/Atom.app/Contents/Resources/app.asar/src/text-editor-element.js:68:18) atom-workspace.copyWithSyntax (/Users/Jb/.atom/packages/copy-with-syntax/lib/copy-with-syntax.js:9:31)...
I am using Atom 1.13.0 x64 on Ubuntu 16.10. I tried copying from Atom to Evernote Web. It copies plain text but not formatted text. Any idea ?