Variable: c-objc-method-arg-min-delta-to-bracket
c-objc-method-arg-min-delta-to-bracket is a customizable variable
defined in cc-vars.el.gz.
Value
2
Documentation
Minimum number of chars to the opening bracket.
Consider this ObjC snippet:
[foo blahBlah: fred
|<-x->|barBaz: barney
If x is less than this number then c-lineup-ObjC-method-call-colons
will defer the indentation decision to the next function. By default
this is c-lineup-ObjC-method-call, which would align it like:
[foo blahBlahBlah: fred
thisIsTooDamnLong: barney
This behavior can be overridden by customizing the indentation of
objc-method-call-cont in the "objc" style.
Source Code
;; Defined in /usr/src/emacs/lisp/progmodes/cc-vars.el.gz
(defcustom c-objc-method-arg-min-delta-to-bracket 2
"Minimum number of chars to the opening bracket.
Consider this ObjC snippet:
[foo blahBlah: fred
|<-x->|barBaz: barney
If `x' is less than this number then `c-lineup-ObjC-method-call-colons'
will defer the indentation decision to the next function. By default
this is `c-lineup-ObjC-method-call', which would align it like:
[foo blahBlahBlah: fred
thisIsTooDamnLong: barney
This behavior can be overridden by customizing the indentation of
`objc-method-call-cont' in the \"objc\" style."
:type 'integer
:group 'c)