Newlines remove when copy pasting

Henrik Gemal's Avatar

Henrik Gemal

Jul 14, 2014 @ 05:38 PM

when I copy from the Log column and then paste it into a text editor it seems to strip newlines

  1. Support Staff 1 Posted by potsky on Jul 14, 2014 @ 06:27 PM

    potsky's Avatar

    Hi Henrik,

    long time no see!

    In fact when I try to copy logs from Pimp My Log and paste them in Sublime Text for exemple :

    • the table headers are on a single line -> OK
    • each log row is on 2 lines because there is a div in the date column -> KO

    Are you working on Windows ?

  2. 2 Posted by Henrik Gemal on Jul 14, 2014 @ 07:08 PM

    Henrik Gemal's Avatar

    when I mark the text here and copy it and paste it into a texteditor I loose the newlines

    I'm on Windows.
    Server on Linux

  3. Support Staff 3 Posted by potsky on Jul 14, 2014 @ 07:58 PM

    potsky's Avatar

    Ok understood.

    One more thing : can you send me a screenshot of your text editor when you copy d paste several lines of log (not several lines of a single multilingual log as you have done) ?

    Thanx

  4. 4 Posted by Henrik Gemal on Jul 14, 2014 @ 08:30 PM

    Henrik Gemal's Avatar

    I use Pimp My Log to file bugs and the copy paste issue messes up the bug reports

  5. Support Staff 5 Posted by potsky on Jul 14, 2014 @ 09:10 PM

    potsky's Avatar

    Would you like a copy button in the Pimp My Log interface ?

  6. Support Staff 6 Posted by potsky on Jul 15, 2014 @ 11:12 AM

    potsky's Avatar

    Hi Henrik,

    I think you use Firefox. The problem is not related to Windows in fact. This is one of the older known bug in Firefox or Mozilla. It has more than 13 years ! Take a look here : https://bugzilla.mozilla.org/show_bug.cgi?id=116083

    You can use Chrome, Safari, Opera and even IE ! Yes IE works !...

    I have created a new parser type named prefake :

    • upgrade to Pimp My Log 1.1
    • replace in your configuration file the type of the log column : "Log" : "pre" by "Log" : "preface"

    It should do the trick !

  7. potsky closed this discussion on Jul 15, 2014 @ 11:12 AM.

Comments are currently closed for this discussion. You can start a new one.

Keyboard shortcuts

Generic

? Show this help
ESC Blurs the current field

Comment Form

r Focus the comment reply box
^ + ↩ Submit the comment

You can use Command ⌘ instead of Control ^ on Mac