After using TextPad for upwards of ten years I have finally found a missing feature which seems like a plausible request (i.e., not too big a difference from true-blueTextPad).
I have found ways to move the cursor to the beginning of this paragraph and to the beginning of the next paragraph. What I need is a "move cursor to end of this paragraph".
Representing this as a "ParaEnd" command in the "Cursor" category in the Keyboard preferences would be sufficient for my needs. I can then make any reasonable key shortcut get me to TextPad nirvana.
All the best,
.Ralph
Need a ParaEnd "command"
Moderators: AmigoJack, bbadmin, helios, Bob Hansen, MudGuard
-
- Posts: 2
- Joined: Fri Jan 20, 2012 5:20 pm
- Location: Dallas, Texas, USA
It won't be perfect, but you might be able to record a macro to simulate an end of paragraph command.
If there is always one line between paragraphs, your macro could be:
1. ParaDown
2. CharLeft
3. CharLeft
or
1. ParaDown
2. WordLeftEnd
3. WordLeftEnd
If there are a variable number of lines between paragraphs, you can try:
1. ParaDown
2. Search for regular expression "." in Up direction
3. CharRight
If there is always one line between paragraphs, your macro could be:
1. ParaDown
2. CharLeft
3. CharLeft
or
1. ParaDown
2. WordLeftEnd
3. WordLeftEnd
If there are a variable number of lines between paragraphs, you can try:
1. ParaDown
2. Search for regular expression "." in Up direction
3. CharRight
-
- Posts: 2
- Joined: Fri Jan 20, 2012 5:20 pm
- Location: Dallas, Texas, USA
Oh! If life were only that simple!
Sadly, I need something that will find the end of a paragraph when the amount of white space after the paragraph (and before the next) is variable.
Truth be told, I want to make a macro that, starting from any point in an existing paragraph, will add two lines of white space after the paragraph and then position the cursor at the beginning of the first of those lines. To keep things "interesting" I want the macro to work recursively so that any number of white space lines can be added after a paragraph in this manner.
Thanks for your thoughts,
.Ralph
Truth be told, I want to make a macro that, starting from any point in an existing paragraph, will add two lines of white space after the paragraph and then position the cursor at the beginning of the first of those lines. To keep things "interesting" I want the macro to work recursively so that any number of white space lines can be added after a paragraph in this manner.
Thanks for your thoughts,
.Ralph
Hi Ralph,
Just in case you or somebody else did not find the solution by now, here is the simplest one:
[X] Regular expression
That's all.
^$ ˌ ˌ ˌ is the next empty line.
\n\n ˌ ˌ create two empty lines that remain highlited.
The ‘Left Arrow’ key always brings the cursor to the beginning of the Highlited Text, as the ‘Right Arrow’ key brings it to the end.
BTW, you can add whatever you want between and/or after those two \n\n, e.g., more empty lines \n, tabulations \t with text…, the instructions of an older macro, etc.
©Dan_Sitar https://facebook.com/Dan.Bourdon
&♭¾▐│:Ξ ʓ. ♪♫║: ♪‿♬♩. ♪|♪♬♫‿♩ |,♪ ♪♬♩|♩ ,♬♪‿♬|♩. ♪‿♩⌒|♪,,♪♫:║♩. ♪♫…
ॐ God bless you and Mother Nature‼ Ëœ ̃≈ {(ړײ )}〰͠﹏ ⌢∘⌢ ♫ ❤
Just in case you or somebody else did not find the solution by now, here is the simplest one:
[X] Regular expression
Code: Select all
Findˌˌˌ: ^$
Replace: \n\n
Hit the ‘Left Arrow’ key one time.
^$ ˌ ˌ ˌ is the next empty line.
\n\n ˌ ˌ create two empty lines that remain highlited.
The ‘Left Arrow’ key always brings the cursor to the beginning of the Highlited Text, as the ‘Right Arrow’ key brings it to the end.
BTW, you can add whatever you want between and/or after those two \n\n, e.g., more empty lines \n, tabulations \t with text…, the instructions of an older macro, etc.
©Dan_Sitar https://facebook.com/Dan.Bourdon
&♭¾▐│:Ξ ʓ. ♪♫║: ♪‿♬♩. ♪|♪♬♫‿♩ |,♪ ♪♬♩|♩ ,♬♪‿♬|♩. ♪‿♩⌒|♪,,♪♫:║♩. ♪♫…
ॐ God bless you and Mother Nature‼ Ëœ ̃≈ {(ړײ )}〰͠﹏ ⌢∘⌢ ♫ ❤