Loading ...
Sorry, an error occurred while loading the content.

2003Re: [jasspa] java indent and highligting

Expand Messages
  • Bryan Schofield
    Oct 9 8:21 AM
      Perhaps you add in a hook to allow a function to specified as the last
      argument in an indent rule. This function would return an indicator on
      whether the indent rule should actually be applied. The function could
      be passed the line number and do whatever language-specific analysis
      is required.

      indent .indent.java c "if.*)\\s*$" t java-check-if

      define-macro java-check-if
      ; @1 = line number
      ; ...
      set-variable $result true
      !emacro
    • Show all 29 messages in this topic