TextCrawler 2.0 Released.

Tool for Search and Replace across multiple files.
User avatar
DV

Post by DV »

I was lazy when updating the history. Here's the updated features list-

Features:
* Insert or Delete text
* Search subfolders, network drives, etc with multiple start points
* Exclude folders/files

* Replace preview function

* Regular Expression library - Save your search and replace scripts.

* Fuzzy word search - find misspelled text
* Copy found files to new location

* Character Map


* Edit Multiline text

* Post-process extracted text - sort, remove duplicate lines, remove whitespace.
* Batch process - multiple operations on each file and save for future use
* Supports Unicode - UTF8, UTF16, etc


User avatar
Stefan

Post by Stefan »

Many thanks DV.

WOW, i see a lot improvements. Good Work. Thank you sir.

Some thought:

* Replace preview function
is a little bit hidden, IMO this is an major and
important feature and deserves an own button.
(Also the feature itself could be improved, i will
open an new thread for that)



* Post-process extracted text
this is known inside TC as "Scratchpad" i think
as i found while searching for it.
(still playing around how this works)

I like your tool, err.. application.
User avatar
George

Post by George »

Nice to see the 2.0 out! I found two 'bugs':


The first one is odd, because I had done this many times before:

NORMAL <p>�</p>
MATCHES 25839

REGEX <p[^>]*> *</p>
MATCHES 0

Two:
replace in checked. uncheck some files after replace. second replace in checked. Replaces in ALL the first checked files, does not pick up that some have been unchecked.


Thanks for Everything - Awesome software.
User avatar
DV

Post by DV »

That <p[^>]*> *</p> regex works for me (assuming you are trying to catch empty paragraph tags)

Sorry, can't replacate the second bug either - I tried what you said but it seems to only replace the checked files (correct behaviour)
User avatar
Mike

Post by Mike »

Hello,
I'm getting an error from .net "2.0":


See the end of this message for details on invoking
just-in-time (JIT) debugging instead of this dialog box.

************** Exception Text **************
System.ArgumentException: The property 'FilterList' could not be created from it's default value. Error message: Configuration system failed to initialize
at System.Configuration.SettingsPropertyValue.Deserialize()
at System.Configuration.SettingsPropertyValue.get_PropertyValue()
at System.Configuration.SettingsBase.GetPropertyValueByName(String propertyName)
at System.Configuration.SettingsBase.get_Item(String propertyName)
at System.Configuration.ApplicationSettingsBase.GetPropertyValue(String propertyName)
at System.Configuration.ApplicationSettingsBase.get_Item(String propertyName)
at TextCrawler.My.MySettings.get_FilterList()
at TextCrawler.MainMod.ReadSettings()
at TextCrawler.RepForm.RepForm_Load(Object eventSender, EventArgs eventArgs)
at System.EventHandler.Invoke(Object sender, EventArgs e)
at System.Windows.Forms.Form.OnLoad(EventArgs e)
at System.Windows.Forms.Form.OnCreateControl()
at System.Windows.Forms.Control.CreateControl(Boolean fIgnoreVisible)
at System.Windows.Forms.Control.CreateControl()
at System.Windows.Forms.Control.WmShowWindow(Message& m)
at System.Windows.Forms.Control.WndProc(Message& m)
at System.Windows.Forms.ScrollableControl.WndProc(Message& m)
at System.Windows.Forms.ContainerControl.WndProc(Message& m)
at System.Windows.Forms.Form.WmShowWindow(Message& m)
at System.Windows.Forms.Form.WndProc(Message& m)
at System.Windows.Forms.Control.ControlNativeWindow.OnMessage(Message& m)
at System.Windows.Forms.Control.ControlNativeWindow.WndProc(Message& m)
at System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)


************** Loaded Assemblies **************
mscorlib
Assembly Version: 2.0.0.0
Win32 Version: 2.0.50727.4206 (VistaSP2GDR.050727-4200)
CodeBase: file:///C:/Windows/Microsoft.NET/Framework/v2.0.50727/mscorlib.dll
----------------------------------------
TextCrawler
Assembly Version: 2.0.3822.29558
Win32 Version: 2.0.3822.29558
CodeBase: file:///C:/Program%20Files/More%20Programs/TextCrawler/TextCrawler.exe
----------------------------------------
Microsoft.VisualBasic
Assembly Version: 8.0.0.0
Win32 Version: 8.0.50727.4016 (NetFxQFE.050727-4000)
CodeBase: file:///C:/Windows/assembly/GAC_MSIL/Microsoft.VisualBasic/8.0.0.0__b03f5f7f11d50a3a/Microsoft.VisualBasic.dll
----------------------------------------
System.Windows.Forms
Assembly Version: 2.0.0.0
Win32 Version: 2.0.50727.4016 (NetFxQFE.050727-4000)
CodeBase: file:///C:/Windows/assembly/GAC_MSIL/System.Windows.Forms/2.0.0.0__b77a5c561934e089/System.Windows.Forms.dll
----------------------------------------
System
Assembly Version: 2.0.0.0
Win32 Version: 2.0.50727.4205 (VistaSP2GDR.050727-4200)
CodeBase: file:///C:/Windows/assembly/GAC_MSIL/System/2.0.0.0__b77a5c561934e089/System.dll
----------------------------------------
System.Drawing
Assembly Version: 2.0.0.0
Win32 Version: 2.0.50727.4016 (NetFxQFE.050727-4000)
CodeBase: file:///C:/Windows/assembly/GAC_MSIL/System.Drawing/2.0.0.0__b03f5f7f11d50a3a/System.Drawing.dll
----------------------------------------
System.Runtime.Remoting
Assembly Version: 2.0.0.0
Win32 Version: 2.0.50727.4016 (NetFxQFE.050727-4000)
CodeBase: file:///C:/Windows/assembly/GAC_MSIL/System.Runtime.Remoting/2.0.0.0__b77a5c561934e089/System.Runtime.Remoting.dll
----------------------------------------
System.Configuration
Assembly Version: 2.0.0.0
Win32 Version: 2.0.50727.4016 (NetFxQFE.050727-4000)
CodeBase: file:///C:/Windows/assembly/GAC_MSIL/System.Configuration/2.0.0.0__b03f5f7f11d50a3a/System.Configuration.dll
----------------------------------------
System.Xml
Assembly Version: 2.0.0.0
Win32 Version: 2.0.50727.4016 (NetFxQFE.050727-4000)
CodeBase: file:///C:/Windows/assembly/GAC_MSIL/System.Xml/2.0.0.0__b77a5c561934e089/System.Xml.dll
----------------------------------------

************** JIT Debugging **************
To enable just-in-time (JIT) debugging, the .config file for this
application or computer (machine.config) must have the
jitDebugging value set in the system.windows.forms section.
The application must also be compiled with debugging
enabled.

For example:

<configuration>
<system.windows.forms jitDebugging="true" />
</configuration>

When JIT debugging is enabled, any unhandled exception
will be sent to the JIT debugger registered on the computer
rather than be handled by this dialog box.


User avatar
Mike

Post by Mike »

Forgot to add the error: The property "Filterlist" could not be created from it's default value. Error message: Configuration system failed to initalize.

^Details | Continue? | Quit

It does continue and opens the program up.
User avatar
DV2

Post by DV2 »

Thanks for the report - sounds like a settings file issue. Will look into it.
User avatar
Daniel Powell

Post by Daniel Powell »

On the "Test Regular Expressions" form, the "Regular Expression" and "Replace Text" textbox width should change when you resize the form.
User avatar
Fool4UAnyway

Post by Fool4UAnyway »

Text update flickering in the Results pane

I have been using Text Crawler 2 for a couple of days now. What surely is different from Text Crawler 1.1.4, which I intend to keep using as well, is the visible effects when updating the Results pane.

In Text Crawler 1.1.4, when I scroll through the matching files list selecting another file each time, the Results pane is updated immediately, with no visible flickering at all. The matches are simply parts of lines in lists that are almost the same, just containing different numbers.

In Text Crawler 2.0, when I do the same, the Results pane flickers twice when it is updated. It seems like the new contents are displayed twice, with also a blanking before each displaying of the new results. This is a regression, in my opinion. It disturbs me. I can't think of any reason why this could not be done in the same way as in version 1.1.4, which seems to immediately paint "over" the previous results.

By the way, could you make moderator's posts appear in a different (background) color, or make them distinguishable in any other way. Visitors may think I am related to Digital Volcano, while I am not at all. I am just a happy user of your quality products telling others how easily they can use them to achieve desired results.
User avatar
Daniel Powell

Post by Daniel Powell »

On the "Test Regular Expressions" form, a button to copy the find/replace patterns to the main form would be nice.
Post Reply