Sign in Join

Live chat for Free Pascal, Lazarus, Delphi and every Pascal programmer.

Mailing lists / lazarus / 2011-05

Pasting code with spaces trim them incurrectly

4 messages · 3 people ·

Reply by email Subscribe to this list Your subscription

Read-only archive. Use j and k to move between messages.

ik

Hello,

I'm not sure if the following is a bug or that I'm missing something.

Lets say that I copy a code with spaces on both side (or just on the left), then Lazarus paste the code and trimming the left spaces but keeping the right spaces.
Even when I remove the "Trim spaces" check from the checkbox, it still trim left and not right.
Am I missing something here or is it a bug ?

I'm using Lazarus 0.9.31 r30519M FPC 2.5.1 x86_64-linux-gtk 2

Thanks,
Ido
LINESIP - Opening the source for communication
http://www.linesip.com
http://www.linesip.co.il
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.lazarus.freepascal.org/pipermail/lazarus/attachments/20110505/48c5a094/attachment-0001.html>

Reply by email

William Oliveira Ferreira
to ik

Could you show the source?
________________________________
William de Oliveira Ferreira
Bacharel em Sistemas de Informa??o

2011/5/5 ik :

Show quoted text 28 lines
Hello, I'm not sure if the following is a bug or that I'm missing something. Lets say that I copy a code with spaces on both side (or just on the left), then Lazarus paste the code and trimming the left spaces but keeping the right spaces. Even when I remove the "Trim spaces" check from the checkbox, it still trim left and not right. Am I missing something here or is it a bug ? I'm using Lazarus 0.9.31 r30519M FPC 2.5.1 x86_64-linux-gtk 2 Thanks, Ido LINESIP - Opening the source for communication http://www.linesip.com http://www.linesip.co.il -- _______________________________________________ Lazarus mailing list http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus

Reply by email

Mattias Gaertner
to ik: I'm not sure if the following is a bug or that I'm missing something. Lets say that I…

ik hat am 5. Mai 2011 um 16:46 geschrieben:

Show quoted text 13 lines
Hello, I'm not sure if the following is a bug or that I'm missing something. Lets say that I copy a code with spaces on both side (or just on the left), then Lazarus paste the code and trimming the left spaces but keeping the right spaces. Even when I remove the "Trim spaces" check from the checkbox, it still trim left and not right. Am I missing something here or is it a bug ? I'm using Lazarus 0.9.31 r30519M FPC 2.5.1 x86_64-linux-gtk 2

Maybe you mean:Tools / Options / Codetools / General / Indentation / On paste from clipboard

Mattias
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.lazarus.freepascal.org/pipermail/lazarus/attachments/20110505/f49ad94d/attachment.html>

Reply by email

ik
to Mattias Gaertner

2011/5/5 Mattias Gaertner

Show quoted text 21 lines
ik hat am 5. Mai 2011 um 16:46 geschrieben: Hello, I'm not sure if the following is a bug or that I'm missing something. Lets say that I copy a code with spaces on both side (or just on the left), then Lazarus paste the code and trimming the left spaces but keeping the right spaces. Even when I remove the "Trim spaces" check from the checkbox, it still trim left and not right. Am I missing something here or is it a bug ? I'm using Lazarus 0.9.31 r30519M FPC 2.5.1 x86_64-linux-gtk 2 Maybe you mean: Tools / Options / Codetools / General / Indentation / On paste from clipboard

It is checked here, and so does "Context Sensitive", is that might be the problem ?

Mattias

Ido

Show quoted text 8 lines
-- _______________________________________________ Lazarus mailing list http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.lazarus.freepascal.org/pipermail/lazarus/attachments/20110505/81fad67d/attachment.html>

Reply by email