Search found 26 matches

by hjack
Tue Jan 06, 2015 3:36 am
Forum: General
Topic: total line count
Replies: 2
Views: 636

total line count

Ak, thank you so much. Works perfectly. Saved me many hours and prevented me from burning-up my calculator.
by hjack
Tue Jan 06, 2015 3:12 am
Forum: General
Topic: total line count
Replies: 2
Views: 636

total line count

I have over 200 xml files, all written using Textpad.

Short of opening each file and recording the total line count, does anyone know of a way to obtain a total number of lines in all the files in a given directory?
by hjack
Thu Jun 23, 2011 1:21 am
Forum: General
Topic: Convert English to Spanish
Replies: 0
Views: 351

Convert English to Spanish

Does anyone know if it is possible to do a computerized conversion of XML labels and text from English into Spanish? (using Textpad or any other editor)

Jack
by hjack
Sun Feb 06, 2011 7:05 pm
Forum: General
Topic: Search and Replace
Replies: 6
Views: 1145

Well, Ben, as usual your brain and fast response has saved me a lot of work. Again, I appreciate your help.

Jack
by hjack
Sun Feb 06, 2011 5:40 pm
Forum: General
Topic: Search and Replace
Replies: 6
Views: 1145

Ben, after I re-read my statement, it was unclear-sounding to me. Here is specifically what I want:

I have several lines of xml code which contain an id statement enclosed with ' '. I have others which contain an id statement enclosed with " ".

Examples:
<checkbox element="severity;hpi" label ...
by hjack
Sat Feb 05, 2011 8:09 pm
Forum: General
Topic: Search and Replace
Replies: 6
Views: 1145

Ben, thank you. I have another similar request:

I need to remove the following first statement and replace it with [nothing], but I want to keep the second statement: (The ids are differentiated by text and quotations. I want to keep the statement which has the quotations)

<checkbox label="abc" id ...
by hjack
Sun Jan 23, 2011 11:01 pm
Forum: General
Topic: Search and Replace
Replies: 6
Views: 1145

Search and Replace

I need to find each of the following and replace each complex with nothing (blank):

<checkbox label="abc" id="1234" separator=''>
</checkbox>

<checkbox label="abc" id="xyz" separator=''>
</checkbox>

<checkbox label="abc" id="wz23" separator=''>
</checkbox>

Your help is appreciated.

Jack
by hjack
Fri Jan 14, 2011 4:47 pm
Forum: General
Topic: Create New Document Class
Replies: 2
Views: 722

AK, thank you very much.

Jack
by hjack
Thu Jan 13, 2011 11:16 pm
Forum: General
Topic: Create New Document Class
Replies: 2
Views: 722

Create New Document Class

Trouble creating a new document class. Here is what I have done:

Open Textpad, close all documents.
Click on Configure and New Document Class
Name the class xmlc, click next
Add class member *.xml, *.syn, click next
Click enable syntax

When I click on the arrow for Syntax definitio, no file by the ...
by hjack
Tue Apr 13, 2010 3:11 am
Forum: General
Topic: Default Word Wrap
Replies: 1
Views: 346

Default Word Wrap

Can anyone explain how I can set the default to Word Wrap whenever any file is opened? I have checked the 'Word Wrap Long Lines' box in the Document Classes section of the preferences, but this apparently only applies to printing.

I can see no other place to default this.

Thanks
by hjack
Wed May 06, 2009 10:27 pm
Forum: General
Topic: Search and Delete
Replies: 11
Views: 1440

search and delete

Ben, sorry about any ambiguity. This works fine. I do sincerely appreciate your help, as it has saved me about 5 hours of work and frustration.
by hjack
Tue May 05, 2009 11:21 pm
Forum: General
Topic: Search and Delete
Replies: 11
Views: 1440

search and delete

As usual, Ben, you are very perceptive. That is just what I am trying to avoid. Here is a typical series in my app:

<checkbox element="cc;xxx" id="xxx xxx" id-type="x" label
<checkbox element="xxx;xx" id="xxx xxxx xxx xx" id-type="x" label
<checkbox element="xxx;xx" id="xx xxxx xx xxx" id-type="x ...
by hjack
Tue May 05, 2009 9:06 pm
Forum: General
Topic: Search and Delete
Replies: 11
Views: 1440

search and replace

Thanks, Ben. This works on most lines, but I have now found several lines as below:

<checkbox element="cc;xxx" id="xxxxx xx" id-type="xx" label
<checkbox element="cc;xxx" id-type="xx" id="xxxx xxx xx" label

I am unclear how to modify your expression to delete these extra id's.

Thanks

Jack
by hjack
Tue May 05, 2009 7:26 pm
Forum: General
Topic: Search and Delete
Replies: 11
Views: 1440

search and delete

Ben, this works for most of the elements, but there is another problem.

<checkbox element="cc;john Doe" id-type"xx" label
<checkbox element="fred jones " id-type"xx" label

I want to replace the characters and quotations in the first example leaving the id-type"xx" label. As you suggested ...
by hjack
Tue May 05, 2009 6:09 pm
Forum: General
Topic: Search and Delete
Replies: 11
Views: 1440

search and delete

Andrew, or others, another 'simple' problem.

In my xml app, I need to change the following:

<checkbox element="cc;john doe" label
<checkbox element="cc;bill adams" label
<checkbox element="cc;ron howard" label

to

<checkbox label
<checkbox label
<checkbox label

Can you help me with this?

Thanks ...