Commit Graph

67 Commits (master)

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 54335242c9
Update uncrustify configuration for version 0.64 2019-01-04 16:32:05 +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
Stéphane Adjemian (Charybdis) 33b09aa9e8 Updated LAST_UPDATE_COMMIT variable. 2017-05-18 18:39:02 +02:00
Stéphane Adjemian (Charybdis) 2f07c6f1db Updated indentation script for c/h/cc/hh files.
+ set utf-8 encoding.
     + delete trailing whitespaces.
2017-05-16 16:28:57 +02:00
Stéphane Adjemian (Charybdis) 3d91cf9716 Updated indentation script for matlab files.
+ set utf-8 encoding.
 + delete trailing whitespaces.
2017-05-16 14:55:56 +02:00
Stéphane Adjemian (Charybdis) a4f563f99f Updated LAST_UPDATE_COMMIT variable. 2017-05-16 14:45:24 +02:00
Sébastien Villemot dd1e19ca36 Make scripts work when run from other directories. 2014-07-31 15:45:15 +02:00
Sébastien Villemot 1d3bca8ad3 Push scripts for reindenting and for fixing copyright years. 2014-07-31 15:29:40 +02:00
Houtan Bastani 574472a288 script to find differences in matlab functions between one commit and another. Fixes ticket 228 2012-06-11 12:27:40 +02:00
Houtan Bastani 45988e258a add comment/copyright to script 2012-06-08 20:01:31 +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
Houtan Bastani 622bfcd0c8 python script to compare matlab function names to their filenames, reporting those that differ 2012-06-08 16:25:25 +02:00