Jump to content
Muxe Inc Forums
Sign in to follow this  

[wish] Search And Delete Line.

Recommended Posts

Adam_L    0


I have an idea for a new feature for the editor NDN.

To menu "Search" add function "Delete line..."

This feature would operate similarly to the "Replace..."

but when it finds the search text (or will not find - as an option) delete the whole line.

Of course, finding it should be possible by means of regular expressions.



I want to delete all lines NOT starting with the words: FUNCTION or PROCEDURE

I set:

Text to find: $[ \t]*(FUNCTION|PROCEDURE)

Options: [x] Delete when NOT FOUND , [x] Regular expression

And press key "Delete all"



Share this post

Link to post
Share on other sites
You are commenting as a guest. If you have an account, please sign in.
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoticons maximum are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Sign in to follow this