Wow that's interesting, thanks for noticing!

I didn't catch this because I myself use tree-sitter for syntax highlighting and don't use the syntax highlighting from matlab-mode.

 I have a feeling that something got mixed up when I refreshed the matlab-load.el - I'd recommend retrying by using the matlab-load.el from master to see if that's the issue. I'll also look into this today.

Thanks!
Nidish

On 5/16/24 10:36, Uwe Brauer wrote:
"NNB" == Nidish Narayanaa Balaji <nidish.bal...@ila.uni-stuttgart.de> writes:
I just finished the edits and pushed them.
1. I've defined a 'matlab-cell-shell-run-cell' function in
    matlab-cell.el which basically calls 'matlab-shell-run-region' from
    matlab-shell.el with the appropriate bounds of the current point.
2. I also simplified the cellbreak regexp to: (rx line-start (* space)
    (group "%%" (* (not (any "\n"))) line-end))
    This evaluates to: "^[[:space:]]*\\(%%.*$\\)"
    As mentioned before, I've removed the requirement of having a
    blank-space character after "%%" since I think this is more intuitive.
3. I also refreshed 'matlab-load.el'.
Hi

I sometimes mix functions with scripts (that uses cell).

I noticed that the font-lock for functions does not work anymore using
your branch, even with matlab-cell-mode disabled and even in a function
without cell as the attached screenshots shows.

I also attach the screenshot with the fontlocking from master.

Not sure who is the culprit here.


Uwe




_______________________________________________
Matlab-emacs-discuss mailing list
Matlab-emacs-discuss@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/matlab-emacs-discuss

Reply via email to