EmEditor (text editor) Forum Index
   Macro Samples
     Macro: Select whole paragraph
Register To Post

Flat Previous Topic | Next Topic
Poster Thread
Stefan
Posted on: 5/4/2012 6:16 am
Home away from home
Joined: 7/14/2008
From: Germany, EU
Posts: 263
Re: Macro: Select whole paragraph
Thanks for the link!
That seems to be an old need for many.
I still wonder why such basics are not in the Edit menu.



Meanwhile i got an Problem:

My last macro was developed
with "Head-start version v11.1.7 beta"

And there it works fine. Even with the line
o.SetActivePoint(eePosLogical, 1, yPosEnd, True);



On THIS pc i tested it now with 11.0.5
and got an problem:

If i use the above line
o.SetActivePoint(eePosLogical, 1, yPosEnd, True);
then the "True" is not highlighted
because it has to be lower case. OK. Fine.

But, the script is working with that Upper case True.
But then, after the selecting is done,
i got the message: ("True is not defined")

OK, i can change it to lower case "true"
o.SetActivePoint(eePosLogical, 1, yPosEnd, true);

The true is highlighted now,
but the script does not work anymore.
It seems it do something, but nothing is selected.

Where is the bug?


Update, checked again:
with v11.1.7 beta only the upper case "True" works too.
There is no message as with 11.0.5 after the selection.
If i change to lower case "true", the word is highlighted
but the script does not work here too. Only with "True".
Flat Previous Topic | Next Topic


Subject Poster Date
   Macro: Select whole paragraph Stefan 5/2/2012 12:12 pm
     Re: Macro: Select whole paragraph Stefan 5/3/2012 12:57 pm
       Re: Macro: Select whole paragraph webern 5/3/2012 11:33 pm
       » Re: Macro: Select whole paragraph Stefan 5/4/2012 6:16 am
           Re: Macro: Select whole paragraph webern 5/4/2012 1:33 pm
             Re: Macro: Select whole paragraph Stefan 5/7/2012 3:42 am
               Re: Macro: Select whole paragraph Stefan 7/10/2012 6:18 am
                 Re: Macro: Select whole paragraph netsking 1/28/2013 11:30 am

Register To Post
 
English čeština Deutsch español français italiano 日本語 한국어 Русский 简体中文 繁體中文