> 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"
>>
>>
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"
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
>
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
NVM it is line 3509 in the tabKey handler.
Bob S
On Oct 17, 2016, at 13:54 , Bob Sneidar
> wrote:
Odd... line 3108 of the revSEEditorBehavior is blank and is in a handler called
private command selectFromCurrentToLineStart.
I
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
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
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
> wrote:
Poking
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
> 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
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
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
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
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,
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
> 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,
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
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
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. Some to 2 spaces, some to 4 spaces, etc.
Is there any easy way to tell the script editor to RE-indent all
21 matches
Mail list logo