SharpDevelop Community

Get your problems solved!
Welcome to SharpDevelop Community Sign in | Join | Help
in Search

Vertical Selection(Block Selection)

Last post 09-28-2007 1:37 PM by DanielGrunwald. 5 replies.
Page 1 of 1 (6 items)
Sort Posts: Previous Next
  • 04-16-2007 5:20 AM

    Vertical Selection(Block Selection)

    I think Vertical Selection is  important sometimes. For example:

    I want to delete the following comments

    int a; // define a …

    int b; // define b …

    int c; // define c

    and the result is:

    int a;

    int b;

    int c;

    If I can select a block area. That's easy to delete the comments.

    UltraEdit and jEdit have this feature and well done.

  • 09-26-2007 8:46 PM In reply to

    • filipf
    • Not Ranked
    • Joined on 09-26-2007
    • Posts 1

    Re: Vertical Selection(Block Selection)

    I definitively agree. This is the main reason why I use jEdit. Their block selections are superb. jEdit even supports 0-width block selection, and typing inserts values on all lines.

    For example

    int a;
    int b;
    int c;

    can be easily turned into:

    int myVariable_a;
    int myVariable_b;
    int myVariable_c;
     

    I personally think this would give SharpDevelop an edge over VS Express editor. 

  • 09-27-2007 7:25 PM In reply to

    Re: Vertical Selection(Block Selection)

    I definitively also agree! And I wrote about this before in this forum. See: http://community.sharpdevelop.net/forums/thread/10155.aspx

    I think the best implementation of vertical selection is in CodeMax (A discontinued project, but you can download here: http://www.download.com/3001-2352_4-10284778.html).

    It is really nice!

    Thanks. 

     

     

  • 09-27-2007 7:54 PM In reply to

    Re: Vertical Selection(Block Selection)

    There are no plans to implement this.

    SharpDevelop is an open-source project, so why don't you try to implement this?

    Daniel Grunwald
  • 09-28-2007 1:16 PM In reply to

    Re: Vertical Selection(Block Selection)

    Hi! Daniel,

    As my skills in c# are not enough to implement this feature by myself, I asked a guy to do this for me. He did a good job and it seems to be working well.

    Features implemented: Cut/Copy/Paste/Delete/MultiLineEdit/Drag and Drop, etc...

    May I drop you an email, with sourcecode attached, for you take a look?

    Perhaps it can be useful for others SD users. :)

    Thanks.

     

  • 09-28-2007 1:37 PM In reply to

    Re: Vertical Selection(Block Selection)

    To submit a patch for SharpDevelop, see http://wiki.sharpdevelop.net/JoiningTheTeam.ashx
    Daniel Grunwald
Page 1 of 1 (6 items)
Powered by Community Server (Commercial Edition), by Telligent Systems
Don't contact us via this (fleischfalle@alphasierrapapa.com) email address.