Messages - DeVamp [ switch to compact view ]

Pages: prev1 ... 4 5 6 7 8 [9] 10 11 12 13 14 ... 25next
41
Some more suggestions:
(taken from an old plugin for Notepad++,but that plugin doesn't works anymore...)

Some functions ask multiple optional parameters. Just see what you can do with it.

All line functions

  • ReverseLines(): Reverses the order of all the lines.
  • Scramble(): rearranges the lines in random order.
  • SetBlanks(int minblank, int maxblank, int threshhold): Changes the number of blank lines between lines.
  • SortCase(): Like sort, but case-sensitive.
  • Wrap(int columncount, int ignorewords): Adds hard returns to force columns to a certain width.

Per-Line Functions

  • AddLineNumbers(string separator, string padchar, int length): Puts the line number on the front of each line, with an optional separator.
  • AddLineNumbersOffset(string separator, string padchar, int length, int offset): Puts the line number on the front of each line, with an optional separator.  Offset is the number of the first line.
  • BeginLine(string text): Appends text to the beginning of every line.
  • CutLeft(int count): Removes count characters from the beginning of each line.
  • CutRight(int count): Removes count characters from the end of each line.
  • DeleteToTag(string tag): For each line, deletes all characters before first instance of tag
  • EndLine(string text): Appends text to the end of every line.
  • PadLeft(string padchar, int length): Pads the beginning of each line with padchar to extend the length where necessary
  • PadRight(string padchar, int length): Pads the end of each line with padchar to extend the length where necessary
  • ShortenLeft(int length): Removes characters from the beginning of each line if the line is too long
  • ShortenRight(int length): Removes characters from the end of each line if the line is too long
  • SizeLeft(string padchar, int length): Pads or cuts the beginning of each line to make it the exact length
  • SizeRight(string padchar, int length): Pads or cuts the end of each line to make it the exact length
  • Trim(string badchars): Strips all badchars from the beginning and end of every line.
  • TrimLeft(string badchars): Strips all badchars from the beginning of every line.
  • TrimRight(string badchars): Strips all badchars from the end of every line.

Deleting Lines

  • DeleteDupes(): Deletes any line that is identical to a previous line.

Search and Replace

  • Replace(string oldtext, string newtext): Replaces all instances of oldtext with newtext.

42
This is a nice tool.
I see me using it a lot.

Some first suggestions for manipulations:
- add or remove a certain string to the beginning/end of all lines
- Replace a string with another string
- Remove HTML tags (with keeping the newlines)
- Remove empty lines
- Make the List --> filter case insensitive

/edit
Maybe make it an option : work case sensitive/insensitive

43
Hi I just came across this after coming back for a license key...

I wrote a small standalone app to do stuff like this precisely because I hate regexp and having to keep repeatedly experiment wit it to get it to do what I want. It's called Textreme and you can download it from my website at www.jollybean.co.uk

Let me know if you find it useful!

Regards,

Jim.

This is a noce tool. Will be added to my collection of tools.

Thank you very much :-)

44
Mini-Reviews by Members / Re: iPad 3 and me
« on: July 23, 2012, 03:19 AM »
Nice reads. :-)

I'm no apple fan as well, and since my smartphone is a Samsung galaxy S2, my TV is a Samsung smart TV, I'll probably end up with a Samsung galaxy tab 10.x

Last but not least, buying the iPad is *the* one thing that had the most positive effect on my Android phone's battery life ;)
Made me rofl :-)

45
Living Room / Re: The most persistent scammer
« on: July 20, 2012, 07:10 AM »
Nice one!

It's really bad with all those directory listing stuff :'(

Pages: prev1 ... 4 5 6 7 8 [9] 10 11 12 13 14 ... 25next
Go to full version