> On Nov 29, 2016, at 9:08 PM, Trevor DeVore wrote:
>
> On Fri, Sep 23, 2016 at 7:13 PM, Richard Gaskin
> wrote:
>
>> Poking around in the SE I found an even simpler solution - replace line
>> 3108 of "revSEEditorBehavior"
>>
>> scriptFormat "handler"
>>
>> ...with:
>>
>> if the sh
Trevor DeVore wrote:
On Fri, Sep 23, 2016 at 7:13 PM, Richard Gaskin wrote:
Poking around in the SE I found an even simpler solution - replace line
3108 of "revSEEditorBehavior"
scriptFormat "handler"
...with:
if the shiftKey is "down" then
scriptFormat "script"
e
On Fri, Sep 23, 2016 at 7:13 PM, Richard Gaskin
wrote:
> Poking around in the SE I found an even simpler solution - replace line
> 3108 of "revSEEditorBehavior"
>
> scriptFormat "handler"
>
> ...with:
>
> if the shiftKey is "down" then
> scriptFormat "script"
> else
>
Now when I try to save my changes I get a dialog:
Can't save stack revSEEditorBehavior due to an error: can't open stack script
file.
Bob S
> On Oct 17, 2016, at 14:58 , Bob Sneidar wrote:
>
> NVM it is line 3509 in the tabKey handler.
>
> Bob S
>
> On Oct 17, 2016, at 13:54 , Bob Sneidar
NVM it is line 3509 in the tabKey handler.
Bob S
On Oct 17, 2016, at 13:54 , Bob Sneidar
mailto:bobsnei...@iotecdigital.com>> wrote:
Odd... line 3108 of the revSEEditorBehavior is blank and is in a handler called
private command selectFromCurrentToLineStart.
I found the scriptFormat in about
Odd... line 3108 of the revSEEditorBehavior is blank and is in a handler called
private command selectFromCurrentToLineStart.
I found the scriptFormat in about 10 places in that behavior, and am reticent
to change any oen of them as I do not know what they would do.
I wonder if you are using a
Right. I think it was Hypercard that used to reformat the whole script, and
maybe earlier LC, but LC6 did only the single handler.
This became a big problem for me as I had the default text size set differently
on different computers and LC didn’t automatically account for that, so the
formatti
Bob,
You could always make a plugin with a front script, or my favorite, the
patch script.
On Mon, Oct 17, 2016 at 12:43 PM, Bob Sneidar
wrote:
> Will this change be wiped next time I update LC? Id so, then this is why I
> don't like to make changes like this. It would make a nice feature addit
Will this change be wiped next time I update LC? Id so, then this is why I
don't like to make changes like this. It would make a nice feature addition
though.
Bob S
On Sep 23, 2016, at 17:13 , Richard Gaskin
mailto:ambassa...@fourthworld.com>> wrote:
Poking around in the SE I found an even s
Which is a change in prior behavior. It surprised me the first time I saw it.
Used to be the whole script reformatted with the tab key. Or am I crazy?
Bob S
> On Sep 22, 2016, at 14:08 , Paul Dupuis wrote:
>
> Ah ha. The insertion point must be INSIDE a handler and only re-indents
> that hand
> On Sep 23, 2016, at 1:05 PM, Mark Talluto wrote:
>
>
>> On Sep 22, 2016, at 2:08 PM, Paul Dupuis wrote:
>>
>> Ah ha. The insertion point must be INSIDE a handler and only re-indents
>> that handler when you press TAB
>>
>> If the insertion point is between handlers or outside of any handle
A feature request is a good idea. A pull request is a great one...
Sent from my iPhone
> On 24 Sep 2016, at 12:01 PM, J. Landman Gay wrote:
>
> Feel like putting in a feature request for this? I would use it often, and if
> it's in the IDE then we don't have to edit every version update.
___
On 9/23/16 7:13 PM, Richard Gaskin wrote:
Poking around in the SE I found an even simpler solution - replace line
3108 of "revSEEditorBehavior"
scriptFormat "handler"
...with:
if the shiftKey is "down" then
scriptFormat "script"
else
scriptFormat "handler"
Poking around in the SE I found an even simpler solution - replace line
3108 of "revSEEditorBehavior"
scriptFormat "handler"
...with:
if the shiftKey is "down" then
scriptFormat "script"
else
scriptFormat "handler"
end if
Apparently the scriptFormat h
Yes, presuming there's no difference between the content of the script editor
and the compiled script.
Sent from my iPhone
> On 24 Sep 2016, at 9:17 AM, Richard Gaskin wrote:
>
> It would still seem, though, that by changing the algo to use the line
> offsets obtainable from revAvailableHandl
Monte Goulding wrote:
> No it's scripted
>
> Sent from my iPhone
>
>> On 24 Sep 2016, at 7:42 AM, Richard Gaskin wrote:
>>
>> with a call to _internal
Good to know, thanks.
Either way, the full-script-reformat routine Mark posted would have
little opportunity to speed that end of things up much
No it's scripted
Sent from my iPhone
> On 24 Sep 2016, at 7:42 AM, Richard Gaskin wrote:
>
> with a call to _internal
___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscri
If memory serves, I believe indenting is handled in the IDE similarly to
colorization, with a call to _internal.
Perhaps if used in conjunction with the info provided in
revAvailableHandlers, we may be able to format large scripts even
faster, maybe even in the blink of an eye.
--
Richard G
> On Sep 22, 2016, at 2:08 PM, Paul Dupuis wrote:
>
> Ah ha. The insertion point must be INSIDE a handler and only re-indents
> that handler when you press TAB
>
> If the insertion point is between handlers or outside of any handler,
> nothing happens. Ok, tab is useful, but something that refo
Ah ha. The insertion point must be INSIDE a handler and only re-indents
that handler when you press TAB
If the insertion point is between handlers or outside of any handler,
nothing happens. Ok, tab is useful, but something that reformatted ALL
handlers in a script would be even better.
Not perfe
Does pressing the tab key fix it for you?
> On Sep 22, 2016, at 12:52 PM, Paul Dupuis wrote:
>
> I find myself periodically working with stacks where the individuals
> handlers come from a number of sources.
>
> Some of these sources have their script editor set to the default 3
> space indent.
21 matches
Mail list logo