<div dir="ltr"><div dir="ltr"><div dir="ltr"><div dir="ltr"><div>Hi Ryan,</div><div><br></div><div>not the same result IMHO.</div><div><br></div><div>1.</div><div>I column-select the text shown in</div><div><br></div><div><a href="https://i.ibb.co/WpL6Rmz/1.jpg">https://i.ibb.co/WpL6Rmz/1.jpg</a></div><div><br></div><div>Now the clipboard contains the text that extends from point (26,66) to point (26,72)</div><div><br></div><div>2.</div><div>I move the cursor to point (27,66). See</div><div><br></div><div><a href="https://i.ibb.co/zGqQPPT/2.jpg">https://i.ibb.co/zGqQPPT/2.jpg</a></div><div><br></div><div>3. </div><div>now I would like to press ctr-v 6 times and get the text inserted in the</div><div>following 6 rows...but I cant.</div><div><br></div><div>In fact, after the first insert, the cursor stays on row 27.</div><div><br></div><div>See</div><div><br></div><div><a href="https://i.ibb.co/v1FJqzg/3.jpg">https://i.ibb.co/v1FJqzg/3.jpg</a></div><div><br></div><div>Instead, it should move to position (28,66)</div><div><br></div><div>4.</div><div><br></div><div>pic</div><div><br></div><div><a href="https://i.ibb.co/jDBfSpZ/4.jpg">https://i.ibb.co/jDBfSpZ/4.jpg</a></div><div><br></div><div>shows the result I wanted from the start. I can get it only by several</div><div>uneeded clicks on the arrows keys...</div><div><br></div><div>5.</div><div><br></div><div>my point is: in Lazarus edit the act of inserting a text which is column-selected has the same </div><div>result that the act of inserting a text which is row-selected. It would be nice to</div><div>differentiate the results (as it was in Delhi editor) so to satisfy different </div><div>needs of the coder.</div><div><br></div><div>Thank you</div><div><br></div><div>Duilio</div></div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Sat, Feb 20, 2021 at 11:58 AM R.Smith via lazarus <<a href="mailto:lazarus@lists.lazarus-ide.org">lazarus@lists.lazarus-ide.org</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">
<div>
<p>I'm not the coder, nor have any answer or thought on the matter,
but I would like to point out that if you select text (any text)
and then use a multi-cursor (pressing Alt+Shift+Down Arrow several
times) and then Ctrl-V to paste, you get such a multi-row paste
very easily.</p>
<p>Whether the mentioned IDE thing gets fixed or not, I find this
the easier way.</p>
<p>Cheers!<br>
Ryan</p>
<br>
<div>On 2021/02/20 12:06, duilio foschi via
lazarus wrote:<br>
</div>
<blockquote type="cite">
<div dir="ltr">
<div dir="ltr">
<div dir="ltr">
<div dir="ltr">If the coder in charge of the editor reads
this, I have a prayer for him:</div>
<div dir="ltr"><br>
</div>
<div dir="ltr">1.</div>
<div dir="ltr"><br>
</div>
<div dir="ltr">The text showed in </div>
<div dir="ltr"><br>
</div>
<div dir="ltr"><a href="https://i.ibb.co/0FQV1L0/3.jpg" target="_blank">https://i.ibb.co/0FQV1L0/3.jpg</a></div>
<div dir="ltr"><br>
</div>
<div dir="ltr">is column-selected using shift+alt+arrow
followed by ctrl-C</div>
<div dir="ltr"><br>
</div>
<div dir="ltr">2. using the arrows key, I move the cursor to
the position shown in</div>
<div dir="ltr"><br>
</div>
<div dir="ltr"><a href="https://i.ibb.co/VmbVJtg/4.jpg" target="_blank">https://i.ibb.co/VmbVJtg/4.jpg</a></div>
<div dir="ltr"><br>
</div>
<div dir="ltr">3. I press ctrl-V. The text ':string' is
correctly copied into the </div>
<div dir="ltr">expected position but... look at the cursor</div>
<div dir="ltr"><br>
</div>
<div dir="ltr"><a href="https://i.ibb.co/PWLfsn9/5.jpg" target="_blank">https://i.ibb.co/PWLfsn9/5.jpg</a></div>
<div dir="ltr"><br>
</div>
<div dir="ltr">The cursor is now at the position after the
'g' in the same row where the</div>
<div dir="ltr">text was copied. </div>
<div dir="ltr"><br>
</div>
<div dir="ltr">So in the Lazarus editor there is no
difference in copying a text row-selected </div>
<div dir="ltr">and a text column-selected.</div>
<div dir="ltr"><br>
</div>
<div dir="ltr">In Delphi there is a big difference when you
copy a text (at least until v. 7,</div>
<div dir="ltr">when I stopped using it).</div>
<div dir="ltr"><br>
</div>
<div dir="ltr">Say you copy a text of lenght L from the
clipboard into point (x,y). </div>
<div dir="ltr">If the text is row-selected, Delphi sets the
cursor at point (x+L,y), </div>
<div dir="ltr">like the Lazarus editor does.</div>
<div dir="ltr"><br>
</div>
<div dir="ltr">But if the text is column-selected, Delphi
sets the cursor at point (x,y+1),</div>
<div dir="ltr">in the row below.</div>
<div dir="ltr"><br>
</div>
<div dir="ltr">This enables you to quickly copy several rows
of text, as shown here</div>
<div dir="ltr"><br>
</div>
<div dir="ltr"><a href="https://i.ibb.co/98Y9WnD/6.jpg" target="_blank">https://i.ibb.co/98Y9WnD/6.jpg</a></div>
<div dir="ltr"><br>
</div>
<div dir="ltr">This ability is a big plus for a
coder...well... at least I remember I was using </div>
<div dir="ltr">it often :)</div>
<div dir="ltr"><br>
</div>
<div dir="ltr">.</div>
<div><br>
</div>
</div>
</div>
</div>
<br>
<fieldset></fieldset>
</blockquote>
</div>
-- <br>
_______________________________________________<br>
lazarus mailing list<br>
<a href="mailto:lazarus@lists.lazarus-ide.org" target="_blank">lazarus@lists.lazarus-ide.org</a><br>
<a href="https://lists.lazarus-ide.org/listinfo/lazarus" rel="noreferrer" target="_blank">https://lists.lazarus-ide.org/listinfo/lazarus</a><br>
</blockquote></div></div></div>