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

2019-04-22 Thread 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@lists.sourceforge.net/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
mseide-msegui-talk@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/mseide-msegui-talk


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

2019-04-22 Thread Fred van Stappen
Hello Graeme.

OK, I will study your post.

Fre;D


De : Graeme Geldenhuys 
Envoyé : lundi 22 avril 2019 21:09
À : mseide-msegui-talk@lists.sourceforge.net
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@lists.sourceforge.net/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
mseide-msegui-talk@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/mseide-msegui-talk
___
mseide-msegui-talk mailing list
mseide-msegui-talk@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/mseide-msegui-talk


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

2019-04-22 Thread 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
mseide-msegui-talk@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/mseide-msegui-talk


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

2019-04-21 Thread Fred van Stappen
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 
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
mseide-msegui-talk@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/mseide-msegui-talk
___
mseide-msegui-talk mailing list
mseide-msegui-talk@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/mseide-msegui-talk