macromedia flash actionscript scripting, php, remoting, webservices, c#, javascript
Another article in the series of scite-extending-articles. With this article i am trying to explain how to extend the editor that we get a little bit support for jsfl-files.
The first improvement for the scite-jsfl-support is generate an api-file for jsfl. With an configured api-file the scite-editor will autocomplete keywords and more important it will show us the parameters needed to call a method. This is an easy task, if we use the help_search_index.xml-file from the JavaScriptDictionary. You can download the JSAPI-Help-Update from the following page:
http://www.macromedia.com/support/documentation/en/flash/
To generate the api-file i used the following flash-script:
view
download
generated jsfl.api
Now that you have the needed api-file. You could edit your scite-properties-file:
api.*.jsfl=$(SciteDefaultHome)/jsfl.api
In this case the api-file must stay within the scite-installation-directory. If you done this you should get autocomplete for jsfl-keywords by pressing STRG+SPACE within any jsfl-file.
Maybe you would like to have support-for-context-sensitiv-help on the F1-Key. I have explained the needed steps in more detail within the following article:
Integrating context sensitiv help in scite editor
You will need the vbs-file for launching the jsfl-help:
view
download
To tell the scite-editor that it should use this file for the context-help within jsfl-files, we could add the following lines to scite-editors-properties-files:
command.help.*.jsfl="$(SciteDefaultHome)\jsfl-dictonary.vbs" "your path to the help-files" $(CurrentWord)
command.help.subsystem.*.jsfl=2
(Attention these are only two lines starting with command)
In this case the jsfl-dictonary would stay within scite-installation directory. You have to replace "your path to..." with the correct path. Afterwards the help should be usable with the F1-key.
Posted by hOk at July 12, 2004 02:49 PM
Comments (0)
|
You can use <code>code that should be highlightned</code> to highlight code! Optionally you can use the attribut language="php|perl|java" within the code tag, otherwise actionscript-highlightning will be used. |
