Facts

The plaintiff (appellant), represented by a lawyer, filed two actions against the defendant (respondent) with the Bezirksgericht Aarau on 28 April 2010 for payment of fees under a legal mandate, in the total amount of CHF 35'934.85 plus interest. The proceedings were joined on 25 October 2010.

By judgment of 18 April 2013, the district court partially upheld the action and ordered the defendant to pay CHF 19'821.75 plus interest. The court costs of CHF 4'830.-- were allocated 55% to the defendant and 45% to the plaintiff. The defendant was further ordered to pay the plaintiff one tenth of his party costs of CHF 16'314.25; the defendant's own party costs were imposed on her, subject to the reservation of free legal aid.

The plaintiff appealed to the Obergericht of the Canton of Aargau and requested, among other things, that the court and party costs be imposed on the defendant. In his statement of appeal (no. 12.2) he argued in the alternative that the first-instance allocation of costs should in any event be corrected in his favour, by allocating the costs "increasingly" to the defendant, since she had complicated the proceedings through unnecessary submissions and had failed without excuse to attend a main hearing.

The defendant also appealed. By decision of 18 November 2014, the Obergericht did not entertain the defendant's appeal because she failed to pay the advance on costs. The plaintiff's appeal was dismissed. The second-instance court costs of CHF 2'500.-- were borne equally by the parties; the plaintiff was awarded party compensation of CHF 613.--; otherwise the party costs were set off against each other.

The plaintiff filed a civil law appeal with the Federal Supreme Court and essentially requested the annulment of the Obergericht's judgment dismissing his appeal, a new allocation of the first-instance costs and party compensation in his favour, a new allocation of the second-instance costs, and an award of second-instance party compensation of CHF 1'000.--. The lower court requested dismissal; the respondent made no application. An appeal by the defendant was declared inadmissible by judgment 4A_29/2015 of 2 February 2015.

Considerations

The amount in dispute is determined by the claims that remained contested before the lower court (Art. 51 para. 1 lit. a FSCA). Even where only the costs decision is challenged, the amount in dispute of the principal action is decisive (BGE 137 III 47 E. 1.2.2). The minimum amount in dispute under Art. 74 para. 1 lit. b FSCA of CHF 35'934.85 is reached, so the civil law appeal is admissible. The subsidiary constitutional appeal is inadmissible (Art. 113 FSCA). Insofar as an amendment of the lower court's costs is sought regardless of the outcome of the proceedings, there is no reasoning (Art. 42 paras. 1 and 2 FSCA), so no ruling is made on that point.

The appellant complains of a violation of the right to be heard, since the lower court did not address his alternative request concerning the first-instance allocation of costs. The right to be heard (Art. 29 para. 2 Cst.) obliges the authority to give reasons for its decision, stating the essential considerations (BGE 139 V 496 E. 5.1). As the appeal on the merits was dismissed, the question of the allocation of costs was decisive. The lower court's judgment contains no discussion of it, so the reasoning is incomplete on a point material to the decision and infringes the right to be heard.

However, a violation of the right to be heard may be cured if the affected party can state its position before an appellate authority with full powers of review and if remittal would lead to an empty formality (BGE 137 I 195 E. 2.3). This is also possible in federal proceedings, provided the Federal Supreme Court has full power of review on all questions of law and no open questions of fact remain. The lower court provided reasoning in its response to the appeal, on which the appellant was able to comment extensively in his reply. The facts material to the decision are undisputed, so the violation of the right to be heard is considered cured and remittal is dispensed with.

The appellant argues that the lower court engaged in excessive formalism (Art. 29 para. 1 Cst., Art. 6 para. 1 ECHR) by considering his request insufficiently quantified. Under the case law on the CPC (Art. 405 para. 1 CPC), the appeal request…