Hi

I've come upon this thread as I also was struggling with finding an editor in 
Linux. I tried eclipse+ASDT, but the I couldn't get it working properly. Also 
eclipse is too heavy and slow for my tastes and I can't customise it to use 
makefiles for building.

I normally use Scite, an exellent, lightweight customisable graphical editor 
with support for many languages and code completion. Also it is available form 
the standard repositories on my Ubuntu installation.  Since Scite|Flash is 
available for Windows, I managed to use their configuration files to get the 
same features for the Linux scite.

First, download and install scite|flash for windows to get access to the files 
included in the installation. Copy the flash.properties flash.api and (not sure 
if these are necessary) API.custom API.flashcommClient API.flashcommServer from 
the windows installation to where your Linux installation lives. For me this is 
in /usr/share/scite.

Next edit your SciteGlobal.properties file (it might be possible and wiser to 
add this to the sciteuser.porperties instead(?)). Add the folowing:

import flash

Uncomment this if you want autocompletion:

autocompleteword.automatic=1

If you want to add flash the the language selection menu, add this to the 
"menu.language=\" entry:
Flash|as||\ 

With these changes you will have syntax highlighting, code folding and 
completion for actionscript.

Lastly, I prefer to use makfiles, so I edited the Commands section of my 
flash.properties file to contain:

command.compile.$(file.patterns.flash)=make 

and nothing else.

I hope this helps other linux users. Scite is really excellent; I use it for 
python and c coding (and now flash).

I haven't tested wheter it will interpret the compiler output errors to take 
you to the right line. But with a bit of tinkering I'm sure it's possible...

Cheers
Izak

       
---------------------------------
Get the free Yahoo! toolbar and rest assured with the added security of spyware 
protection. 
_______________________________________________
osflash mailing list
[email protected]
http://osflash.org/mailman/listinfo/osflash_osflash.org

Reply via email to