Re: Is someone using Coda 2 with syntax highlighting for livecode server scripts?

2014-09-11 Thread Ralf Bitter

Peter,

code colorization (as well as code completion) is implemented solely for
server related parts of the language because the bundle is meant to be used
for working with LiveCode server files.
So, if you add ?lc or ?rev or ?livecode at the top of your code, 
colorization
should work (with restrictions as mentioned above).


Ralf


On 11.09.2014, at 01:53, Peter Haworth p...@lcsql.com wrote:

 I created a simple text file with a .rev extension, then cut and pasted a
 script into it from LC.  Saved the file, then opened it with TextMate.
 
 I can tell it's recognized as an LC script because things like com-tab,
 func-tab,repeat-tab do what they're supposed to do.  Also the
 collapse/expansion of code blocks works fine.  But still no colorization.
 
 Maybe there's more work involved to get it working with the desktop.
 
 Pete
 lcSQL Software http://www.lcsql.com
 Home of lcStackBrowser http://www.lcsql.com/lcstackbrowser.html and
 SQLiteAdmin http://www.lcsql.com/sqliteadmin.html


___
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: Is someone using Coda 2 with syntax highlighting for livecode server scripts?

2014-09-11 Thread Peter Haworth
Thanks Ralph, that got it working.  It also recognizes ?lc within a
comment which is great because I can now include that in a script without
it causing compile issues in the IDE

I'm very interested in using TextMate for editing IDE scripts but it seems
like it will be hard to make it happen without a lot of manual intervention
because of the scripts not being in a separate text file like the server
scripts.

It would be pretty easy to implement a way to write a selected script into
a temporary text file with the correct extension, and the Textmate docs
show how to run it with a command line argument to open a file.

Finding a mechanism to get the Textmate file back into the script editor
seems more challenging.  Maybe OSX folder actions and an Apple Script might
be able to signal a plugin somehow.



Pete
lcSQL Software http://www.lcsql.com
Home of lcStackBrowser http://www.lcsql.com/lcstackbrowser.html and
SQLiteAdmin http://www.lcsql.com/sqliteadmin.html


On Thu, Sep 11, 2014 at 2:34 AM, Ralf Bitter ra...@revigniter.com wrote:


 Peter,

 code colorization (as well as code completion) is implemented solely for
 server related parts of the language because the bundle is meant to be used
 for working with LiveCode server files.
 So, if you add ?lc or ?rev or ?livecode at the top of your code,
 colorization
 should work (with restrictions as mentioned above).


 Ralf


 On 11.09.2014, at 01:53, Peter Haworth p...@lcsql.com wrote:

  I created a simple text file with a .rev extension, then cut and pasted a
  script into it from LC.  Saved the file, then opened it with TextMate.
 
  I can tell it's recognized as an LC script because things like com-tab,
  func-tab,repeat-tab do what they're supposed to do.  Also the
  collapse/expansion of code blocks works fine.  But still no colorization.
 
  Maybe there's more work involved to get it working with the desktop.
 
  Pete
  lcSQL Software http://www.lcsql.com
  Home of lcStackBrowser http://www.lcsql.com/lcstackbrowser.html and
  SQLiteAdmin http://www.lcsql.com/sqliteadmin.html


 ___
 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: Is someone using Coda 2 with syntax highlighting for livecode server scripts?

2014-09-11 Thread stephen barncard
On Thu, Sep 11, 2014 at 9:37 AM, Peter Haworth p...@lcsql.com wrote:

 Finding a mechanism to get the Textmate file back into the script editor
 seems more challenging.  Maybe OSX folder actions and an Apple Script might
 be able to signal a plugin somehow.


that's a lot of work to avoid using the built-in editor in the IDE. I was
using GLX for a while which has great features and worked directly with
Livecode but it had too many bugs to chase down..and I was losing data
sometimes. Perhaps it is better now, I haven't tried for a couple of years.

*--*
*Stephen Barncard - San Francisco Ca. USA - Deeds Not Words*
___
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: Is someone using Coda 2 with syntax highlighting for livecode server scripts?

2014-09-11 Thread Peter Haworth
Yes, I've pretty much come to that conclusion.  I haven't used GLX for a
while either, I'll give it another try, I know Mark has put a LOT of work
into it.

Pete
lcSQL Software http://www.lcsql.com
Home of lcStackBrowser http://www.lcsql.com/lcstackbrowser.html and
SQLiteAdmin http://www.lcsql.com/sqliteadmin.html

On Thu, Sep 11, 2014 at 10:07 AM, stephen barncard 
stephenrevoluti...@barncard.com wrote:

 On Thu, Sep 11, 2014 at 9:37 AM, Peter Haworth p...@lcsql.com wrote:

  Finding a mechanism to get the Textmate file back into the script editor
  seems more challenging.  Maybe OSX folder actions and an Apple Script
 might
  be able to signal a plugin somehow.
 

 that's a lot of work to avoid using the built-in editor in the IDE. I was
 using GLX for a while which has great features and worked directly with
 Livecode but it had too many bugs to chase down..and I was losing data
 sometimes. Perhaps it is better now, I haven't tried for a couple of years.

 *--*
 *Stephen Barncard - San Francisco Ca. USA - Deeds Not Words*
 ___
 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: Is someone using Coda 2 with syntax highlighting for livecode server scripts?

2014-09-10 Thread Peter Haworth
On Tue, Sep 9, 2014 at 12:40 PM, stephen barncard 
stephenrevoluti...@barncard.com wrote:

 yeah they changed the specs and are even more confusing than the earlier
 ones. I love Coda but can't use it without the highlighting.  I went back
 to Textmate and the plugin that one can get from the RevIgniter site.


Does this only work in conjunction with revIgniter or can it be used for
desktop Livecode IDE scripts?  The feature list sounds great!

Pete
lcSQL Software http://www.lcsql.com
Home of lcStackBrowser http://www.lcsql.com/lcstackbrowser.html and
SQLiteAdmin http://www.lcsql.com/sqliteadmin.html
___
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: Is someone using Coda 2 with syntax highlighting for livecode server scripts?

2014-09-10 Thread stephen barncard
On Wed, Sep 10, 2014 at 10:01 AM, Peter Haworth p...@lcsql.com wrote:

 Does this only work in conjunction with revIgniter or can it be used for
 desktop Livecode IDE scripts?  The feature list sounds great!


the settings file need not have anything to do with Rev igniter - Ralf
Bitter generously made the settings available to all.

one would have to put  ?rev  somewhere on the page and set up file types
in the SFTP client to trigger the formatting properly.

I like it especially as it is happy with dark (light text against black)
themes.

I love being able to work 'live' on a site. Double click files in Transmit
or Cyberduck, edit, save, refresh browser, test, repeat. If one sets up the
file types in the FTP client, one can edit  and save any type file this
way.

Sublime Text also works with Ralf's file but it's predictive features are
really annoying and I went back to Textmate.  (Thanks to Andre Garzia for
his recommendation of  Textmate.)

If had the time to figure out how to make Coda 2 to work for me, I would,
but I find the specs for the new type  baffling. Before they 'updated'
their method,  I hacked a settings file for Director that almost worked
properly. Support for customizing is half-baked.

*--*
*Stephen Barncard - San Francisco Ca. USA - Deeds Not Words*
___
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: Is someone using Coda 2 with syntax highlighting for livecode server scripts?

2014-09-10 Thread Peter Haworth
Thanks Stephen.

I installed the TextMate bundles, created a new document using the iRev
bundle, then cut and pasted an LC script into the document. All the
Textmate features seem to work except that the text is not colorized for
the various language elements.  Sounds like this maybe has something to do
with the ?rev you mentioned?

Pete
lcSQL Software http://www.lcsql.com
Home of lcStackBrowser http://www.lcsql.com/lcstackbrowser.html and
SQLiteAdmin http://www.lcsql.com/sqliteadmin.html


On Wed, Sep 10, 2014 at 11:12 AM, stephen barncard 
stephenrevoluti...@barncard.com wrote:

 On Wed, Sep 10, 2014 at 10:01 AM, Peter Haworth p...@lcsql.com wrote:

  Does this only work in conjunction with revIgniter or can it be used for
  desktop Livecode IDE scripts?  The feature list sounds great!
 

 the settings file need not have anything to do with Rev igniter - Ralf
 Bitter generously made the settings available to all.

 one would have to put  ?rev  somewhere on the page and set up file types
 in the SFTP client to trigger the formatting properly.

 I like it especially as it is happy with dark (light text against black)
 themes.

 I love being able to work 'live' on a site. Double click files in Transmit
 or Cyberduck, edit, save, refresh browser, test, repeat. If one sets up the
 file types in the FTP client, one can edit  and save any type file this
 way.

 Sublime Text also works with Ralf's file but it's predictive features are
 really annoying and I went back to Textmate.  (Thanks to Andre Garzia for
 his recommendation of  Textmate.)

 If had the time to figure out how to make Coda 2 to work for me, I would,
 but I find the specs for the new type  baffling. Before they 'updated'
 their method,  I hacked a settings file for Director that almost worked
 properly. Support for customizing is half-baked.

 *--*
 *Stephen Barncard - San Francisco Ca. USA - Deeds Not Words*
 ___
 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: Is someone using Coda 2 with syntax highlighting for livecode server scripts?

2014-09-10 Thread stephen barncard
On Wed, Sep 10, 2014 at 11:27 AM, Peter Haworth p...@lcsql.com wrote:

 the various language elements.  Sounds like this maybe has something to do
 with the ?rev you mentioned?


don't know if it is recognized in a comment. Also make sure you associate
the file types with the editor.
online stacks can also be edited this way,  use .rev for stacks and
associate with the Livecode application.

*--*
*Stephen Barncard - San Francisco Ca. USA - Deeds Not Words*
___
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: Is someone using Coda 2 with syntax highlighting for livecode server scripts?

2014-09-10 Thread Peter Haworth
I created a simple text file with a .rev extension, then cut and pasted a
script into it from LC.  Saved the file, then opened it with TextMate.

I can tell it's recognized as an LC script because things like com-tab,
func-tab,repeat-tab do what they're supposed to do.  Also the
collapse/expansion of code blocks works fine.  But still no colorization.

Maybe there's more work involved to get it working with the desktop.

Pete
lcSQL Software http://www.lcsql.com
Home of lcStackBrowser http://www.lcsql.com/lcstackbrowser.html and
SQLiteAdmin http://www.lcsql.com/sqliteadmin.html


On Wed, Sep 10, 2014 at 12:30 PM, stephen barncard 
stephenrevoluti...@barncard.com wrote:

 On Wed, Sep 10, 2014 at 11:27 AM, Peter Haworth p...@lcsql.com wrote:

  the various language elements.  Sounds like this maybe has something to
 do
  with the ?rev you mentioned?
 

 don't know if it is recognized in a comment. Also make sure you associate
 the file types with the editor.
 online stacks can also be edited this way,  use .rev for stacks and
 associate with the Livecode application.

 *--*
 *Stephen Barncard - San Francisco Ca. USA - Deeds Not Words*
 ___
 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


Is someone using Coda 2 with syntax highlighting for livecode server scripts?

2014-09-09 Thread Matthias Rebbe | M-R-D
Hi,

i am using coda 2 for all of my livecode server editing, but as today i was not 
able to get syntax highligting working.

I downloaded the livecode-html mode from codingmonkeys.de and installed it. 
I can select the syntax mode, but i do not see any highlighting.
Am i doing something wrong?

Regards,

Matthias




___
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: Is someone using Coda 2 with syntax highlighting for livecode server scripts?

2014-09-09 Thread stephen barncard
On Tue, Sep 9, 2014 at 5:05 AM, Matthias Rebbe | M-R-D 
matthias_livecode_150...@m-r-d.de wrote:

 am using coda 2 for all of my livecode server editing, but as today i was
 not able to get syntax highligting working.


I have never been able to get this to work. could you post the correct link
for the download? - can't find it.

*--*
*Stephen Barncard - San Francisco Ca. USA - Deeds Not Words*
___
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: Is someone using Coda 2 with syntax highlighting for livecode server scripts?

2014-09-09 Thread Matthias Rebbe | M-R-D
Stephen,

i used the link you posted in July 2013 in an answer to my question about 
syntax highlighting in Coda 2.

Your link was http://subethaedit.net/modes.html

which is now redirected to 
http://www.codingmonkeys.de/subethaedit/old/modes.html

Regards,

Matthias


Am 09.09.2014 um 20:30 schrieb stephen barncard 
stephenrevoluti...@barncard.com:

 On Tue, Sep 9, 2014 at 5:05 AM, Matthias Rebbe | M-R-D 
 matthias_livecode_150...@m-r-d.de wrote:
 
 am using coda 2 for all of my livecode server editing, but as today i was
 not able to get syntax highligting working.
 
 
 I have never been able to get this to work. could you post the correct link
 for the download? - can't find it.
 
 *--*
 *Stephen Barncard - San Francisco Ca. USA - Deeds Not Words*
 ___
 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: Is someone using Coda 2 with syntax highlighting for livecode server scripts?

2014-09-09 Thread stephen barncard
On Tue, Sep 9, 2014 at 11:40 AM, Matthias Rebbe | M-R-D 
matthias_livecode_150...@m-r-d.de wrote:

 i used the link you posted in July 2013 in an answer to my question about
 syntax highlighting in Coda 2.


yeah they changed the specs and are even more confusing than the earlier
ones. I love Coda but can't use it without the highlighting.  I went back
to Textmate and the plugin that one can get from the RevIgniter site.

*--*
*Stephen Barncard - San Francisco Ca. USA - Deeds Not Words*
___
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