Re: LC suddenly sending using library stack for script editor field calls

2016-12-01 Thread Dr. Hawkins
now *Bug 18954*  - script
editor uses user libraries and even behaviors

-- 
Dr. Richard E. Hawkins, Esq.
(702) 508-8462
___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode


Re: LC suddenly sending using library stack for script editor field calls

2016-12-01 Thread Dr. Hawkins
On Tue, Nov 29, 2016 at 2:25 PM, Monte Goulding  wrote:

>
> The IDE and your stack are running in the same engine so if you add a
> handler for a message sent to an IDE stack but unhandled or passed to a
> library or backScript then it will get it. Having said that I think the IDE
> should probably have an event trapper backScript we apply to all the stacks
> so that they don’t pass through to user stacks lower in the message path so
> please open a report about this.


I'll file that, but it just got odder

When the development environment is detected, a couple of scripts fire to
make sure that I don't overwrite yesterday's work, and open a few scripts
to edit.

All of my regular stacks (i.e., the ones that will ship, not my dev tools)
share a behavior (src_mcp).

I deleted my live code prefs before starting this morning for good measure.

After everything settles, I search for the routine I want (ckVersDat) from
the find control below the script.

When I then click into the script window, the closeField handler from
src_mcp fires.

src_mcp is *not* set as a library stack although it is prolific.
-- 
Dr. Richard E. Hawkins, Esq.
(702) 508-8462
___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode

Re: LC suddenly sending using library stack for script editor field calls

2016-11-29 Thread Monte Goulding

> On 30 Nov. 2016, at 8:38 am, Dr. Hawkins  wrote:
> 
> It took a couple of wasted hours to find this . . .
> 
> LC has, all of a sudden, started using my library stack when opening the
> script editor.
> 
> So my openField handler, for example, gets called.

The IDE and your stack are running in the same engine so if you add a handler 
for a message sent to an IDE stack but unhandled or passed to a library or 
backScript then it will get it. Having said that I think the IDE should 
probably have an event trapper backScript we apply to all the stacks so that 
they don’t pass through to user stacks lower in the message path so please open 
a report about this.

Cheers

Monte
___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode

LC suddenly sending using library stack for script editor field calls

2016-11-29 Thread Dr. Hawkins
It took a couple of wasted hours to find this . . .

LC has, all of a sudden, started using my library stack when opening the
script editor.

So my openField handler, for example, gets called.

I'm guessing that it briefly did this a long time ago, because I have
commented out routines to catch and pass if the stack name begins with rev
. . .

Did a setting flip somewhere? (I've noticed preferences, particularly
strict compilation, changing on their own occasionally).

This is 8.1.2 RC2

-- 
Dr. Richard E. Hawkins, Esq.
(702) 508-8462
___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode