View+ Forum Index View+
Review http://mypsion.ru/viewplus.php
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   Join! (free) Join! (free)
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

Text Line Remover added to View+

 
Post new topic   Reply to topic    View+ Forum Index -> Ask & Answer
View previous topic :: View next topic  
Author Message
Please Register and Login to this forum to stop seeing this advertsing.






Posted:     Post subject:

Back to top
Edo



Joined: 10 Aug 2005
Posts: 390


Location: Prismen - Vis

PostPosted: Fri Oct 28, 2005 4:21 pm    Post subject: Text Line Remover added to View+ Reply with quote

Few days ago Leo asked for a little util here: http://viewplus.myfreeforum.org/ftopic56.php

It quickly grew up into a real useful thing, so I decided to implement it into View+ Laughing
This is the result:



BTW, can't resist quoting Leo's comment here:

Quote:
>I'm just implementing TLR into N+ Wink

Wink)
You've been eating other's programs previously and affiliated them to
V+.
Now you are starting to devour children of your own! Wink)


Naughty Leo Razz

Edo
Back to top
View user's profile Send private message Send e-mail
Jonas



Joined: 10 Aug 2005
Posts: 74


Location: Stuttgart, Germany

PostPosted: Fri Oct 28, 2005 4:25 pm    Post subject: Reply with quote

Great quote Laughing
Okay, I needed a translator for it, but I see it's joke.

BTW: Am away from Saturday till Friday...
Back to top
View user's profile Send private message Send e-mail Visit poster's website AIM Address Yahoo Messenger MSN Messenger
Leo



Joined: 11 Aug 2005
Posts: 77



PostPosted: Fri Oct 28, 2005 6:48 pm    Post subject: Re: Text Line Remover added to View+ Reply with quote

Edo wrote:
Few days ago Leo asked for a little util here: http://viewplus.myfreeforum.org/ftopic56.php

It quickly grew up into a real useful thing, so I decided to implement it into View+ Laughing

It is really a useful thing.
But current features are insufficient if integrated into V+!
I mean that there must be an opportunity to pass through EOLs also.
E.g. if we have
ABCD ... EOL
QWE ... EOL
AAAZZZ ... EOL,
and search for
CD*AAA
with empty replacement string,
the result must be
ABZZZ ... EOL (1 line!)

In other words, it is not necessary to have a separate tool for line removal in V+, if it is possible now to extend wildcards by letting different string length for search and replacement strings even if * used in search!

Leo
Back to top
View user's profile Send private message
Edo



Joined: 10 Aug 2005
Posts: 390


Location: Prismen - Vis

PostPosted: Fri Oct 28, 2005 6:56 pm    Post subject: Re: Text Line Remover added to View+ Reply with quote

Leo wrote:
Edo wrote:
Few days ago Leo asked for a little util here: http://viewplus.myfreeforum.org/ftopic56.php

It quickly grew up into a real useful thing, so I decided to implement it into View+ Laughing

It is really a useful thing.
But current features are insufficient if integrated into V+!
I mean that there must be an opportunity to pass through EOLs also.
E.g. if we have
ABCD ... EOL
QWE ... EOL
AAAZZZ ... EOL,
and search for
CD*AAA
with empty replacement string,
the result must be
ABZZZ ... EOL (1 line!)

Leo


I'm not sure I understand your point, Leo!
When talking about empty replacement string do you mean Search&Replace feature in Find+ or Text Line Remover?
Because there is no replacing function in Text Line Remover!?!

Edo
Back to top
View user's profile Send private message Send e-mail
Edo



Joined: 10 Aug 2005
Posts: 390


Location: Prismen - Vis

PostPosted: Fri Oct 28, 2005 7:13 pm    Post subject: Re: Text Line Remover added to View+ Reply with quote

Leo wrote:

In other words, it is not necessary to have a separate tool for line removal in V+, if it is possible now to extend wildcards by letting different string length for search and replacement strings even if * used in search!


Now it's clear what you mean Wink

1) It would be only partially possible to use (*) wildcard in Search&Replace of different length strings! Meaning, only in case that (*) is used within search string, like AB*CDE. If (*) is at the start or at the end of pattern it is impossible to correctly determine the start or the end byte of the found string! Aside problems with handling EOLs in the process!

2) Adding all usefull conditions from Text Line Remover to Find+ dialog would also
produce a total mess! Mission impossible!

So I think it's better to keep them separated until some more fortunate solution found for handling wildcards in Search&Replace!

Edo
Back to top
View user's profile Send private message Send e-mail
Edo



Joined: 10 Aug 2005
Posts: 390


Location: Prismen - Vis

PostPosted: Mon Oct 31, 2005 2:27 pm    Post subject: Reply with quote

So, the final TLR (Text Line Remover) shape is here:



Thanks to Leo for pushing me hard to finish it Laughing

Edo

P.S. Screenshot is black, but it works - just enlarge it Shocked
Back to top
View user's profile Send private message Send e-mail
Leo



Joined: 11 Aug 2005
Posts: 77



PostPosted: Mon Oct 31, 2005 7:04 pm    Post subject: Reply with quote

Hi Edo,

I've tried it a little.
Here are first problems.

1. N+ screen is not refreshed after operation completed.
Must refresh it manually - inconvenient Sad

2. Unlike stand-alone version, V+ does not return to main TLR dialog after opearation is finished.
So, when working on some file, one must invoke TLR again and again Sad

3. Neither *string nor something*string do not work in "start of line" mode - reports no lines found Sad (works if "everyware")

Leo
Back to top
View user's profile Send private message
Edo



Joined: 10 Aug 2005
Posts: 390


Location: Prismen - Vis

PostPosted: Mon Oct 31, 2005 8:09 pm    Post subject: Reply with quote

Leo wrote:
Hi Edo,

I've tried it a little.
Here are first problems.

1. N+ screen is not refreshed after operation completed.
Must refresh it manually - inconvenient Sad

2. Unlike stand-alone version, V+ does not return to main TLR dialog after opearation is finished.
So, when working on some file, one must invoke TLR again and again Sad

3. Neither *string nor something*string do not work in "start of line" mode - reports no lines found Sad (works if "everyware")

Leo


Points 1) and 2) - cosmetic problem! Shall change it Laughing

Point 3)
*string works for me Shocked
something*string actually works if "Force EOL's" is checked!
These things are very delicate. But I'll fix this Idea

BTW, Search&Replace in Find+ now works with asterisk (*) wildcards used in searched string! So you can replace something*string with something
Also, you can remove something*string Cool
"Incremental" dialog is much improved (more informative).

Edo
Back to top
View user's profile Send private message Send e-mail
Edo



Joined: 10 Aug 2005
Posts: 390


Location: Prismen - Vis

PostPosted: Mon Oct 31, 2005 9:14 pm    Post subject: Reply with quote

Leo wrote:

3. Neither *string nor something*string do not work in "start of line" mode - reports no lines found Sad (works if "everyware")

Leo


Fixed searching something*string in "start of line" mode!

Searching *string cannot work in "start of line" mode since it is impossible to detect the first byte of the *string Exclamation Exclamation Exclamation

Edo


Back to top
View user's profile Send private message Send e-mail
Display posts from previous:   
Post new topic   Reply to topic    View+ Forum Index -> Ask & Answer All times are GMT + 1 Hour
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum

Card File  Gallery  Forum Archive
Powered by phpBB © 2001, 2005 phpBB Group
Create your own free forum | Buy a domain to use with your forum
Free Web Counter