Editor: delete words deletes too much.

  • Manni

    Manni - 2006-11-30


    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:


    • 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.


      • Manni

        Manni - 2006-12-04

        Cool. Thank you very much!


      • 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?


        • 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.



Log in to post a comment.

Get latest updates about Open Source Projects, Conferences and News.

Sign up for the SourceForge newsletter:

No, thanks