I'm having two problems with xquery editor indentation that I suspect are in some option somewhere but can't find them.
1) Tab size and spaces
Can I set the Tab key to use Spaces and specify how many ? e.g. make Tab use 2 space characters.
2) Matching indentation of {}
When I declare a function the closing } doesn't auto-match the indentation of the opening }, and to make it worse when I use Enter it does indent ... which makes it harder.
e.g. Typing
declare function local:test()<ENTER>
{<ENTER>
<TAB>foo()<ENTER>
}
Leaves me with
declare function local:test()
{
foo()
} ---> Indented here
Maybe a minor point but when I see Oxygen matching to the open { why wont it match the indentation? Is there a way to get it to ?
Thanks for any hints
----------------------------------------
David A. Lee