Re: [ANN] "language-livecode" 0.6.0 for Atom Editor

2016-03-24 Thread Peter TB Brett
On 24/03/2016 12:35, Mike Kerner wrote: Did we ever get folding to work in atom? I tried it, again, yesterday, but it doesn't seem to work for scripts. I don't think we've quite got the right syntax definitions in for enabling code folding. Would be definitely interested in merging the c

Re: [ANN] "language-livecode" 0.6.0 for Atom Editor

2016-03-24 Thread Mike Kerner
Did we ever get folding to work in atom? I tried it, again, yesterday, but it doesn't seem to work for scripts. On Thu, Mar 24, 2016 at 5:37 AM, -hh wrote: > Was pretty clear after that. > > > Peter TB Brett wrote > > [ANN] "language-livecode" 0.6.0 for Atom Editor > > Oct 20, 2015; 3:58pm — b

Re: [ANN] "language-livecode" 0.6.0 for Atom Editor

2016-03-24 Thread -hh
Was pretty clear after that. Peter TB Brett wrote > [ANN] "language-livecode" 0.6.0 for Atom Editor > Oct 20, 2015; 3:58pm — by Peter TB Brett > Hi all, > > == Atom language-livecode package 0.6.0 == > > The "language-livecode" package for the Atom editor (https://atom.io/) > provides

Re: [ANN] "language-livecode" 0.6.0 for Atom Editor

2015-10-24 Thread Peter Haworth
OK, I see what you mean now and yes I've seen that and yes, it's annoying. Pete lcSQL Software Home of lcStackBrowser and SQLiteAdmin On Sat, Oct 24, 2015 at 11:12 AM, Mark Wieder wrote: >

Re: [ANN] "language-livecode" 0.6.0 for Atom Editor

2015-10-24 Thread Mark Wieder
On 10/24/2015 09:47 AM, Peter Haworth wrote: Interesting, I haven't seen that problem, at least not in regards to indentation. Try this: /* * this is indented six spaces for emphasis * but the script editor will reformat it for you * to a single space */ -- and it will als

Re: [ANN] "language-livecode" 0.6.0 for Atom Editor

2015-10-24 Thread Peter Haworth
Interesting, I haven't seen that problem, at least not in regards to indentation. I have seen the script editor fairly frequently highlight code outside a block comment in green as if it were inside it. The code still executes OK but a bit scary the first time I saw it happen. Pete lcSQL Software

Re: [ANN] "language-livecode" 0.6.0 for Atom Editor

2015-10-24 Thread Peter Haworth
Thanks Monte. I agree with your choice. FYI, the LC module for Textmate does it per your first example with the case, and all the statements under it at the same indent level, not pretty. Pete lcSQL Software Home of lcStackBrowser

Re: [ANN] "language-livecode" 0.6.0 for Atom Editor

2015-10-24 Thread Mark Wieder
On 10/23/2015 08:13 AM, Peter TB Brett wrote: I find the IDE editor's auto-indentation behaviour pretty obnoxious (it regularly screws up the formatting in my comments), so I'll be happy to *not* have it in the Atom package. that's actually a problem with the script editor, not with the auto

Re: [ANN] "language-livecode" 0.6.0 for Atom Editor

2015-10-24 Thread Mark Wieder
On 10/24/2015 02:02 AM, Kay C Lan wrote: On Sat, Oct 24, 2015 at 2:58 PM, Monte Goulding wrote: Anyone have any thoughts on this? My first thought is... thank you! And my second is I agree with your latter choice. Those are three icky choices, but I'm with Kay on this. -- Mark Wieder a

Re: [ANN] "language-livecode" 0.6.0 for Atom Editor

2015-10-24 Thread Kay C Lan
On Sat, Oct 24, 2015 at 2:58 PM, Monte Goulding wrote: > Anyone have any thoughts on this? > > My first thought is... thank you! And my second is I agree with your latter choice. ___ use-livecode mailing list use-livecode@lists.runrev.com Please visit t

Re: [ANN] "language-livecode" 0.6.0 for Atom Editor

2015-10-24 Thread Monte Goulding
> On 24 Oct 2015, at 2:25 am, Peter TB Brett wrote: > > Urgh, this is pretty broken in the 0.6.0. I'll file an issue and try to make > sure it's fixed for the next release. I’ve submitted a fix for this and the indenting issues. There’s still a bit of a quirk with switch indenting because th

Re: [ANN] "language-livecode" 0.6.0 for Atom Editor

2015-10-23 Thread Peter TB Brett
On 22/10/2015 17:38, Bob Sneidar wrote: I had typed up an email to that effect yesterday, but deleted it without sending it, because I thought that maybe I was asking too much of the Atom Editor. But if this is what ist should be doing then +1! Bob S On Oct 21, 2015, at 16:36 , Peter Hawor

Re: [ANN] "language-livecode" 0.6.0 for Atom Editor

2015-10-23 Thread Peter TB Brett
On 22/10/2015 18:33, Bob Sneidar wrote: So am I supposed to copy scripts back and forth, or is Atom supposed to be able to jack into my Livecode stack and read the scripts in the individual objects? Don't see how that is possible, and I don't see how it would be better, or that much better to us

Re: [ANN] "language-livecode" 0.6.0 for Atom Editor

2015-10-23 Thread Peter TB Brett
On 22/10/2015 22:15, Monte Goulding wrote: On 23 Oct 2015, at 3:17 am, Peter Haworth wrote: The script editor ( and TextMate) automatically indent after if/repeat/switch statements, Atom doesn't. I know it has snippets that will insert a complete if block with indentation but if I simply t

Re: [ANN] "language-livecode" 0.6.0 for Atom Editor

2015-10-22 Thread Trevor DeVore
On Thu, Oct 22, 2015 at 5:28 PM, Monte Goulding wrote: > > I’m not doing much with LCB yet but I suspect getting live script errors > in that will be a bit of a boon too. > I've been using it tonight. It is awesome. Big productivity boost for LCB development. Thanks Monte and Peter! -- Trevor

Re: [ANN] "language-livecode" 0.6.0 for Atom Editor

2015-10-22 Thread Mark Wieder
On 10/22/2015 02:08 PM, Monte Goulding wrote: I’ve thought about this too. Actually in Atom we can have some code run whenever the file is saved. This seems nicer than constantly checking if the file is changed in a LC plugin. Should be fairly easy to setup something that sends datagrams back

Re: [ANN] "language-livecode" 0.6.0 for Atom Editor

2015-10-22 Thread Mike Kerner
no. I came up with a recipe that the team could repeat, and then use to work on figuring out what's going on, so it's in process. On Thu, Oct 22, 2015 at 9:49 PM, Richard Gaskin wrote: > Mike Kerner wrote: > > > Having the various tools and palettes be in separate threads would > > solve a varie

Re: [ANN] "language-livecode" 0.6.0 for Atom Editor

2015-10-22 Thread Richard Gaskin
Mike Kerner wrote: > Having the various tools and palettes be in separate threads would > solve a variety of problems, IMHO, including having variables and > properties in danger of getting stamped due to instances and scope > being mixed, the need for so many front scripts, the problem that I >

Re: [ANN] "language-livecode" 0.6.0 for Atom Editor

2015-10-22 Thread Mike Kerner
Having the various tools and palettes be in separate threads would solve a variety of problems, IMHO, including having variables and properties in danger of getting stamped due to instances and scope being mixed, the need for so many front scripts, the problem that I finally developed a recipe for,

Re: [ANN] "language-livecode" 0.6.0 for Atom Editor

2015-10-22 Thread Richard Gaskin
Monte Goulding wrote: > Would moving the script editor to a separate process solve any > problems we know about? That does seem to be the question at hand here. -- Richard Gaskin Fourth World Systems Software Design and Development for the Desktop, Mobile, and the Web ___

Re: [ANN] "language-livecode" 0.6.0 for Atom Editor

2015-10-22 Thread Peter Haworth
Well there's Mark Wieder's GLX2 editor plugin Mark? On Thu, Oct 22, 2015, 4:27 PM Bob Sneidar wrote: > Trevor and Jerry worked on the Remo project, which was actually quite > good. It ran as a separate application, but was able to access and save > scripts. It also had a great application mana

Re: [ANN] "language-livecode" 0.6.0 for Atom Editor

2015-10-22 Thread Bob Sneidar
Trevor and Jerry worked on the Remo project, which was actually quite good. It ran as a separate application, but was able to access and save scripts. It also had a great application manager interface, quite superior to what we currently have. The "weakness" (if I can call it that) is that the

Re: [ANN] "language-livecode" 0.6.0 for Atom Editor

2015-10-22 Thread Monte Goulding
> On 23 Oct 2015, at 8:36 am, Richard Gaskin wrote: > > My question wasn't about ROI, but where I was going with that is less > interesting than your reply, which raises a question of its own: > > Given that PHP, Python, Lua, Ruby, and most other scripting languages deliver > a great engine w

Re: [ANN] "language-livecode" 0.6.0 for Atom Editor

2015-10-22 Thread Richard Gaskin
Monte Goulding wrote: >> On 23 Oct 2015, at 8:19 am, Richard Gaskin wrote: >> >> How hard would it be to make a good text editor in LiveCode? > > It might not be hard but probably take considerably more time than > the time it takes to read this thread and has taken for @peter-b > and contributor

Re: [ANN] "language-livecode" 0.6.0 for Atom Editor

2015-10-22 Thread Monte Goulding
> On 23 Oct 2015, at 8:19 am, Richard Gaskin wrote: > > How hard would it be to make a good text editor in LiveCode? It might not be hard but probably take considerably more time than the time it takes to read this thread and has taken for @peter-b and contributors to put together the livecod

Re: [ANN] "language-livecode" 0.6.0 for Atom Editor

2015-10-22 Thread Roger Eller
On Thu, Oct 22, 2015 at 5:17 PM, Monte Goulding wrote: > > > On 23 Oct 2015, at 8:13 am, Roger Eller > wrote: > > > > I don't see a field in Atom's settings titled "LiveCode Server Engine > > Path". That seems odd that it would. Isn't Atom for any language? > > In the settings for the livecode

Re: [ANN] "language-livecode" 0.6.0 for Atom Editor

2015-10-22 Thread Richard Gaskin
The length of this and related threads has me wondering: How hard would it be to make a good text editor in LiveCode? -- Richard Gaskin Fourth World Systems Software Design and Development for the Desktop, Mobile, and the Web __

Re: [ANN] "language-livecode" 0.6.0 for Atom Editor

2015-10-22 Thread Monte Goulding
> On 23 Oct 2015, at 8:13 am, Roger Eller wrote: > > I don't see a field in Atom's settings titled "LiveCode Server Engine > Path". That seems odd that it would. Isn't Atom for any language? In the settings for the livecode language package in Settings > Packages _

Re: [ANN] "language-livecode" 0.6.0 for Atom Editor

2015-10-22 Thread Monte Goulding
> On 23 Oct 2015, at 3:17 am, Peter Haworth wrote: > > The script editor ( and TextMate) automatically indent after > if/repeat/switch statements, Atom doesn't. I know it has snippets that > will insert a complete if block with indentation but if I simply type an if > statement followed by retu

Re: [ANN] "language-livecode" 0.6.0 for Atom Editor

2015-10-22 Thread Roger Eller
On Thu, Oct 22, 2015 at 5:04 PM, Monte Goulding wrote: > > > On 23 Oct 2015, at 5:27 am, Peter Haworth wrote: > > > > ATom does have a great advantage over Textmate because it can apparently > > flag syntax errors but I need to figure out how to set up LC server to > make > > that work. > > Down

Re: [ANN] "language-livecode" 0.6.0 for Atom Editor

2015-10-22 Thread Monte Goulding
> On 23 Oct 2015, at 4:54 am, Mike Kerner wrote: > > I have been thinking about whether I would write a plugin for LC that would > let Atom be easier to use as a script editor, by pulling scripts from LC > and putting them back in stacks, which would overcome some of the > annoyances with the LC

Re: [ANN] "language-livecode" 0.6.0 for Atom Editor

2015-10-22 Thread Monte Goulding
> On 23 Oct 2015, at 5:27 am, Peter Haworth wrote: > > ATom does have a great advantage over Textmate because it can apparently > flag syntax errors but I need to figure out how to set up LC server to make > that work. Download LiveCode Server from downloads.livecode.com

Re: [ANN] "language-livecode" 0.6.0 for Atom Editor

2015-10-22 Thread Peter Haworth
Hi Mike, There's already a plugin for that, the STS MLXEditor plugin. I'm using that and it works great. Right now, I'm liking TextMate better than Atom for editing stack scripts because it does the automatic indentation I mentioned, but maybe there's a way a setting in Atom to control that? Under

Re: [ANN] "language-livecode" 0.6.0 for Atom Editor

2015-10-22 Thread Mike Kerner
The point isn't to use it for general purpose script editing. The point is to use it for LCB and LC Server scripts, and for libraries and other things that aren't all hooked into the IDE. Libraries are a good example, because if there are multiple people working on it, if the library is stored in

Re: [ANN] "language-livecode" 0.6.0 for Atom Editor

2015-10-22 Thread Bob Sneidar
I need a lot more info before I could start using this. I read the "instructions" for the linter plugin for livecode, but it makes no sense, and adding what they have there to the config file and putting the path to Livecode (I assume that is what they are looking for) throws an error in Atom.

Re: [ANN] "language-livecode" 0.6.0 for Atom Editor

2015-10-22 Thread Bob Sneidar
I had typed up an email to that effect yesterday, but deleted it without sending it, because I thought that maybe I was asking too much of the Atom Editor. But if this is what ist should be doing then +1! Bob S On Oct 21, 2015, at 16:36 , Peter Haworth mailto:p...@lcsql.com>> wrote: This is

Re: [ANN] "language-livecode" 0.6.0 for Atom Editor

2015-10-22 Thread Peter Haworth
Thanks Kay, that did the trick. There's still a couple of things Tom doesn't appear to do, both regarding indentation. The script editor ( and TextMate) automatically indent after if/repeat/switch statements, Atom doesn't. I know it has snippets that will insert a complete if block with indentat

Re: [ANN] "language-livecode" 0.6.0 for Atom Editor

2015-10-22 Thread Peter Haworth
Hi Peter, The only confusion for me was the section on the linter and the installation of LC server. I've never installed LC server so don;t know where to start. I assume there are instructions somewhere so a link to wherever that is would be good. Pete lcSQL Software Home

Re: [ANN] "language-livecode" 0.6.0 for Atom Editor

2015-10-22 Thread Mike Kerner
Peter, The messages I was sending you are a good example - I wasn't able to make colorizing work until I fiddled the heck out of things. Anyway, my general rule is that if there are questions, the documentation isn't clear enough. I didn't think about tweaking the page in Git. On Thu, Oct 22,

Re: [ANN] "language-livecode" 0.6.0 for Atom Editor

2015-10-22 Thread Kay C Lan
On Thu, Oct 22, 2015 at 7:36 AM, Peter Haworth wrote: > This is probably a question for any Atom experts out there but The > autocomplete doesn't seem to be working as I expected. > > I'm definitely NOT an Atom expert, but try this > According to the Atom documentation, autocomplete should incl

Re: [ANN] "language-livecode" 0.6.0 for Atom Editor

2015-10-22 Thread Peter TB Brett
On 21/10/2015 21:15, Mike Kerner wrote: This conversation is exactly why we need to develop some better instructions for the non-command-liners. Hi Mike, I agree. Does the info on the package's page seem adequate? https://atom.io/packages/language-livecode If not, what info is missing? How

Re: [ANN] "language-livecode" 0.6.0 for Atom Editor

2015-10-21 Thread Peter Haworth
This is probably a question for any Atom experts out there but The autocomplete doesn't seem to be working as I expected. According to the Atom documentation, autocomplete should include words in the file you're editing, so for example if I have a local declaration, it should suggest the names of

Re: [ANN] "language-livecode" 0.6.0 for Atom Editor

2015-10-21 Thread Mike Kerner
This conversation is exactly why we need to develop some better instructions for the non-command-liners. On Wed, Oct 21, 2015 at 3:49 PM, Peter Haworth wrote: > Thanks Mark and Monte. I'm now up and running but have not tried to deal > with the linter/livecode server yet. > > Pete > lcSQL Softw

Re: [ANN] "language-livecode" 0.6.0 for Atom Editor

2015-10-21 Thread Peter Haworth
Thanks Mark and Monte. I'm now up and running but have not tried to deal with the linter/livecode server yet. Pete lcSQL Software Home of lcStackBrowser and SQLiteAdmin On Wed, Oct 21, 2015

Re: [ANN] "language-livecode" 0.6.0 for Atom Editor

2015-10-21 Thread Monte Goulding
> On 22 Oct 2015, at 5:05 am, Mark Wieder wrote: > > Open Atom > Go to Preferences > Select Install > Make sure Packages is selected (it's the default) > Type livecode into the search box and press return > "language-livecode" should be top of the list > Press Install And you also need the lint

Re: [ANN] "language-livecode" 0.6.0 for Atom Editor

2015-10-21 Thread Mark Wieder
Peter Haworth writes: > > I just downloaded the file but not having any success figuring out how to > install it in Atom. It seems their standard install only lists packages > that have been registered at atom.io. Any help would be welcome. Open Atom Go to Preferences Select Install Make sure

Re: [ANN] "language-livecode" 0.6.0 for Atom Editor

2015-10-21 Thread Peter Haworth
I just downloaded the file but not having any success figuring out how to install it in Atom. It seems their standard install only lists packages that have been registered at atom.io. Any help would be welcome. Pete lcSQL Software Home of lcStackBrowser

Re: [ANN] "language-livecode" 0.6.0 for Atom Editor

2015-10-21 Thread Peter TB Brett
On 20/10/2015 21:53, Monte Goulding wrote: Aha! Now those of you that wanted to play with the linter after my premature announcement last month can have a go. Sorry it took me so long to make the release! ;_; Peter -- Dr Peter Brett LiveCode Open Source Team

Re: [ANN] "language-livecode" 0.6.0 for Atom Editor

2015-10-20 Thread Monte Goulding
Aha! Now those of you that wanted to play with the linter after my premature announcement last month can have a go. > On 21 Oct 2015, at 1:09 am, Peter TB Brett wrote: > > Hi all, > > == Atom language-livecode package 0.6.0 == > > The "language-livecode" package for the Atom editor (htt