Search found 23 matches

by lrichardlewis
Wed Jun 25, 2014 2:13 am
Forum: General
Topic: Bug in regular-expression replacement
Replies: 4
Views: 720

Thanks for the link. It has a lot of info and interesting comparisons. But none are in the language of the program (a non-linear optimization suite) I am currently working on. That program is a conversion of an earlier program from a language that provides RX's to a language that doesn't ...
by lrichardlewis
Mon Jun 23, 2014 11:02 pm
Forum: General
Topic: Bug in regular-expression replacement
Replies: 4
Views: 720

I was testing the logic to see whether it would fail. This is part of a current project to develop a regular-expression processor for a program written in a language that lacks one. At present, I have almost everything except alternation and replacement. I understand that "A*" matches the null ...
by lrichardlewis
Mon Jun 23, 2014 8:21 pm
Forum: General
Topic: Bug in regular-expression replacement
Replies: 4
Views: 720

Bug in regular-expression replacement

I just discovered a bug. The window contains just the two bytes "CD". The regular expression is the four-byte string "A*B*". The replacement expression is the two-byte string "yz". When I activate Replace All, TP goes bananas. It tries to insert an infinite number of "yz" before the "C"; i.e., at ...
by lrichardlewis
Sat May 18, 2013 9:12 pm
Forum: General
Topic: TextPad Fails to Restore Workspace
Replies: 28
Views: 11649

Would Version 7 help?

I currently use Version 6.1.3 and still experience the 10% failure-to-restore issue (which I overcome by reverting to my 2nd-level backup of the .tws file). Does Version 7 process workspaces differently from 6.1.3? :?:
by lrichardlewis
Wed Mar 27, 2013 10:28 pm
Forum: General
Topic: When will "proper" regular expression syntax be im
Replies: 3
Views: 1312

Too many RE variants exist

I have seen at least a dozen variants of RE syntax, going back to Multics days. The firm I worked for at that time even had its own version as an excellent variant. TP's current version seems to work well for most things one would do in TP even though it differs from most or all other variants. If ...
by lrichardlewis
Thu Mar 14, 2013 9:59 pm
Forum: General
Topic: TextPad Fails to Restore Workspace
Replies: 28
Views: 11649

Another success

For the second consecutive day, TP failed to load a workspace. Yesterday I overcame this by restoring a workspace from my backup system. That trick worked again to overcome today's failure! The steps in this apparently successful procedure are: * After a workspace-open failure, immediately exit TP ...
by lrichardlewis
Tue Mar 12, 2013 11:29 pm
Forum: General
Topic: TextPad Fails to Restore Workspace
Replies: 28
Views: 11649

Update on my workspace problem

Since my last post, I upgraded to version 6.1.3. Unfortunately, the restore-failure problem continues at about the 10% rate, no matter how careful I am about touching all windows updated outside TP. However, I just used a method that successfully overcame the most recent failure. (The method was ...
by lrichardlewis
Sat Aug 25, 2012 3:31 am
Forum: General
Topic: TextPad Fails to Restore Workspace
Replies: 28
Views: 11649

woho That deepens the mystery. When I regenerate a TP-window file after closing TP, I often get the "cannot completely restore workspace" message. When I keep TP open while regenerating files outside TP and then touching all affected windows, I very seldom (perhaps never) get the message. The ...
by lrichardlewis
Fri Aug 24, 2012 6:07 pm
Forum: General
Topic: TextPad Fails to Restore Workspace
Replies: 28
Views: 11649

woho

Do you add or delete bytes from files with non-TP software after closing TP?
by lrichardlewis
Wed Aug 22, 2012 1:13 am
Forum: General
Topic: TextPad Fails to Restore Workspace
Replies: 28
Views: 11649

More about TexPad workspaces, etc.

The rant from jaz had some interesting comments. Like me, jaz has had workspace issues; albeit different from mine. The most important comment to me is the wish for another editor that behaves precisely as wished. Over the past decade or so, I have tried about a dozen editors (spending several $100 ...
by lrichardlewis
Fri Apr 27, 2012 3:39 am
Forum: General
Topic: TextPad Fails to Restore Workspace
Replies: 28
Views: 11649

Need to amend the hypothesis

The hypothesis did not work; i.e., it did not prevent the failure to restore a workspace. I think the hypothesis needs more rigor. Let's add the following to it: Any file that is changed outside of TP must be reopened in TP. Only then can TP finally be closed. That will be quite tedious for me with ...
by lrichardlewis
Wed Apr 25, 2012 7:24 pm
Forum: General
Topic: Why Do We Love Textpad?
Replies: 15
Views: 10287

kengrubb, I always use constrain the cursor to text. The problem occurs when I am in block mode and want to change the text. If I, in block mode, insert a byte, for example, between positions 2 and 3 and press the down arrow key, TP positions the cursor to the right of the insert position. In non ...
by lrichardlewis
Mon Apr 23, 2012 10:36 pm
Forum: General
Topic: Why Do We Love Textpad?
Replies: 15
Views: 10287

Biggest advantage of TextPad

The biggest reason I use TP exclusively (even though I also have UltraEdit, SlickEdit, MultiEdit, etc.) is the ease of copying bookmarked lines to the clipboard. I like almost everything about TP. I can think offhand of only two quibbles: [1] occasionally failing to restore workspaces fully [2] the ...
by lrichardlewis
Mon Apr 23, 2012 10:21 pm
Forum: General
Topic: TextPad Fails to Restore Workspace
Replies: 28
Views: 11649

Combining the responses from PeteTheBloke and ben_josephs, I have arrived at a hypothesis. Assume a workspace has, say, 100 files. I close the workspace and exit TP. Then, I run another program that outputs to (i.e., re-creates) a file under the same file name as one of the 100 files. When I reenter ...
by lrichardlewis
Mon Apr 23, 2012 5:07 pm
Forum: General
Topic: TextPad Fails to Restore Workspace
Replies: 28
Views: 11649

The response from PeteTheBloke has the first plausible clue that I have come across. My use of workspaces resembles that of ben_josephs. I have about 100 workspaces. Most contain from 20-100 files each. I run multiple instances and typically have 2-4 open at the same time. But, I frequently open and ...