color coding for known types, lisp, js, css etc

This commit is contained in:
David Botton 2022-07-19 18:54:30 -04:00
parent 5906d9b7df
commit ca2fdd3585

View file

@ -2043,9 +2043,11 @@ of controls and double click to select control."
(lambda (fname)
(window-focus win)
(when fname
(when (or (equalp (pathname-type fname) "lisp")
(equalp (pathname-type fname) "asd"))
(setf (clog-ace:mode ace) "ace/mode/lisp"))
(if (or (equalp (pathname-type fname) "lisp")
(equalp (pathname-type fname) "asd"))
(setf (clog-ace:mode ace) "ace/mode/lisp")
(setf (clog-ace:mode ace)
(clog-ace:get-mode-from-extension ace fname)))
(setf file-name fname)
(setf (window-title win) fname)
(setf (clog-ace:text-value ace)