
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
;;
;; MODULE      : mma-indent.scm
  DESCRIPTION : Editing  programs
  COPYRIGHT    : ( C ) 2022  
;;
  This software falls under the GNU general public license version 3 or later .
;; It comes WITHOUT ANY WARRANTY WHATSOEVER. For details, see the file LICENSE
;; in the root directory or <-3.0.html>.
;;
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;

(texmacs-module (mma-edit)
  (:use (wolfram-indent)))

  ( tm - define (  - variant t forward ? )
;;   (:require (and (in-prog-mma?) (not (inside? 'session)))))

;; Enable highlighting matching brackets
(tm-define (notify-cursor-moved status)
  (:require prog-highlight-brackets?)
  (:mode in-prog-mma?)
  (select-brackets-after-movement "([{" ")]}" "\\"))

(tm-define (insert-return)
  (:mode in-prog-mma?)
  (insert-raw-return)
  (wolfram-indent))



 MODULE      : mma-indent.scm

 It comes WITHOUT ANY WARRANTY WHATSOEVER. For details, see the file LICENSE
 in the root directory or <-3.0.html>.


   (:require (and (in-prog-mma?) (not (inside? 'session)))))
 Enable highlighting matching brackets

  DESCRIPTION : Editing  programs
  COPYRIGHT    : ( C ) 2022  
  This software falls under the GNU general public license version 3 or later .

(texmacs-module (mma-edit)
  (:use (wolfram-indent)))

  ( tm - define (  - variant t forward ? )

(tm-define (notify-cursor-moved status)
  (:require prog-highlight-brackets?)
  (:mode in-prog-mma?)
  (select-brackets-after-movement "([{" ")]}" "\\"))

(tm-define (insert-return)
  (:mode in-prog-mma?)
  (insert-raw-return)
  (wolfram-indent))
