emacs-matlab/tests
Eric Ludlam 84dab231ea matlab.el:
(matlab-indent-function-body, matlab-functions-have-end):
Make safe local variable (needed in tests.)

(matlab-line-count-open-blocks, matlab-line-count-closed-blocks):
DELETE - replaced by ...
(matlab-line-count-block-change):  New.
Return + or - num based on num of opened or closed blocks that
don't cancel eachother out.  Cuts keyword search on line in half.

(matlab-next-line-indentation): Use `matlab-line-count-block-change'
replacing old calls.
Simplify how functions w/ no indent works.
Simplify indent based on indenting block starts and ends.
Simplify number of local variables.

tests/metest.el:
Add new test file for detect and indent.

tests/mfuncnofuncindent.m:
New file with functions with ends but no indent.
Setting w/ local variable.
Verify this mode works.
2021-04-02 22:28:15 -04:00
..
+eltest tests/+eltest/@EmacsTest/EmacsTest.m: 2019-11-29 08:53:41 -05:00
blocks.m matlab.el: 2021-03-26 18:52:45 -04:00
buggy.m matlab-shell.el: 2019-12-13 09:01:59 -05:00
cellscript.m Example cell script for testing matlab-shell. 2019-11-23 08:52:58 -05:00
complete.m matlab-complete.el: 2021-03-27 13:58:07 -04:00
continuations.m matlab-scan.el: 2021-04-02 20:29:53 -04:00
dbtester.m tests/dbtester.m 2019-12-08 22:04:45 -05:00
empty.m matlab-scan.el: 2021-03-26 21:05:11 -04:00
errexamples.shell.m matlab-shell.el: 2019-11-19 12:58:14 -05:00
expressions.m Added several more examples to test navigation with. 2019-09-29 19:31:31 -04:00
fontlock.m matlab.el: 2021-04-02 20:31:55 -04:00
indents.m matlab.el: 2021-04-02 20:55:46 -04:00
Makefile matlab.el: 2021-02-27 16:52:31 -05:00
mclass.m matlab-scan.el: 2021-03-26 21:05:11 -04:00
mclass_cont.m matlab.el: 2021-03-31 13:07:11 -04:00
metest.el matlab.el: 2021-04-02 22:28:15 -04:00
metest.sh Add tests to check sexp navigation with expressions.m, and new functions in metest.el. 2019-09-26 21:42:55 -04:00
mfuncends.m matlab-scan.el: 2021-03-26 21:05:11 -04:00
mfuncnoend.m matlab-scan.el: 2021-03-26 21:05:11 -04:00
mfuncnoendblock.m matlab-scan.el: 2021-03-26 21:05:11 -04:00
mfuncnoendindent.m matlab-scan.el: 2021-03-26 21:05:11 -04:00
mfuncnofuncindent.m matlab.el: 2021-04-02 22:28:15 -04:00
mfuncspacey.m matlab-scan.el: 2021-03-26 21:05:11 -04:00
mpclass.m matlab.el: Improve block comment handling. 2019-11-09 19:23:02 -05:00
mstest.el tests/mstest.el: 2019-12-21 18:04:05 -05:00
Project.ede Project.ede, Makefile: 2019-12-14 10:08:28 -05:00
stringtest.m matlab-scan.el: 2021-03-26 21:05:11 -04:00
syntaxerr.m tests/buggy.m 2019-11-17 16:04:52 -05:00
testeeval.m tests/testeeval.m: 2019-12-20 22:22:20 -05:00