Commit Graph

7 Commits (a77472772f54c7c0e0eb1b7cd91613efe46fb147)

Author SHA1 Message Date
Sébastien Villemot f953374dba
More Unicode copyright symbol 2019-04-16 14:34:05 +02:00
Sébastien Villemot afde90a4a2
Emacs mode: fix bug introduced in bf60795e8 2019-03-19 14:51:53 +01:00
Sébastien Villemot bf60795e8e
Emacs mode improvements
- bugfix: in "model_name", the "model" part will no longer be colorized
- add colorization for on-the-fly type declarations
- no longer categorize dots as word constituents (they are not even symbol
  constituents)
- no longer categorize @ and # as symbol constituents
2019-03-06 18:43:04 +01:00
Sébastien Villemot a062de8e31
Emacs mode: add colorization for "@#include" and "@#includepath"
Also expand the TODO list

[skip ci]
2019-03-04 23:30:28 +01:00
Sébastien Villemot a7db127b74
Emacs mode improvements
* Font locking (colorization)
  - all keywords for statements and blocks are now recognized (but not option names)
  - MATLAB-style (single-quoted) strings now recognized
  - improve handling of macroprocessor (but multiline macro commands/exprs not
    yet working)
  - recognize mathematical functions and constants (nan and inf)
  - highlight the pound-sign for model-local variables

* Indentation
  - basic indentation within blocks (offset customizable through option)
  - more elaborate indentation (e.g. multiline equations or statements) not yet
    working
2019-03-01 18:40:47 +01:00
Sébastien Villemot 47c2fa3610 Use magic comments for autoloads in Emacs mode file
Also automatically trigger the mode for files with the .mod extension.
2017-07-25 16:26:21 +02:00
Sébastien Villemot 346f9ba25c Move more files to scripts/ and add it to the distribution 2012-06-08 16:29:11 +02:00