<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
  <meta content="text/html;charset=ISO-8859-1" http-equiv="Content-Type">
  <title></title>
</head>
<body bgcolor="#ffffff" text="#000000">
Enrico Tröger wrote:
<blockquote cite="mid:20070705211520.a36bab26.enrico.troeger@uvena.de"
 type="cite">
  <pre wrap="">On Thu, 5 Jul 2007 15:09:58 -0400, "John Gabriele" <a class="moz-txt-link-rfc2396E" href="mailto:jmg3000@gmail.com"><jmg3000@gmail.com></a>
wrote:

  </pre>
  <blockquote type="cite">
    <pre wrap="">On 7/5/07, Enrico Tröger <a class="moz-txt-link-rfc2396E" href="mailto:enrico.troeger@uvena.de"><enrico.troeger@uvena.de></a> wrote:
    </pre>
    <blockquote type="cite">
      <pre wrap="">On Thu, 5 Jul 2007 12:47:30 -0400, "John Gabriele"
<a class="moz-txt-link-rfc2396E" href="mailto:jmg3000@gmail.com"><jmg3000@gmail.com></a> wrote:

      </pre>
      <blockquote type="cite">
        <blockquote type="cite">
          <blockquote type="cite">
            <pre wrap="">[snip]
            </pre>
          </blockquote>
          <blockquote type="cite">
            <pre wrap="">* Shift-Alt-L to select line
            </pre>
          </blockquote>
          <pre wrap="">Shift-Alt-L is currently used a "Line Delete" by Scintilla, but
I suggest to remove the Line Delete feature (because of
probably rare usage) and use Shift-Alt-L for select line.
          </pre>
        </blockquote>
        <pre wrap="">Actually, that's Shift-Ctrl-L to delete current line, not
Shift-Alt-L
        </pre>
      </blockquote>
      <pre wrap="">Oops, sorry.

      </pre>
      <blockquote type="cite">
        <pre wrap="">(and Ctrl-L cuts the line). Deleting (or else cutting) the current
line is very handy, IMO. Though I'm used to both GNU Emacs and GNU
nano using Ctrl-K for it. Ctrl-L seems more like it should be "go
to
        </pre>
      </blockquote>
      <pre wrap="">The Gnome HIG says in Table 10.4 "Emacs-style navigation keys for
widgets" Ctrl-U for delete current line.
      </pre>
    </blockquote>
    <pre wrap="">That's odd. Might be an error. In Emacs, Ctrl-U is a prefix key -- you
    </pre>
  </blockquote>
  <pre wrap=""><!---->Probably, just wanted to mention it.

  </pre>
  <blockquote type="cite">
    <blockquote type="cite">
      <pre wrap="">It really seems there is no sane way to provide defaults to make all
happy. Sigh.
But we could bind Delete line or Cut line to Ctrl-K (and the other
one to Ctrl-Shift-K or Ctrl-Alt-K, I don't care) and bind Go to
line to Ctrl -L. What do you think?
      </pre>
    </blockquote>
    <pre wrap="">That sounds preferable and easy to remember to me (delete line:
Ctrl-K, cut line: Shift-Ctrl-K, go to line: Ctrl-L).
    </pre>
  </blockquote>
  <pre wrap=""><!---->Ok, I'll do it tomorrow if nobody complains ;-).

  </pre>
  <blockquote type="cite">
    <blockquote type="cite">
      <blockquote type="cite">
        <pre wrap="">Incidentally, I don't see "delete current line" (or "cut current
line") listed in Help --> Keyboard shortcuts, or in Edit -->
Preferences --> Keybindings. I guess those 2 places are only for
Geany-specific (outside of Scintilla defaults) bindings?
        </pre>
      </blockquote>
      <pre wrap="">Yes. Ctrl-L is a Scintilla binding but could be rebind by Geany (as
we have already done for example for Ctrl-A).
      </pre>
    </blockquote>
    <pre wrap="">I see that you can steal a key-binding from Scintilla, and have Geany
override it. But, can you re-bind some other key to a
Scintilla-specific command, such as "delete line" or "cut line"? I
    </pre>
  </blockquote>
  <pre wrap=""><!---->Yes, no problem.

  </pre>
  <blockquote type="cite">
    <pre wrap="">don't see either of those listed in Preferences --> Keybindings.
    </pre>
  </blockquote>
  <pre wrap=""><!---->Not yet ;-). I'll add them tomorrow together with the Line transpose
feature which is currently bound to Ctrl-T (by Scintilla). I think we
keep this default but make it changeable through Geany.

Regards,
Enrico

  </pre>
  <pre wrap="">
<hr size="4" width="90%">
_______________________________________________
Geany mailing list
<a class="moz-txt-link-abbreviated" href="mailto:Geany@uvena.de">Geany@uvena.de</a>
<a class="moz-txt-link-freetext" href="http://uvena.de/cgi-bin/mailman/listinfo/geany">http://uvena.de/cgi-bin/mailman/listinfo/geany</a>
  </pre>
</blockquote>
Well if we're really wishing.... I'd love to have the old BRIEF
keybindings....<br>
Alt-d - delete line<br>
Alk-k - Delete to end of line <br>
<br>
:)<br>
<br>
Michael<br>
</body>
</html>