[Libreoffice-bugs] [Bug 43089] Syntax highlighting for Math

bugzilla-daemon at bugs.documentfoundation.org bugzilla-daemon at bugs.documentfoundation.org
Mon Dec 14 14:14:59 UTC 2020


https://bugs.documentfoundation.org/show_bug.cgi?id=43089

--- Comment #14 from V Stuart Foote <vstuart.foote at utsa.edu> ---
(In reply to Sergey from comment #13)
> I have an idea how to solve the problem simply and with much greater effect:
> allow users to use theys favorite EXTERNAL text editor to edit formula, i.e.
> parameter "External math text editor path" in settings needed. It it empty -
> LibreOffice Math runs, else the LibreOffice (or LibreOffice Math without
> GUI) run this actions:
> 
> - create temp file XXXXX.eqn on trying to fornmula edit/create
> - run external text editor with this file as parameter
> - read file after editor closing and update formula object as it LibreOffice
> Math does
> 
> It's AUTOMATICALY enables features on user side:
> 
> - pair brackets highlighting
> - functions highlighting
> - more simple editing (change variable name with multicaret editing or vim
> commands, e.t.c.)
> - snippets (not only for math constructions, may be used to natural greek
> symbols writing - [a]+[Tab] -> α instead of %alpha - more simple reading)
> - macroses to text editing in some special cases
> 
> It seems to be a great effect for easy implementation - don't you think so?

This would require the "external" editor to prepare formula in viable MathML
that could be parsed back into ODF.  Sorry, but I don't see how this would
provide anything that can't already be accomplished adding logic to node
composition in the current sm formula editor module with more direct changes.

-- 
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/libreoffice-bugs/attachments/20201214/a36f5e7c/attachment-0001.htm>


More information about the Libreoffice-bugs mailing list