Menu

Remove Marked lines

Ben Kokes
2007-08-21
2012-11-13
  • Ben Kokes

    Ben Kokes - 2007-08-21

    So I am trying to figure out how to remove marked lines in Version 3.9.

    I have been to the Settings/Shortcut Mapper and Line 90 to see what the Line Delete was all about. It didn't help unfortunately.

    Also under Plugins->TextFX Vis -> (submenu), there isn't anything on there that says "Copy marked..." or "Copy tokens..." on there..

    Any help would be appreciated!

    -Ben

     
    • Nobody/Anonymous

      I haven't had much chance to look at this, but I do have the source code (Delphi) and executables.  I can post it.  The question is where?  Each of the four routines has about twenty lines of code.  They need to be added to the Delphi template.

      The plug-in functions are

      1.  Show only lines that are marked
      2.  Show only lines that are not marked
      3.  Delete all marked lines
      4.  Delete lines that are not marked.

      As pshute comments, there is another way of doing at least some of this.  Please let me know where to contribute.  If necessary I will just paste the whole Delphi code on here.

       
    • Nobody/Anonymous

      I wrote my own plug-in to do the following

      Remove Marked Lines
      Remove everything but marked lines

      Show Marked Lines
      Show everything but marked lines

      I can post source and/or executables.

      How do I post it?

      John Starkie

       
    • Nobody/Anonymous

      I think this plug-in is absolutely needed.
      How can I get it ?

      Pascal

       
    • pshute

      pshute - 2007-08-24

      If you mean lines marked with the Find command, perhaps you need to use TextFX Viz to hide all the non-matching lines instead, then just delete them.