Page 1 of 2

TextPad 4.6.2 Released

Posted: Sat Feb 08, 2003 4:13 pm
by Keith MacDonald
Among other issues, we've fixed an elusive bug which caused TextPad to terminate when running some tools and have added a separate command for pasting HTML. Please click on What's New for more information.

As usual, this is a free upgrade for registered users.

Keith MacDonald
Helios Software Solutions

Re: TextPad 4.6.2 Released

Posted: Sun Feb 09, 2003 2:54 pm
by mo
Hello,

I cannot get the Edit/Paste as HTML to work. It is grayed out. I am pasting from I.E. to an .htm document type. I looked under Configure under every option to see if it needed turning on. How does this work?

I actually liked the feature, objected only to it's being the default or non-toggleable...and I would have preferred the HTML code to have been XHTML compliant...but...

Paste Html was Re: TextPad 4.6.2 Released

Posted: Mon Feb 10, 2003 12:04 am
by Al
The feature works on mine.

edit > insert > paste html

I copied from a web page in MSIE 6 and either the edit paste feature pasted just the copied text or the former mentioned above feature pasted everything including text and the html code

I also notice that evidently it must detect html in the clipboard otherwise the paste html is greyed out. That is, i need to have copied from my mentioned web browser then the paste html becomes available at that point.

Re: Paste Html was Re: TextPad 4.6.2 Released

Posted: Mon Feb 10, 2003 12:56 am
by mo
I'm using W2K Pro/MS I.E6.

Still no go with me. I have tried a variety of types of material off the web into .htm files and it's always grayed out.

Re: Paste Html was Re: TextPad 4.6.2 Released

Posted: Mon Feb 10, 2003 1:03 am
by mo
UPDATE: I just downloaded the .exe again from a different source and ran an install which brought up a "repair" option which I tried...still no go.

mo

more complications/explanation

Posted: Mon Feb 10, 2003 3:51 pm
by mo
Hello again,

I have found what is probably the explanation for why I am unable to insert with html.

In using the Clipboard History, I notice that ctrl+v does not get read into the Clipboard History from a copy off the internet.

Is this happening to anyone else?

Re: more complications/explanation

Posted: Mon Feb 10, 2003 8:10 pm
by George Schizas
To paste HTML in any file, the file should have a syntax file assigned, that has HTML=1 as its first line. If not, "Paste as HTML" is grayed out.

Re: more complications/explanation

Posted: Mon Feb 10, 2003 9:07 pm
by mo
I am sorry, I do not follow.

I am pasting into a previously saved file with an extension .htm. As far as I know this has the proper syntax file assigned...i.e., html syntax is highlighted as it should be.

Please go stepwise for me so I can get your meaning.

Re: more complications/explanation

Posted: Tue Feb 11, 2003 9:07 am
by Al
Hi mo,

under textpad folder, in a folder named system, I found a file named html.syn

which i opend not in tp but in a different text editor. It's my html syntax file it has the line at the top mentioned by the other poster.

i had uninstalled the previous tp just prior to installin 4.62. But beware if do so, some preference you had customized might not come back.

i use tp defaults settings except for two things: i enabled syntax highlighting for *.pl files and i changed font for same files to a heavier fixed width font. thos 2 should no affect at all on insert paste html.

do you any other clipboard monitoring programs onboard? too many might not compete with each other in the most productive fashion.

--
Al.

Re: more complications/explanation

Posted: Tue Feb 11, 2003 12:22 pm
by Andreas
Thanks, Keith (or whoever did it) for changing the paste behaviour!

It is not that I dislike the Paste HTML feature, it was just not very useful as default action!

Re: more complications/explanation

Posted: Tue Feb 11, 2003 2:07 pm
by mo
Al and George,

Ok I checked out that folder/file and the HTML=1 is present (it was below two commented lines which just to be sure I deleted). Nothing.

This is a small problem for me at this time because I am just in the process of revising a huge number of web pages from a forum where there was no original file to copy...hum...I suppose I should copy the source instead of the page...but that doesn't solve the problem here...and without the paste HTML none of the links show up as links, line breaks are uncertain, and a number of other problems result. I agree with the previous poster; the feature had it's uses, it just should have been toggleable.

Re: more complications/explanation

Posted: Tue Feb 11, 2003 3:38 pm
by Keith MacDonald
I'm sorry if the explanation of the behavior of the new Paste HTML command was not clear. It works like this:

When you use the Copy command in IE or Mozilla, a copy of the selection is placed on the clipboard in both plain text format and in a separate HTML format. When TextPad sees that HTML format text is available, it enables the Paste HTML command. This is independent of the class of the active document, so you can insert HTML formatted text into any document type, including plain text.

The standard Paste command now ignores any HTML format text on the clipboard, instead of making up its own mind when to use it, depending on the document class. Since HTML format is always accompanied by plain text format, TextPad can always use the latter. (In case you were not aware of this, a clipboard writer can copy the same information on the clipboard in as many different formats as it likes. A clipboard reader can choose which format to use when pasting.)

I hope that clears up any confusion.

Keith MacDonald
Helios Software Solutions

Re: more complications/explanation

Posted: Tue Feb 11, 2003 5:09 pm
by mo
Keith, that's great, so why isn't it working for me?

Re: more complications/explanation

Posted: Tue Feb 11, 2003 8:32 pm
by Keith MacDonald
Mo,

Are you trying to use the clipboard history for this? It is notified of clipboad updates by the writer, which could be any application, so only plain text format entries are recorded. There is always one of those with every HTML format entry.

Keith MacDonald
Helios Software Solutions

Re: more complications/explanation

Posted: Tue Feb 11, 2003 9:06 pm
by mo
Keith, no. I am not able to use Edit/Insert/html it is grayed out.

But when I copy from I.E. there is no entry whatever in the clipboard history -- plain text or anything else -- for what I have copied. The Clipboard history works ok within Textpad.

My setup is Windows 2000 pro with 1Gb RAM, and a large swap allocation...I don't think this is a memory problem.