<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<meta content="text/html; charset=UTF-8" http-equiv="Content-Type">
<title></title>
</head>
<body bgcolor="#ffffff" text="#000000">
On 10/17/2024 10:43 AM, Mark Volkmann via Cuis-dev wrote:
<blockquote
cite="mid:CAFfRWnUZYLrZPsOmzCqBo1tN1TG_bqxS0zQKfNXcActjmsA0rQ@mail.gmail.com"
type="cite">
<div dir="ltr">Often, but not always, when I press the return key
to insert a line of code in a method, I see carriage return
arrows as shown in the attached screenshot. I have to manually
delete those. I'm curious why those get inserted and whether
there is a way to prevent that from happening. I'm on macOS.<br
clear="all">
<div><br>
</div>
<span class="gmail_signature_prefix">-- </span><br>
<div dir="ltr" class="gmail_signature"
data-smartmail="gmail_signature">
<div dir="ltr">
<div>
<div dir="ltr">
<div>
<div dir="ltr">
<div dir="ltr">
<div><font face="arial, helvetica, sans-serif">R.
Mark Volkmann</font></div>
<div><span style="font-size: 12.8px;"><font
face="arial, helvetica, sans-serif">Object
Computing, Inc.</font></span></div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</blockquote>
<br>
Cuis includes keystrokes for entering alternate line ending
characters. So:<br>
[return/enter] -> Lf<br>
[alt] + [enter] -> CrLf<br>
[command] + [return] -> CrLf<br>
[ctrl] + [alt] + [enter] -> Cr<br>
[control] + [command] + [return] -> Cr<br>
<br>
But nobody seems to find them useful. Additionally, the Mac
sometimes returns [command]+[return] when command key is not
pressed, leading to the problem you see. I just disabled that code,
meaning that any such combination will add a regular LF character.
If someone needs it back, we may add a preference.<br>
<br>
Thanks,<br>
<pre class="moz-signature" cols="72">--
Juan Vuletich
cuis.st
github.com/jvuletich
researchgate.net/profile/Juan-Vuletich
independent.academia.edu/JuanVuletich
patents.justia.com/inventor/juan-manuel-vuletich
linkedin.com/in/juan-vuletich-75611b3
twitter.com/JuanVuletich</pre>
</body>
</html>