Is there an inbuilt function to write
or should I use two text objects, ( and ) ?
There is indeed no built-in feature for adding single parentheses to notes at either end of a range. It would be a useful capability for Dorico to have at some stage, certainly.