Page 1 of 1
Need a ParaEnd "command"
Posted: Fri Jan 20, 2012 5:33 pm
by roweber@ieee.org
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
Posted: Fri Jan 20, 2012 10:29 pm
by ak47wong
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
Oh! If life were only that simple!
Posted: Sat Jan 21, 2012 12:47 am
by roweber@ieee.org
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
Posted: Mon Nov 05, 2012 7:55 am
by Dan_Sitar
Hi Ralph,
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.
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‼ Ëœ ̃≈ {(ړײ )}〰͠﹏ ⌢∘⌢ ♫ ❤
Posted: Fri Jul 19, 2013 1:17 am
by jeffy
ParaEnd and ParaStart, as well as ParaStartExtend and ParaEndExtend would be wonderful additions.