[OT] Atom Text Editor for Script Editiing - First Impressions
roger.e.eller at sealedair.com
Wed Sep 2 21:11:39 EDT 2015
The file extension I am using is .lc so I tried .irev and neither would
colorize. That's why I tried wrapping the code in <?lc ?>, which is fine
with me. I was previously using Notepad to edit .lc files.
On Sep 2, 2015 8:07 PM, "Kay C Lan" <lan.kc.macmail at gmail.com> wrote:
> sorry for the slow reply but my employer had the audacity to expect me to
> work for my pay ;-) Unfortunately that typically involves long periods of
> no or restricted internet.
> Anyway, thank you for your time to look into this.
> My set up is:
> Atom: 1.0.9
> Language-Livecode: 0.5.1
> revigniter-syntax: 0.1.2
> you say you restarted Atom and the snippet was there: Where? There are two
> locations for snippets in Atom as far as I'm aware:
> 1) Atom menu -> Open Your Snippets
> This is empty for me because I haven't added any snippets... yet.
> 2) Packages menu -> Snippets -> Available
> Of the ones listed I have:
> The inclusion of the 'handler' snippet suggests it's very much LiveCode
> orientated and I'm assuming part of the Language-Livecode/revigniter-syntax
> combination. But again, no 'switch' to be found.
> just to clarify, colour coding is based on document extension, so if you
> have a .txt file and just past in some LC handlers it will not be syntax
> coloured unless you manually select the language from the selection at the
> bottom right of the window, or you change the suffix to .lcb, or
> apparently, if you enclose your text inside <?lc ?>. If the file is
> suffixed .lcb it will open and automatically be colourised.
> Next on my list of Atom oddities. At the bottom right of the window, to the
> right of where you can select the language is a green box with a + in it,
> next to that it says +12643. I know the 12643 is the number of lines of
> code. In my TE it tells me lines, words and char count. The green + box
> implies that I can click on it and get other info like words and chars, but
> nothing happens. What does the green + box do and how do I get document
> word and char count?
> use-livecode mailing list
> use-livecode at lists.runrev.com
> Please visit this url to subscribe, unsubscribe and manage your
> subscription preferences:
More information about the use-livecode