Author Topic: Annoying home/end editor behavior on wrapped text  (Read 15829 times)

Offline dmoore

  • Developer
  • Lives here!
  • *****
  • Posts: 1576
Re: Annoying home/end editor behavior on wrapped text
« Reply #15 on: July 30, 2007, 12:42:45 am »
@dje: I've added your requested matching brace behavior to the patch (#2116): http://developer.berlios.de/patch/index.php?func=detailpatch&patch_id=2116&group_id=5358
because bookmarks already use ctrl+b, i made ctrl+. and ctrl+shift+. the default keys to goto and select to matching brace respectively, but I have no personal attachment to this key combo and maybe someone can think of a better default (ctrl+e and ctrl+shift+e are available). also note that i modified the behavior of matching brace slightly to move inside (or outside) the matching brace if your original position was inside (outside) the original brace (this is also true for extending the selection)

@thomas: keep in mind that the home/end change only has any effect if the text is wordwrapped and, in that case, it is a feature enhancement. pressing end (home) goes to the wrap point. if already at the wrap point (i.e. if you press the key a second time), pressing end (home) goes to the end (starting indent) of the entire line. alt+end and alt+home will always goto the end of the entire line or first indent of the entire line, respectively (and thus follow the typical convention that modified keys have an incrementally larger effect). As someone who uses the CB editor as a C/C++ editor, a scripting editor, a latex editor and xml editor I can assure you this is more usable than the current behavior.

Offline dje

  • Lives here!
  • ****
  • Posts: 682
Re: Annoying home/end editor behavior on wrapped text
« Reply #16 on: July 30, 2007, 09:21:45 am »
Hi Damien !

Thanks !!  :D
I'll try it this week and hope it will be applied.

Dje