Re: ANN: glx2 script editor 4.0

2020-04-06 Thread Bob Sneidar via use-livecode
Mark has identified some anomalies and is presently working on it.

Bob S


On Apr 6, 2020, at 4:48 PM, Andre Garzia via use-livecode 
mailto:use-livecode@lists.runrev.com>> wrote:

I'm also experiencing some oddities with GLX2 4.0.1 here.

I've uploaded a screenshot to:

http://andregarzia.com/img/shots/glx2/glx2-strange.png

* The GLX2 bar is misplaced and even though it moves when I move the main
LC menu, it moves to the wrong location.
* The menubar in the GLX2 script editor has wrong colors and can't be read.
* The handler columns is too small.

Those are the main issues I noted so far.

Best
Andre

___
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: ANN: glx2 script editor 4.0

2020-04-06 Thread Andre Garzia via use-livecode
I'm also experiencing some oddities with GLX2 4.0.1 here.

I've uploaded a screenshot to:

http://andregarzia.com/img/shots/glx2/glx2-strange.png

* The GLX2 bar is misplaced and even though it moves when I move the main
LC menu, it moves to the wrong location.
* The menubar in the GLX2 script editor has wrong colors and can't be read.
* The handler columns is too small.

Those are the main issues I noted so far.

Best
Andre

On Mon, 6 Apr 2020 at 21:39, matthias rebbe via use-livecode <
use-livecode@lists.runrev.com> wrote:

> Mark,
> where do you want feedback? I place it here for now.
>
>
> Tested now with LC 9.5.1, 9.6.0DP3 on Mac OS 10.14.6 with two displays.
>
> 1. the GLX2 bar is not under the LC menubar. It´s placed on the right of
> the screen
> see https://livecode.dermattes.de/screenshots/glx2_bar.png
>
>
> And it  seems that GLX does not write back the preferences or maybe some
> of them back to the prefs file.
>
> 2. tried to set to chalkboard, but that was not saved. I had to change the
> GLX2 Code Prefs.txt file in an editor while LC is not running to get
> Chalkboard working
>
> 3. setting the font size does also not work
>   even after changing the size manually in the editor (while LC is not
> running) does not work. I need also to open the GLX preferences once in LC
> and then  the font size changes in GLX
>
> 4. when GLX2 is first opened then a menu is visible in GLX
> see https://livecode.dermattes.de/screenshots/glx2_menu_visible.png
>
> when i click onto any of the menu items then the menu disappears
> see https://livecode.dermattes.de/screenshots/glx2_menu_hidden.png
>
>
> Matthias
>
>
> -
> Matthias Rebbe
> Life Is Too Short For Boring Code
>
> >
>
>
> ___
> 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
>


-- 
http://www.andregarzia.com -- All We Do Is Code.
http://fon.nu -- minimalist url shortening service.
___
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: ANN: glx2 script editor 4.0

2020-04-06 Thread Bob Sneidar via use-livecode
I suspect the repeated LC SE reversion is the same issue as prefs not sticking.

Bob S


On Apr 6, 2020, at 1:49 PM, Bob Sneidar 
mailto:bobsnei...@iotecdigital.com>> wrote:

seeing some of the same things. There was an issue where the GLX2 menu under 
certain conditions would become the custom menu of the open GLX2 SE, and the 
system menu would revert back to the default. If the GLX2 menu becomes the 
System Menu you cannot access the default System Manu at all.

Bob S

___
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: ANN: glx2 script editor 4.0

2020-04-06 Thread Bob Sneidar via use-livecode
seeing some of the same things. There was an issue where the GLX2 menu under 
certain conditions would become the custom menu of the open GLX2 SE, and the 
system menu would revert back to the default. If the GLX2 menu becomes the 
System Menu you cannot access the default System Manu at all. 

Bob S


> On Apr 6, 2020, at 1:38 PM, matthias rebbe via use-livecode 
>  wrote:
> 
> Mark,
> where do you want feedback? I place it here for now. 
> 
> 
> Tested now with LC 9.5.1, 9.6.0DP3 on Mac OS 10.14.6 with two displays.
> 
> 1. the GLX2 bar is not under the LC menubar. It´s placed on the right of the 
> screen
> see https://livecode.dermattes.de/screenshots/glx2_bar.png
> 
> 
> And it  seems that GLX does not write back the preferences or maybe some of 
> them back to the prefs file.
> 
> 2. tried to set to chalkboard, but that was not saved. I had to change the 
> GLX2 Code Prefs.txt file in an editor while LC is not running to get 
> Chalkboard working
> 
> 3. setting the font size does also not work
>  even after changing the size manually in the editor (while LC is not 
> running) does not work. I need also to open the GLX preferences once in LC 
> and then  the font size changes in GLX
> 
> 4. when GLX2 is first opened then a menu is visible in GLX
> see https://livecode.dermattes.de/screenshots/glx2_menu_visible.png
> 
> when i click onto any of the menu items then the menu disappears 
> see https://livecode.dermattes.de/screenshots/glx2_menu_hidden.png
> 
> 
> Matthias
> 
> 
> -
> Matthias Rebbe
> Life Is Too Short For Boring Code
> 
>> 
> 
> 
> ___
> 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

___
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: ANN: glx2 script editor 4.0

2020-04-06 Thread matthias rebbe via use-livecode
regard 3. I meant 

...changing the size manually in AN editor (while LC is not running)

-
Matthias Rebbe
Life Is Too Short For Boring Code

> Am 06.04.2020 um 22:38 schrieb matthias rebbe via use-livecode 
> :
> 
> Mark,
> where do you want feedback? I place it here for now. 
> 
> 
> Tested now with LC 9.5.1, 9.6.0DP3 on Mac OS 10.14.6 with two displays.
> 
> 1. the GLX2 bar is not under the LC menubar. It´s placed on the right of the 
> screen
> see https://livecode.dermattes.de/screenshots/glx2_bar.png
> 
> 
> And it  seems that GLX does not write back the preferences or maybe some of 
> them back to the prefs file.
> 
> 2. tried to set to chalkboard, but that was not saved. I had to change the 
> GLX2 Code Prefs.txt file in an editor while LC is not running to get 
> Chalkboard working
> 
> 3. setting the font size does also not work
>  even after changing the size manually in the editor (while LC is not 
> running) does not work. I need also to open the GLX preferences once in LC 
> and then  the font size changes in GLX
> 
> 4. when GLX2 is first opened then a menu is visible in GLX
> see https://livecode.dermattes.de/screenshots/glx2_menu_visible.png
> 
> when i click onto any of the menu items then the menu disappears 
> see https://livecode.dermattes.de/screenshots/glx2_menu_hidden.png
> 
> 
> Matthias
> 
> 
> -
> Matthias Rebbe
> Life Is Too Short For Boring Code
> 
>> 
> 
> 
> ___
> 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


___
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: ANN: glx2 script editor 4.0

2020-04-06 Thread matthias rebbe via use-livecode
Mark,
where do you want feedback? I place it here for now. 


Tested now with LC 9.5.1, 9.6.0DP3 on Mac OS 10.14.6 with two displays.

1. the GLX2 bar is not under the LC menubar. It´s placed on the right of the 
screen
see https://livecode.dermattes.de/screenshots/glx2_bar.png


And it  seems that GLX does not write back the preferences or maybe some of 
them back to the prefs file.

2. tried to set to chalkboard, but that was not saved. I had to change the GLX2 
Code Prefs.txt file in an editor while LC is not running to get Chalkboard 
working
 
3. setting the font size does also not work
  even after changing the size manually in the editor (while LC is not running) 
does not work. I need also to open the GLX preferences once in LC and then  the 
font size changes in GLX

4. when GLX2 is first opened then a menu is visible in GLX
see https://livecode.dermattes.de/screenshots/glx2_menu_visible.png
   
when i click onto any of the menu items then the menu disappears 
see https://livecode.dermattes.de/screenshots/glx2_menu_hidden.png


Matthias


-
Matthias Rebbe
Life Is Too Short For Boring Code

> 


___
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: ANN: glx2 script editor 4.0

2020-04-06 Thread Bob Sneidar via use-livecode
Normally I wouldn’t, but in the past for one reason or another I turned off 
GLX2 to get to the script editor, and somewhere in the process of turning it 
off and on, a lot of new coding disappeared. That was long ago though, and I 
may not even be looking at the same problem. It seems that once the stack is 
saved, everything is in sync.

One other thing, when I enable GLX2, it’s menu becomes the system menu, even if 
the pointer tool is selected. Is this the desired behavior? No worries if it 
is. I’ll probably end up living in GLX2 from now on.

Bob S


On Apr 6, 2020, at 12:43 PM, Mark Wieder via use-livecode 
mailto:use-livecode@lists.runrev.com>> wrote:

On 4/6/20 12:36 PM, Bob Sneidar via use-livecode wrote:
This may be fixed in 4.0.1. I’ll check.
OK I verified that if I make a change in GLX2, then switch to the Native SE, I 
see the change. If however I make a change in the Native SE, then switch to 
GLX2, it does NOT reflect the change.
If however I SAVE the stack, THEN GLX2 sees the code change. It must be that 
GLX2 is maintaining it’s own in memory version of the code, and the switching 
is not synching in one of the directions. This is likely where the code loss 
seemed to happen, but seeing this I do not think there was actual code loss.
Maybe a preference to save stack on compile?

So... I'm confused... you want to change the builtin script editor to save 
after compiling so that it's compatible with the glx2 editor?

--
Mark Wieder
ahsoftw...@gmail.com

___
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: ANN: glx2 script editor 4.0

2020-04-06 Thread Mark Wieder via use-livecode

On 4/6/20 12:36 PM, Bob Sneidar via use-livecode wrote:

This may be fixed in 4.0.1. I’ll check.

OK I verified that if I make a change in GLX2, then switch to the Native SE, I 
see the change. If however I make a change in the Native SE, then switch to 
GLX2, it does NOT reflect the change.

If however I SAVE the stack, THEN GLX2 sees the code change. It must be that 
GLX2 is maintaining it’s own in memory version of the code, and the switching 
is not synching in one of the directions. This is likely where the code loss 
seemed to happen, but seeing this I do not think there was actual code loss.

Maybe a preference to save stack on compile?


So... I'm confused... you want to change the builtin script editor to 
save after compiling so that it's compatible with the glx2 editor?


--
 Mark Wieder
 ahsoftw...@gmail.com

___
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: ANN: glx2 script editor 4.0

2020-04-06 Thread Bob Sneidar via use-livecode
This may be fixed in 4.0.1. I’ll check.

OK I verified that if I make a change in GLX2, then switch to the Native SE, I 
see the change. If however I make a change in the Native SE, then switch to 
GLX2, it does NOT reflect the change.

If however I SAVE the stack, THEN GLX2 sees the code change. It must be that 
GLX2 is maintaining it’s own in memory version of the code, and the switching 
is not synching in one of the directions. This is likely where the code loss 
seemed to happen, but seeing this I do not think there was actual code loss.

Maybe a preference to save stack on compile?

Bob S

On Apr 6, 2020, at 12:20 PM, Mark Talluto via use-livecode 
mailto:use-livecode@lists.runrev.com>> wrote:

I should have mentioned that I tested restarting and that did not do it either. 
:(

My bigger problem is that GLX keeps switching back to LC’s script editor. I 
turn it back to GLX and I loose all my code changes in GLX.
I took every plugin out of my plugins to rule them out. My plugins folder is 
just GLX2 Code.rev and glx2Plugins.txt.

We can take this offline where we can discuss this in more detail.


Best regards,

Mark Talluto

___
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: ANN: glx2 script editor 4.0

2020-04-06 Thread Mark Wieder via use-livecode

Ack! Bernd just hipped me to the fact that I uploaded the wrong version.
It *should* identify itself as version 4.0.1 if you've got the right 
one. If not, download it again - I *think* I've got the right one 
uploaded to bitbucket now.


--
 Mark Wieder
 ahsoftw...@gmail.com

___
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: ANN: glx2 script editor 4.0

2020-04-06 Thread Mark Talluto via use-livecode
> 
> On Apr 6, 2020, at 12:08 PM, Mark Wieder via use-livecode 
>  wrote:
> 
> On 4/6/20 11:49 AM, Mark Talluto via use-livecode wrote:
> 
>> Quick question: I am interested in using the ‘Chalkboard Motiff’. When I 
>> select it I do not see a change in the look. Same when I close the prefs. 
>> What am I missing?
>> The same is true for changing the font size. I changed the font to “Source 
>> Code Pro” if that matters.
> 
> The motif isn't changing on the fly for some reason. It's something I need to 
> look into. But the next time you launch the IDE it will have the new motif.

I should have mentioned that I tested restarting and that did not do it either. 
:(

My bigger problem is that GLX keeps switching back to LC’s script editor. I 
turn it back to GLX and I loose all my code changes in GLX. 
I took every plugin out of my plugins to rule them out. My plugins folder is 
just GLX2 Code.rev and glx2Plugins.txt.

We can take this offline where we can discuss this in more detail.


Best regards,

Mark Talluto
livecloud.io 
nursenotes.net 
canelasoftware.com 

___
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: ANN: glx2 script editor 4.0

2020-04-06 Thread Mark Wieder via use-livecode

On 4/6/20 11:49 AM, Mark Talluto via use-livecode wrote:


Quick question: I am interested in using the ‘Chalkboard Motiff’. When I select 
it I do not see a change in the look. Same when I close the prefs. What am I 
missing?
The same is true for changing the font size. I changed the font to “Source Code 
Pro” if that matters.


The motif isn't changing on the fly for some reason. It's something I 
need to look into. But the next time you launch the IDE it will have the 
new motif.


--
 Mark Wieder
 ahsoftw...@gmail.com

___
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: ANN: glx2 script editor 4.0

2020-04-06 Thread Bob Sneidar via use-livecode
Whoa! Quite a bit smaller! I’ll check it out. Really excited! I loved GLX2 but 
the code loss on OS X when switching GLX2 on and off was killing me! I will 
back things up and check for that. 

Bob S

___
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: ANN: glx2 script editor 4.0

2020-04-06 Thread Mark Talluto via use-livecode
On Apr 6, 2020, at 11:08 AM, Mark Wieder via use-livecode 
 wrote:
> 
> I posted this to the web forum last night and figured I should put it in the 
> list as well... so here's something to help with working in isolation.

Nice work Mark. I am giving it a try right now. I am interested in to seeing 
how it goes. 

Quick question: I am interested in using the ‘Chalkboard Motiff’. When I select 
it I do not see a change in the look. Same when I close the prefs. What am I 
missing?
The same is true for changing the font size. I changed the font to “Source Code 
Pro” if that matters.

Thanks again for this update.


Best regards,

Mark Talluto
livecloud.io 
nursenotes.net 
canelasoftware.com 

___
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


ANN: glx2 script editor 4.0

2020-04-06 Thread Mark Wieder via use-livecode
I posted this to the web forum last night and figured I should put it in 
the list as well... so here's something to help with working in isolation.


Whew! It's been a long time since I've updated this.
I really thought I had made my peace with the built-in script editor, 
but I recently had to look at this thing again and make some long-needed 
adjustments.
Refactored it so much that it really needs a new major version to 
reflect all the changes.

So this is the official release of the glx2 script editor 4.0

new features:

Integration of the status bar with Fourth World's devolution
(http://fourthworld.com/products/devolution/index.html)
Refactored code folding
Status bar colors match LiveCode license version colors
Fixed block comment folding inside handlers
Refactored code folding yet again for speed
Renamed stack for ease of editing in Project Browser
Fixed "end try" tab formatting
Removed most dependence on stack naming convention
Some rework for compatibility with Refactor stack
Folding block comments.
Extended pattern matching to "()[]{}"
Line numbers. Yes, finally.
Pressing enter on a compiled script closes the tab ala the built-in 
editor. I never thought that was a thing.

control-tab and shift-control tab move among the open script editor tabs.
Click in line number field to toggle ghost breakpoints on and off.
Line numbering and ghost breakpoints adjust properly to cut/paste/edit.
There is now a proper license file. GLX2 has always been licensed under 
the MIT license, but there was no external notice of this, only a custom 
property (uRIP["EULA"]) of the mainstack.
The "red dot" breakpoints are now functional, with or without 
PowerDebug. This is a Big Deal, because the dot positions are 
recalculated when you compile so that the actual breakpoints stay in 
sync with the visual indicators. To toggle a breakpoint for a given 
line, right-click on the line and select the option from the pop-up 
menu. Note that the ghost breakpoints are not persistent, i.e., they 
only exist for the current session.
NOTE: If you use breakpoints without PowerDebug in the system, you will 
end up launching the IDE's script editor on hitting a breakpoint. The 
IDE's debugger is intimately intertwined with the IDE's script editor.

The default font size preference is now 12 point.

bugs fixed:

Ghost breakpoints coexist with code folding.
Compilation errors weren't highlighting the error line properly.
Right-clicking the handler panel was only selecting the folders popup.
Some code folding wasn't working properly. Reformatting could lose code 
if collapsed.
Removed lots of unused legacy custom properties (see note about deleting 
prefs file)

Command-w (control-w) closes the current tab.
OSX problem with toggling GLX2 on and off
Ghost breakpoints weren't correctly responding to cut/paste
Refactored for speed
Folding case statements inside switch contructs works properly now.
It was previously collapsing all the way down to the 'end switch' statement.
Line numbering could get out of sync on opening a new tab.
Reopening the script editor after closing wasn't properly noticing 
previously-open tabs.

Hacked around LC8.1 interaction with reloading/rewriting revTools.
Lots of little things I had time to fix up while waiting.
For one thing, the splitter bar between the handlers and script panels 
is more accessible now.

The properties were never included in clairvoyance completion
Fixed miscellaneous problems with glx2 plugin handler code
Preferences weren't being loaded properly
Multiple problems solved with handler folders
Several things that were previously working were fixed until they broke, 
then refactored until they worked again.

The cursor was being positioned improperly for new commands and functions
Two folding structures problems fixed
"else if" was folding in the middle
the combination of folding structures and block comments could lose text
Re-enabled live colorization
Bernd Niggeman contributed live colorization fixes
Fixed the cursor flickering problem
Broke and fixed clairvoyance
Frontscript was interfering with text/icons display in the IDE's dock

known issues:

Line wrapping doesn't change the line numbering. If you turn on line 
wrapping, the line numbers after a line wraps will be wrong. I don't 
currently know any way of telling when a line is being wrapped. I'd 
treat this as experimental and not enable it.
Still some problems recognizing that text inside a block comment is not 
actionable.
Swapping back and forth between glx2 and the IDE's script editor can get 
a bit wonky.
Very little testing has been done on any Windows platform. If it works, 
it works.

Spuriously recognizes "the" as a library handler.

NOTE: the glx2Plugins.txt file should be placed in the same user plugins 
folder as glx2 itself. If you have an older "glx2 Plugins.txt" file you 
can get rid of it. I renamed the new file to eliminate the embedded 
space, and the older naming convention will just be ignored. Current 
plugin