branch: externals/matlab-mode
commit 2b1032969e578d78637e80a70dd6f06dda364461
Author: John Ciolfi <[email protected]>
Commit: John Ciolfi <[email protected]>
matlab-ts-mode: added m-matrix align todo
---
matlab-ts-mode--ei.el | 4 ++++
1 file changed, 4 insertions(+)
diff --git a/matlab-ts-mode--ei.el b/matlab-ts-mode--ei.el
index 122dd42566..ebbde53204 100644
--- a/matlab-ts-mode--ei.el
+++ b/matlab-ts-mode--ei.el
@@ -758,6 +758,10 @@ Returns the line number after the ASSIGN-NODE in the
tmp-buf."
(forward-line n-levels))
end-linenum))
+;; TODO - investigate performance improvements for m-matrix line alignment.
+;; 1. Should we improve performance by leveraging prior line when TABing lines?
+;; 2. When indent-region is active, can we speedup calculation of column
widths?
+
(cl-defun matlab-ts-mode--ei-align-line-in-m-matrix (assign-node ei-info)
"Align current line with EI-INFO in a multi-line matrix of ASSIGN-NODE.
See `matlab-ts-mode--ei-get-new-line' for EI-INFO contents."