Home | Blog | Software | Reviews and Features | Forum | Help | Donate | About us
topbanner_forum
  *

avatar image

Welcome, Guest. Please login or register.
Did you miss your activation email?

Login with username, password and session length
  • September 30, 2016, 11:56:07 PM
  • Proudly celebrating 10 years online.
  • Donate now to become a lifetime supporting member of the site and get a non-expiring license key for all of our programs.
  • donate

Last post Author Topic: N.A.N.Y. 2014 Release: Text Inspection & Manipulation Utility  (Read 47485 times)

DeVamp

  • Supporting Member
  • Joined in 2008
  • **
  • Posts: 116
  • Let the coding begin :-)
    • View Profile
    • Donate to Member
Re: N.A.N.Y. 2014 Release: Text Inspection & Manipulation Utility
« Reply #50 on: January 26, 2014, 02:26:03 AM »
How do you mean the layout's gone with scramble lines?

I don't know. it looks all fine.

Nice of that line numbering. :)

DeVamp

  • Supporting Member
  • Joined in 2008
  • **
  • Posts: 116
  • Let the coding begin :-)
    • View Profile
    • Donate to Member
Re: N.A.N.Y. 2014 Release: Text Inspection & Manipulation Utility
« Reply #51 on: January 27, 2014, 04:31:05 AM »
Another idea:
the possibility to use \t (tab) and \n (new line) to split/append lines
Now I have to actually copy a tab from the input text and paste it in the field.
It works, but it's not that easy.

Like the option that is available in notepad++. See image.

ss_2014_01_27_11_26_06.png

phitsc

  • Honorary Member
  • Joined in 2008
  • **
  • Posts: 1,186
    • View Profile
    • Donate to Member
Re: N.A.N.Y. 2014 Release: Text Inspection & Manipulation Utility
« Reply #52 on: January 31, 2014, 02:20:47 PM »
Just learned about Text Monkey Pro, mentioned by skwire in this thread.

phitsc

  • Honorary Member
  • Joined in 2008
  • **
  • Posts: 1,186
    • View Profile
    • Donate to Member
Re: N.A.N.Y. 2014 Release: Text Inspection & Manipulation Utility
« Reply #53 on: January 31, 2014, 03:59:13 PM »
0.9:
* Save window size/position and state of 'ignore case' and 'reverse output direction'
* Print number of highlights (matches) in status bar (e.g. in search)
* Highlight filter text
* Added Web - Remove tags

phitsc

  • Honorary Member
  • Joined in 2008
  • **
  • Posts: 1,186
    • View Profile
    • Donate to Member
Re: N.A.N.Y. 2014 Release: Text Inspection & Manipulation Utility
« Reply #54 on: February 11, 2014, 03:13:10 PM »
New release:

0.11
  • Renamed category 'List' to 'Lines'
  • Renamed category 'Search' to 'Search & Replace'
  • Added Search & Replace - highlight non-ascii characters
  • Added Lines - Keep / Remove words at beginning / end of lines (can be used to remove line numbers as well)
  • Added Lines - remove duplicate lines
  • Added Lines - remove extra empty lines
  • Added Lines - delete to tag
0.10
  • Added Search & Replace
  • Can now specify line number start and increment

I've also added DeVamp's list to the first post (to tick done stuff off).

dr_andus

  • Supporting Member
  • Joined in 2012
  • **
  • Posts: 792
    • View Profile
    • Dr Andus's toolbox
    • Donate to Member
Re: N.A.N.Y. 2014 Release: Text Inspection & Manipulation Utility
« Reply #55 on: February 23, 2014, 04:35:30 PM »
phitsc, thanks for this great tool. Could "sentence case" be added to the capitalisation options? It seems to be a standard option in word processors like MS Word (to capitalise the first letter of the line/sentence only). Thanks for considering.

phitsc

  • Honorary Member
  • Joined in 2008
  • **
  • Posts: 1,186
    • View Profile
    • Donate to Member
Re: N.A.N.Y. 2014 Release: Text Inspection & Manipulation Utility
« Reply #56 on: February 26, 2014, 03:57:51 PM »
You're welcome dr_andus. I've put sentence case onto the todo list.

phitsc

  • Honorary Member
  • Joined in 2008
  • **
  • Posts: 1,186
    • View Profile
    • Donate to Member
Re: N.A.N.Y. 2014 Release: Text Inspection & Manipulation Utility
« Reply #57 on: March 05, 2014, 03:11:21 PM »
New release:

0.12
  • Added Capitalisation - Title
  • Added Capitalisation - Toggle
  • Added possibility to use \t for tab and \n for newline where it might make sense


dr_andus

  • Supporting Member
  • Joined in 2012
  • **
  • Posts: 792
    • View Profile
    • Dr Andus's toolbox
    • Donate to Member
Re: N.A.N.Y. 2014 Release: Text Inspection & Manipulation Utility
« Reply #58 on: March 05, 2014, 03:41:59 PM »
Excellent, thanks!

tomos

  • Charter Member
  • Joined in 2006
  • ***
  • Posts: 10,251
    • View Profile
    • Donate to Member
Re: N.A.N.Y. 2014 Release: Text Inspection & Manipulation Utility
« Reply #59 on: March 07, 2014, 07:21:32 PM »
This was helpful to me this evening, thanks!

I'm not sure if this below intentional - it confused me initially but only on first use:

I paste a column of numbers.
Prepend "F"
Numbers show in lower pane as F1234 etc

When I press the button "Copy output to input", input is now is as desired, but output gets a double-F prefix: FF1234

Screenshot - 2014-03-08 , 02_11_35.pngN.A.N.Y. 2014 Release: Text Inspection & Manipulation Utility

Note: this was no problem for me, just reporting in case it unintended behaviour.
Tom

phitsc

  • Honorary Member
  • Joined in 2008
  • **
  • Posts: 1,186
    • View Profile
    • Donate to Member
Re: N.A.N.Y. 2014 Release: Text Inspection & Manipulation Utility
« Reply #60 on: March 10, 2014, 02:30:29 AM »
This is actually expected behavior. In the case you describe, as soon as you press "copy output to input", the current output becomes the new input, which itself gets the "F" prepended, hence the double-F prefix.

phitsc

  • Honorary Member
  • Joined in 2008
  • **
  • Posts: 1,186
    • View Profile
    • Donate to Member
Re: N.A.N.Y. 2014 Release: Text Inspection & Manipulation Utility
« Reply #61 on: March 13, 2014, 07:27:48 AM »
Just learned about textmechanic.com

DeVamp

  • Supporting Member
  • Joined in 2008
  • **
  • Posts: 116
  • Let the coding begin :-)
    • View Profile
    • Donate to Member
Re: N.A.N.Y. 2014 Release: Text Inspection & Manipulation Utility
« Reply #62 on: March 20, 2014, 05:34:27 AM »
Great additions to this tool. :)

Thank you.

DyNama

  • Supporting Member
  • Joined in 2010
  • **
  • Posts: 72
  • Are you a good witch or a bad witch?
    • View Profile
    • Donate to Member
Re: N.A.N.Y. 2014 Release: Text Inspection & Manipulation Utility
« Reply #63 on: April 07, 2014, 02:02:41 AM »
Wow, i hadn't been back to check on TIMU for a while, it's even better! Thanx!

phitsc

  • Honorary Member
  • Joined in 2008
  • **
  • Posts: 1,186
    • View Profile
    • Donate to Member
Re: N.A.N.Y. 2014 Release: Text Inspection & Manipulation Utility
« Reply #64 on: April 07, 2014, 02:40:10 AM »
You're welcome!

DyNama

  • Supporting Member
  • Joined in 2010
  • **
  • Posts: 72
  • Are you a good witch or a bad witch?
    • View Profile
    • Donate to Member
Re: N.A.N.Y. 2014 Release: Text Inspection & Manipulation Utility
« Reply #65 on: May 03, 2014, 11:34:17 AM »
Here's one more suggestion for an addition to Lines. The text in input puts in output from character 1 to the last delimiter (space, hyphen, period, etc.) before character 138 with a continuation character like " …" (space+ellipsis character, U+2026) or " ►" (space+black right pointer, U+25BA) appended at the end for copying to clipboard and pasting into twitter and not exceed the 140-character limit. I do this manually at the mo. I could cut the tweet to the clipboard, then press the button to put the remaining text into the input box to parcel out the next tweet.

so input box would have
Quote
We hold these truths to be self-evident, that all men are created equal, that they are endowed by their Creator with certain unalienable Rights, that among these are Life, Liberty and the pursuit of Happiness.--That to secure these rights, Governments are instituted among Men, deriving their just powers from the consent of the governed.

and output box would show
Quote
We hold these truths to be self-evident, that all men are created equal, that they are endowed by their Creator with certain unalienable ►

Rights, that among these are Life, Liberty and the pursuit of Happiness.--That to secure these rights, Governments are instituted among Men, deriving their just powers from the consent of the governed.

The first break is at the last delimiter before 138 characters--in this example, the total length is 136 characters. The middle box would have the continuation character of choice, like " ►". This would be very handy as i am an avid twitterholic  :D.
« Last Edit: May 03, 2014, 12:28:09 PM by DyNama »

phitsc

  • Honorary Member
  • Joined in 2008
  • **
  • Posts: 1,186
    • View Profile
    • Donate to Member
Re: N.A.N.Y. 2014 Release: Text Inspection & Manipulation Utility
« Reply #66 on: May 03, 2014, 04:12:29 PM »
You want the rest in one piece, or would this be desirable:?

Quote
We hold these truths to be self-evident, that all men are created equal, that they are endowed by their Creator with certain unalienable ►

Rights, that among these are Life, Liberty and the pursuit of Happiness.--That to secure these rights, Governments are instituted among ►

Men, deriving their just powers from the consent of the governed.

DyNama

  • Supporting Member
  • Joined in 2010
  • **
  • Posts: 72
  • Are you a good witch or a bad witch?
    • View Profile
    • Donate to Member
Re: N.A.N.Y. 2014 Release: Text Inspection & Manipulation Utility
« Reply #67 on: May 03, 2014, 08:45:19 PM »
Sure, phitsc, doing the entire input all at once would be very desirable, i didn't want to ask for too much!  :-[

You want the rest in one piece, or would this be desirable:?

Quote
We hold these truths to be self-evident, that all men are created equal, that they are endowed by their Creator with certain unalienable ►

Rights, that among these are Life, Liberty and the pursuit of Happiness.--That to secure these rights, Governments are instituted among ►

Men, deriving their just powers from the consent of the governed.

In fact, if the maximum line length and the continuation character were input by the user, this could have multiple uses. For example, i could set the line length to 66, then Prepend "|   " to get an inset paragraph 70 chars wide:

Quote
|   We hold these truths to be self-evident, that all men are created
|   equal, that they are endowed by their Creator with certain
|   unalienable Rights, that among these are Life, Liberty and the
|   pursuit of Happiness.--That to secure these rights, Governments
|   are instituted among Men, deriving their just powers from the
|   consent of the governed

or i could set it at 68 and Prepend "< " to get an old ASCII e-mail quoted paragraph, again 70 chars wide:

Quote
> We hold these truths to be self-evident, that all men are created
> equal, that they are endowed by their Creator with certain
> unalienable Rights, that among these are Life, Liberty and the
> pursuit of Happiness.--That to secure these rights, Governments are
> instituted among Men, deriving their just powers from the consent of
> the governed

if anyone still wants those.

So formatting a paragraph with a fixed maximum width could turn out to be pretty handy. The continuation character could be added with the Append function, I really don't mind a 2-step process (or even more steps).
« Last Edit: May 03, 2014, 09:23:12 PM by DyNama »

DyNama

  • Supporting Member
  • Joined in 2010
  • **
  • Posts: 72
  • Are you a good witch or a bad witch?
    • View Profile
    • Donate to Member
Re: N.A.N.Y. 2014 Release: Text Inspection & Manipulation Utility
« Reply #68 on: May 03, 2014, 10:20:03 PM »
Another issue for TIMU 0.12.0.0. When I paste a list in the input box in Split:

Quote
"A Kiss Before Frying" OR "Bittersweet" OR "Brain Doe" OR "Code Blue Plate Special" OR "Crime After Crime" OR "CSI Down" OR "CSI Unplugged" OR "Dead Air" OR "Dead Or Alive" OR "Double Fault" OR "Exile" OR "Forget Me Not" OR "Ghosts of the Past" OR "House of Hoarders" OR "In Vino Veritas" OR "It Was a Very Good Year" OR "Kitty" OR "Last Woman Standing" OR "Lost and Found"

and put " OR " (space+OR+space) as the separator string, it does not split "Dead Or Alive" regardless of the Ignore Case toggle. It does not split it if i put " or " either regardless of the toggle. It always splits "Dead Or Alive" (and only that one) if i put " Or " regardless of the Ignore Case toggle.

phitsc

  • Honorary Member
  • Joined in 2008
  • **
  • Posts: 1,186
    • View Profile
    • Donate to Member
Re: N.A.N.Y. 2014 Release: Text Inspection & Manipulation Utility
« Reply #69 on: May 04, 2014, 04:19:52 PM »
New release:

0.13
  • Added Search & Replace - Highlight word multiplication
  • Added Web - Twitter
  • Added List - Trim to size

Just saw that the line trimming is not quite correct though. I think my algorithm that calculates the line length takes the space after the word into account for the line length check (although the space is removed later before the append-text is appended). Will have to fix this some other time :(

phitsc

  • Honorary Member
  • Joined in 2008
  • **
  • Posts: 1,186
    • View Profile
    • Donate to Member
Re: N.A.N.Y. 2014 Release: Text Inspection & Manipulation Utility
« Reply #70 on: May 04, 2014, 04:22:41 PM »
Another issue for TIMU 0.12.0.0. When I paste a list in the input box in Split:

Quote
"A Kiss Before Frying" OR "Bittersweet" OR "Brain Doe" OR "Code Blue Plate Special" OR "Crime After Crime" OR "CSI Down" OR "CSI Unplugged" OR "Dead Air" OR "Dead Or Alive" OR "Double Fault" OR "Exile" OR "Forget Me Not" OR "Ghosts of the Past" OR "House of Hoarders" OR "In Vino Veritas" OR "It Was a Very Good Year" OR "Kitty" OR "Last Woman Standing" OR "Lost and Found"

and put " OR " (space+OR+space) as the separator string, it does not split "Dead Or Alive" regardless of the Ignore Case toggle. It does not split it if i put " or " either regardless of the toggle. It always splits "Dead Or Alive" (and only that one) if i put " Or " regardless of the Ignore Case toggle.

As absurd as it sounds: I'm afraid it's not easy to fix and I have to postpone it to some other time. I'm using C# string.Split() which doesn't offer ignoring case, so I'd have to implement my own algorithm to fix that.

phitsc

  • Honorary Member
  • Joined in 2008
  • **
  • Posts: 1,186
    • View Profile
    • Donate to Member
Re: N.A.N.Y. 2014 Release: Text Inspection & Manipulation Utility
« Reply #71 on: May 04, 2014, 04:24:14 PM »
I think the most needed feature would currently be storing parameters between sessions and when changing between individual text manipulations.

That was a note to self by the way.

ewemoa

  • Honorary Member
  • Joined in 2008
  • **
  • Posts: 2,841
    • View Profile
    • Donate to Member
Re: N.A.N.Y. 2014 Release: Text Inspection & Manipulation Utility
« Reply #72 on: May 05, 2014, 01:20:18 AM »
I'm using C# string.Split() which doesn't offer ignoring case

How does the following look?

  http://stackoverflow.com/a/1436101

phitsc

  • Honorary Member
  • Joined in 2008
  • **
  • Posts: 1,186
    • View Profile
    • Donate to Member
Re: N.A.N.Y. 2014 Release: Text Inspection & Manipulation Utility
« Reply #73 on: May 05, 2014, 01:39:13 AM »
I'm using C# string.Split() which doesn't offer ignoring case

How does the following look?

  http://stackoverflow.com/a/1436101

Thanks for the suggestion :Thmbsup:

I think it would be a good option except that it might be annoying when trying to split with a string which is a regex but you want it to be taken literally (well, not a problem if you know about regexes).

DyNama

  • Supporting Member
  • Joined in 2010
  • **
  • Posts: 72
  • Are you a good witch or a bad witch?
    • View Profile
    • Donate to Member
Re: N.A.N.Y. 2014 Release: Text Inspection & Manipulation Utility
« Reply #74 on: May 05, 2014, 11:26:55 AM »
New release:

0.13
  • Added Search & Replace - Highlight word multiplication
  • Added Web - Twitter
  • Added List - Trim to size

Just saw that the line trimming is not quite correct though. I think my algorithm that calculates the line length takes the space after the word into account for the line length check (although the space is removed later before the append-text is appended). Will have to fix this some other time :(

Fantastic! Thanx!

I found a quote to try out Web | Twitter:

Quote
People say I am the king of painful shoes. I don't want to create painful shoes, but it is not my job to create something comfortable. I try to make high heels as comfortable as they can be, but my priority is design, beauty and sexiness. I'm not against them, but comfort is not my focus. ~Christian Louboutin░

and like you say, if i dont put a space at the end, "Louboutin ", that last word is omitted. This is not a problem.

Quote
People say I am the king of painful shoes. I don't want to create painful shoes, but it is not my job to create something comfortable. I ►

try to make high heels as comfortable as they can be, but my priority is design, beauty and sexiness. I'm not against them, but comfort ►

is not my focus. ~Christian Louboutin