[MSEide-MSEgui-talk] BUG: trim trailing whitespace sometimes eats lineending during copy/paste action

classic Classic list List threaded Threaded
5 messages Options
Reply | Threaded
Open this post in threaded view
|

[MSEide-MSEgui-talk] BUG: trim trailing whitespace sometimes eats lineending during copy/paste action

Graeme Geldenhuys
As the subject line says... If you have the Editor's "Trim trailing
whitespace on save" setting enabled and you copy and paste multiple
lines of code, sometimes the IDE eats the line ending characters and the
result is two line now become one.

I hit this bug pretty frequent. Anybody know of a fix for this?


Regards,
  Graeme

--
fpGUI Toolkit - a cross-platform GUI toolkit using Free Pascal
http://fpgui.sourceforge.net/

My public PGP key:  http://tinyurl.com/graeme-pgp


_______________________________________________
mseide-msegui-talk mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/mseide-msegui-talk
Reply | Threaded
Open this post in threaded view
|

Re: [MSEide-MSEgui-talk] BUG: trim trailing whitespace sometimes eats lineending during copy/paste action

fredvs
Hello Graeme.

 sometimes the IDE eats the line ending characters 

Yes and it is boring.
There is indeed a problem with "slineend" constant, sometime.
There is the similar problem with msei18n and dealing of lineending.

The trick was to use #10 instead.

I will jump inside that ĺineending-copy/paste problem asap.

Fre;D



De : Graeme Geldenhuys <[hidden email]>
Envoyé : lundi 22 avril 2019 01:39
À : mseide-msegui
Objet : [MSEide-MSEgui-talk] BUG: trim trailing whitespace sometimes eats lineending during copy/paste action
 
As the subject line says... If you have the Editor's "Trim trailing
whitespace on save" setting enabled and you copy and paste multiple
lines of code, sometimes the IDE eats the line ending characters and the
result is two line now become one.

I hit this bug pretty frequent. Anybody know of a fix for this?


Regards,
  Graeme

--
fpGUI Toolkit - a cross-platform GUI toolkit using Free Pascal
http://fpgui.sourceforge.net/

My public PGP key:  http://tinyurl.com/graeme-pgp


_______________________________________________
mseide-msegui-talk mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/mseide-msegui-talk


_______________________________________________
mseide-msegui-talk mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/mseide-msegui-talk
Reply | Threaded
Open this post in threaded view
|

Re: [MSEide-MSEgui-talk] BUG: trim trailing whitespace sometimes eats lineending during copy/paste action

fredvs
Hello Graeme.

Now that I am ready to jump into code, I cannot reproduce the problem.
I did try with many copy/past but it is always ok.

Could you give a examples of sentences with lineended that cause the
problem?

> If you have the Editor's "Trim trailing whitespace on save" setting
> enabled and you copy and paste multiple lines of code

I am not sure that "Trim trailing whitespace on save" has something to do
with copy-paste, the method is called only at save-file.

Fre;D




--
Sent from: http://mseide-msegui-talk.13964.n8.nabble.com/


_______________________________________________
mseide-msegui-talk mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/mseide-msegui-talk
Reply | Threaded
Open this post in threaded view
|

Re: [MSEide-MSEgui-talk] BUG: trim trailing whitespace sometimes eats lineending during copy/paste action

Graeme Geldenhuys
On 22/04/2019 16:19, fredvs wrote:
> Could you give a examples of sentences with lineended that cause the
> problem?

The the mailing list archive messages I listed below.


> I am not sure that "Trim trailing whitespace on save" has something to do
> with copy-paste, the method is called only at save-file.

Martin suggested the link between the two. Note this was reported back
in 2015 and I still experience the paste issue every time I use MSEide.
If simply grown to ignore it and manually fix the pasted code.

Please read the full message threads of each link.

https://www.mail-archive.com/mseide-msegui-talk@.../msg08917.html

https://www.mail-archive.com/mseide-msegui-talk%40lists.sourceforge.net/msg08839.html


Regards,
  Graeme

--
fpGUI Toolkit - a cross-platform GUI toolkit using Free Pascal
http://fpgui.sourceforge.net/

My public PGP key:  http://tinyurl.com/graeme-pgp


_______________________________________________
mseide-msegui-talk mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/mseide-msegui-talk
Reply | Threaded
Open this post in threaded view
|

Re: [MSEide-MSEgui-talk] BUG: trim trailing whitespace sometimes eats lineending during copy/paste action

fredvs
Hello Graeme.

OK, I will study your post.

Fre;D


De : Graeme Geldenhuys <[hidden email]>
Envoyé : lundi 22 avril 2019 21:09
À : [hidden email]
Objet : Re: [MSEide-MSEgui-talk] BUG: trim trailing whitespace sometimes eats lineending during copy/paste action
 
On 22/04/2019 16:19, fredvs wrote:
> Could you give a examples of sentences with lineended that cause the
> problem?

The the mailing list archive messages I listed below.


> I am not sure that "Trim trailing whitespace on save" has something to do
> with copy-paste, the method is called only at save-file.

Martin suggested the link between the two. Note this was reported back
in 2015 and I still experience the paste issue every time I use MSEide.
If simply grown to ignore it and manually fix the pasted code.

Please read the full message threads of each link.

https://www.mail-archive.com/mseide-msegui-talk@.../msg08917.html

https://www.mail-archive.com/mseide-msegui-talk%40lists.sourceforge.net/msg08839.html


Regards,
  Graeme

--
fpGUI Toolkit - a cross-platform GUI toolkit using Free Pascal
http://fpgui.sourceforge.net/

My public PGP key:  http://tinyurl.com/graeme-pgp


_______________________________________________
mseide-msegui-talk mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/mseide-msegui-talk


_______________________________________________
mseide-msegui-talk mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/mseide-msegui-talk