<div dir="ltr"><div dir="ltr">Hi Martin<div><br></div><div>somebody fixed this point, too. See</div><div><br></div><div><a href="https://mega.nz/file/SkwVwIaS#qC1UeaSGy2kLwEQTSl57CPIYJZY34LYdMQQh7zb9ruY">https://mega.nz/file/SkwVwIaS#qC1UeaSGy2kLwEQTSl57CPIYJZY34LYdMQQh7zb9ruY</a><br></div><div><br></div><div>I am sending the unit synedit.pp fixed for both the stable and the trunk version.</div><div><br></div><div>I can finally work in column mode as I was accustomed to do in Delphi :)</div><div><br></div><div>HTH<br></div><div><br></div><div>Duilio</div></div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Sun, Feb 21, 2021 at 5:22 PM Martin Frb 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>
<div>On 21/02/2021 16:53, Juha Manninen via
lazarus wrote:<br>
</div>
<blockquote type="cite">
<div dir="ltr">
<div dir="ltr">
<div dir="ltr">
<div dir="ltr">On Sun, Feb 21, 2021 at 1:30 PM Martin Frb
via lazarus <<a href="mailto:lazarus@lists.lazarus-ide.org" target="_blank">lazarus@lists.lazarus-ide.org</a>>
wrote:<br>
</div>
<div class="gmail_quote">
<blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">And one more thing,
if you plan to submit a patch, please add an option <br>
to SynEdit.Options2<br>
Many people are used to the current behaviour, I do not
plan to upset them.<br>
</blockquote>
<div><br>
</div>
<div>This particular feature should not have an option
IMO.</div>
<div>Now it can be considered a missing feature or even a
bug.</div>
<div>When a user presses Alt-key when selecting, he
clearly wants something special to happen with Ctrl-C.</div>
</div>
</div>
</div>
</div>
</blockquote>
<br>
Well, if the user selects a column selection of a single line, then
yes (probably).<br>
<br>
But if the user selects column over several lines, then pasting
already acts different than it would for a normal selection.<br>
(Select 3 full lines (start to end) using column selection =>
paste will be different than the same 3 lines in normal selection)<br>
<br>
And users who grew up without the feature may not like it.<br>
<br>
<blockquote type="cite">
<div dir="ltr">
<div dir="ltr">
<div dir="ltr">
<div class="gmail_quote">
<div>Now nothing special happens which is a semi-bug.</div>
<div>I am sure everybody will be happy when this feature
gets implemented. I can remember many situations where
it would have been useful.</div>
</div>
</div>
</div>
</div>
</blockquote>
I don't have an example at hand, but I am sure I have more than a
few times made the experience that small, seemingly really useful
changes got someone coming up wanting the old behaviour back.<br>
<br>
<blockquote type="cite">
<div dir="ltr">
<div dir="ltr">
<div dir="ltr">
<div class="gmail_quote">
<div><br>
</div>
<div>IMO there are too many options already.</div>
</div>
</div>
</div>
</div>
</blockquote>
That is true, or rather they are badly organized. They need break
down into basic, and expert (like the mouse options have)<br>
<br>
<blockquote type="cite">
<div dir="ltr">
<div dir="ltr">
<div dir="ltr">
<div class="gmail_quote">
<div>If I accidentally change something during my tests,
it takes a long time to figure out what changed and how
to revert it.</div>
</div>
</div>
</div>
</div>
</blockquote>
Take a copy of your ___Options.xml files.<br>
You can restore or diff them.<br>
<br>
<blockquote type="cite">
<div dir="ltr">
<div dir="ltr">
<div dir="ltr">
<div class="gmail_quote">
<div>Please add more options only when really needed.</div>
<br>
</div>
</div>
</div>
</div>
</blockquote>
What I really would want to do, is include config in the keymap.<br>
You could add new commands to the keymap.<br>
<br>
So you would assign ctrl-v to<br>
paste(true)<br>
or<br>
paste(ColumnAdvanceLine)<br>
ecPaste(ColumnAdvanceLine, IndentToContext, TabsToSpaces)<br>
<br>
They look like pascal script, but they would not require
pascalscript. (PascalScript does not work on all platforms, so it
can not be used here)<br>
They would always be a single command, with hardcoded options.<br>
<br>
This is like in some browser, you can do config in css, JavaScript
or similar.<br>
<br>
But that is a topic on its own.<br>
<br>
<br>
</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>