col / qlcolorcode

Automatically exported from code.google.com/p/qlcolorcode
0 stars 0 forks source link

cannot copy #75

Open GoogleCodeExporter opened 8 years ago

GoogleCodeExporter commented 8 years ago
I activated copy in quicklook with :
defaults write com.apple.finder QLEnableTextSelection -bool TRUE; killall Finder

See here : 
http://lifehacker.com/5874280/copy-text-from-quick-look-previews-with-a-terminal
-hack

It doesn't work with your plugin. Seems it break capacity to copy text with all 
extension. I tried with json, xml, php, css, js...

Original issue reported on code.google.com by emmanuel...@gmail.com on 12 Feb 2014 at 3:16

GoogleCodeExporter commented 8 years ago
Please fix this! qlcolorcode is great, but being able to copy text is such an 
important feature.

Original comment by Grundges...@gmail.com on 15 Feb 2014 at 1:51

GoogleCodeExporter commented 8 years ago
I'm not sure what is different on my system but it works fine here (OSX 10.9.2, 
QLColorCode 2.0.1).  I was able to select text in h, c, pl, xml that was 
parsed/colored by QLCC and copy it to the pasteboard by pressing Command+C.  No 
errors or issues.

What OS version and QLCC version are you using?
What is the output of 'qlmanage -d 1 -t FILENAME.xml' for one of your xml 
files?  Make sure that QLCC is handling that file.  For example, look for 
something like this
UTI: public.xml. Generator used: <QLGenerator 
/Users/USERNAME/Library/QuickLook/QLColorCode.qlgenerator>

If a different QLplugin is handling the file, like the old Xcode Sourcecode 
plugin, it might not be presenting it in a way that you can copy.

Original comment by j...@bingham.co on 10 Mar 2014 at 4:49

GoogleCodeExporter commented 8 years ago
I'm having the same issue (can select text, but can't copy). I'm trying on Ruby 
files. I'm on OSX 10.8.5, QLColorCode 2.0.2. This is the output of the command 
you suggest:

$ qlmanage -d 1 -t armadillo.rb
Testing Quick Look thumbnails with files:
    armadillo.rb
[DEBUG] Registering <QLGenerator Built-in 0x7fc605900430> for public.image
[DEBUG] Thumbnailing armadillo.rb -- 
file://localhost/Users/dpo/dev/homebrew-science/ (try #1)
[DEBUG] 
file://localhost/Applications/GarageBand.app/Contents/Library/QuickLook/GBQLGene
rator.qlgenerator/ overrides <QLGenerator 
/Library/QuickLook/GBQLGenerator.qlgenerator>
[DEBUG] 
file://localhost/Applications/iBooks%20Author.app/Contents/Library/QuickLook/iBo
oksAuthor.qlgenerator/ might shadow a plug-in with the same identifier and 
version (<QLGenerator /Library/QuickLook/iBooksAuthor.qlgenerator>)
[DEBUG] Thumbnailing 
file://localhost/Users/dpo/dev/homebrew-science/armadillo.rb. Content type UTI: 
public.ruby-script. Generator used: <QLGenerator 
/Users/dpo/Library/QuickLook/QLColorCode.qlgenerator>
[DEBUG] Loading <QLGenerator 
/Users/dpo/Library/QuickLook/QLColorCode.qlgenerator>
[DEBUG] Thumbnailing 
file://localhost/Users/dpo/dev/homebrew-science/armadillo.rb finished
* /Users/dpo/dev/homebrew-science/armadillo.rb produced one thumbnail
Done producing thumbnails

Original comment by dominiqu...@gmail.com on 29 Mar 2014 at 12:56