Editor: delete words deletes too much.

Help
Manni
2006-11-30
2013-05-20
  • Manni
    Manni
    2006-11-30

    Hi,

    I've been using epic now for a couple of weeks and I really like it. Nice work.

    I have one little complaint about the perl editor, though. The "delete word" action (ctrl + del) deletes way too much, IMHO. For example, it will delete the next sigil.

    Here's an example. I am editing this line:
    $something = $foo + $bar;

    Now I find out that $foo isn't necessary and all I need is $bar. So I place the cursor just before $foo and hit ctrl+del. IMHO, this should delete $foo, but nothing after that. What it actually does is to delete '$', leaving 'foo'. So I hit ctrl + del again. This is where it gets drastic because not only will this delete foo, it will also delete ' + $', leaving only bar.

    $something = |$foo + $bar;
    $something = |foo + $bar;
    $something = |bar;

    Can this behavior be changed somehow? I did a bit of Googling and found a bug report for the eclipse java editor, which doesn't seem to help much when it comes to the perl editor:
    https://bugs.eclipse.org/bugs/show_bug.cgi?format=multiple&id=58100

    Regards,
    Manni

     
    • Jan Ploski
      Jan Ploski
      2006-12-03

      The behavior you described is wrong and already fixed in CVS.
      I am going to release the next version of stable/testing some time during the next week.

      http://sourceforge.net/tracker/index.php?func=detail&aid=1608030&group_id=75859&atid=545274
      http://sourceforge.net/tracker/index.php?func=detail&aid=1599854&group_id=75859&atid=545277

       
      • Manni
        Manni
        2006-12-04

        Cool. Thank you very much!

        Manni

         
      • Manni
        Manni
        2006-12-06

        OK, I got the update and Ctrl-Del is really behaving nicely now. But I noticed something strange when I played with the editor after the update: ctrl-backspace acts pretty weird. Fortunately not in a dangerous way. Instead of deleting the previous word (or anything at all), it will select the previous word.

        Is this one intended?

        Regards,
        Manni

         
        • Jan Ploski
          Jan Ploski
          2006-12-06

          Oops, of course not. A copy-paste mistake.

           
          • Manni
            Manni
            2006-12-13

            I sure don't want to annoy you, but with 0.4.25, ctrl-backspace doesn't do anything for me.

            Regards,
            Manni