Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
[dash-dev] dash and adobe mxml editor

Hi List,

I just discovered the dash project and am really happy about it!
I'm a professional adobe flex developer and find the flex builder tool a bit lacking in some area's So i decided to add some functionality to the mxml editor via some scripts.

Flex builder is a eclipse plugin and has 2 main editors aboard:
- actionscript editor (ecmascript  language)
- mxml editor (mixed xml/ecmascript editor)

Now i experimented with some of the existing scripts and they work in the actionscript editor but
in the mxml editor i get null pointer exceptions.

it seems that the active editor can always be retrieved but in case of the .mxml editor
- editor.source
- editor.selectionRange
and all other properties of the editor give null pionter exceptions.

My question:
- is it that flexbuilder mxml editor is somehow closed or doesn't adhere to a common api?
	(in that case i may file a bug report / request to adobe)
- is it that this must be a bug in the dash project as all editors in eclipse must adhere to a common api ? (this is just wild quessing s i don't know much about eclipse internals)
	(in that case i may file a bug to the dash project)
- is it hat the dash project only supports some editors in eclipse but not all? (the mxml editor may be of a certain subtype... again wild guessing) (in that case i'll just start to cry because it would be SO NICE to have in the mxml editor)

Any help / insights would be highly appreciated!

Arnoud Bos


Back to the top