Search found 80 matches

by tcebob
Thu Aug 02, 2007 8:40 pm
Forum: General
Topic: Break a line at a word division <= 80 char.
Replies: 4
Views: 515

Thanks for the assistance. Guess I'm asking too much of Reg. Ex., at least in this version. A non-RE solution came from your first suggestion: I set my "txt" Document class to save with hard word-wrap. Works fine. -- Or was that what you had in mind?

tcebob
by tcebob
Sun Jul 22, 2007 2:08 am
Forum: General
Topic: Break a line at a word division <= 80 char.
Replies: 4
Views: 515

Thanks, but no. I thought posting in the RE forum would imply that I want to develop an RE to edit documents so that every line is no longer than 80 characters long, but breaks at the beginning of a word. Sort of like:

begin of line
find 80th character
back up to beginning of word
insert \n

tcebob
by tcebob
Mon Jul 16, 2007 8:15 pm
Forum: General
Topic: Break a line at a word division <= 80 char.
Replies: 4
Views: 515

Break a line at a word division <= 80 char.

. . . Thus simulating word wrap. Any guidance appreciated.

tcebob
by tcebob
Sat Jun 23, 2007 1:23 pm
Forum: General
Topic: <Ctl>-?: What does it do?
Replies: 4
Views: 280

Thank you, MudGuard. The cursor icon is so bizarre I think I'll keep it. Doubt I will actually use it; I try to keep all keyboard shortcuts on the left hand to keep the right hand on the mouse.

(Correction: it was <ctl>-/.)

tcebob
by tcebob
Sat Jun 23, 2007 3:39 am
Forum: General
Topic: <Ctl>-?: What does it do?
Replies: 4
Views: 280

<Ctl>-?: What does it do?

Accidentally hit <ctl>-?. The cursor changed to a dismembered finger over a key. Does not happen in other programs. Is this a warning? "Do not hit <ctl>-? or the evil tailor will come with his big scissors and cut off your finger"?* Or what?

tcebob

*Struvvelpeter
by tcebob
Mon Jun 11, 2007 4:51 am
Forum: General
Topic: How to Display Alpha Character
Replies: 5
Views: 551

Steve H. --

I downloaded the DejaVu package and will try it out. One problem that might come up is TextPad's inability to use Unicode characters. Will let you know. Thanks for the tip.

tcebob
by tcebob
Mon May 21, 2007 2:20 pm
Forum: General
Topic: New default document window size
Replies: 2
Views: 341

Resize the window to your liking, hold down <ctl>, hit the x on the title bar. It will remember the size.

tcebob
by tcebob
Mon May 21, 2007 2:13 pm
Forum: General
Topic: How to Display Alpha Character
Replies: 5
Views: 551

Depends on what font you are using. If it's a common one like Arial, it's U+03B1. Better to use Character Map, which comes with Windows. Find the character, copy it, and insert it into the text. You cannot mix fonts, so if you are using one without an alpha you are out of luck. (I use Bitstream Vera...
by tcebob
Tue Mar 20, 2007 9:25 pm
Forum: General
Topic: BUG: Textpad 5 does not remember last window size
Replies: 9
Views: 1820

If you go to HKEY_CURRENT_USER\Software\Helios\TextPad 5\Window Placement in the registry (assuming xp pro) and examine MainFrame you will see the placement of the last window to be closed, in pixels. Unfortunately it seems the program ignores this info on startup. Thus it appears to be a bug, since...
by tcebob
Tue Mar 06, 2007 12:23 am
Forum: General
Topic: "Associated files" kills tp5
Replies: 3
Views: 429

"Associated files" kills tp5

Going through configure/preferences, click on "associated files" and tp crashes with note: "TextPad has encountered a problem and needs to close. We are sorry for the inconvenience." Bug?

tcebob
by tcebob
Mon Mar 05, 2007 11:13 pm
Forum: General
Topic: Current key assignments
Replies: 1
Views: 175

Current key assignments

I'd like to extract a list of current keyboard shortcut assignments, including whatever was added or redefined. Where is this data kept?

tcebob
by tcebob
Sun Mar 04, 2007 10:14 pm
Forum: General
Topic: Find blank lines, delete same -- but only next instance.
Replies: 3
Views: 414

Doesn't seem to work. Invalid regular expression. Copied right from the page.

tcebob
by tcebob
Sun Mar 04, 2007 4:42 pm
Forum: General
Topic: Find blank lines, delete same -- but only next instance.
Replies: 3
Views: 414

Find blank lines, delete same -- but only next instance.

This deletes all blank lines
find ^[-\t]*\n (- = blank)
repl with (nothing)

How to delete only the next group of blank lines (one ore more) -- Without highlighting first?

tcebob
by tcebob
Sun Mar 04, 2007 4:36 pm
Forum: General
Topic: Reducing a list
Replies: 3
Views: 385

er. . .

When the list went in there were spaces between each )(. Should have said "code," I guess.

tcebob
by tcebob
Fri Feb 23, 2007 6:59 pm
Forum: General
Topic: Reducing a list
Replies: 3
Views: 385

Thanks, Ben-josephs. Here's a peek at the results:

" (10 16.497 3.71905) (10 16.308 3.62263) ( ". . .

Close enough. I did change the -s to sp. and can strip the left-over spaces easily. (actually, lisp doesn't care abouth the spaces.)

tcebob