Libreoffice Math (Formula Editor) should have syntax highlighting

Bug #1698571 reported by Norbert on 2017-06-17
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
LibreOffice
Confirmed
Wishlist

Bug Description

Steps to reproduce:
1. Open LibreOffice Math
2. Type some formula
3. Save LibreOffice Math document.
4. Open saved document and try to edit it.

Expected results:
* LibreOffice Math highlights brackets and special words.

Actual results:
* LibreOffice Math does not highlight brackets and special words.

ProblemType: Bug
DistroRelease: Ubuntu 16.04
Package: libreoffice-math 1:5.1.6~rc2-0ubuntu1~xenial2
ProcVersionSignature: Ubuntu 4.4.0-79.100-generic 4.4.67
Uname: Linux 4.4.0-79-generic x86_64
ApportVersion: 2.20.1-0ubuntu2.6
Architecture: amd64
CurrentDesktop: MATE
Date: Sat Jun 17 22:06:52 2017
InstallationDate: Installed on 2014-02-07 (1225 days ago)
InstallationMedia: Ubuntu 12.04.4 LTS "Precise Pangolin" - Release amd64 (20140204)
SourcePackage: libreoffice
UpgradeStatus: Upgraded to xenial on 2017-04-15 (62 days ago)

Created attachment 53686
How syntax highlighting should work

Hi there!

It would be great to have syntax highlighting in Math...
Everything from importance is in the .odt file.

Florian

Complety right.
Even Gedit use sintax hilight.

It is very hard when you have a lot og {{{((( to understand where you are in the formula and when to close a braket/graph

Could help a lot in formula writing

Thank you. BTW; changed version.. and Status to NEW

I'm taking a look the bugs formula editor, to classify then and after try to solve them. I downloaded the file attachment and there are some germany comments on it. Is something relevant?

(In reply to comment #3)
> I'm taking a look the bugs formula editor, to classify then and after try to
> solve them. I downloaded the file attachment and there are some germany
> comments on it. Is something relevant?

Well, I used google translate. So, sorry disturb you.

I'll start to work in this bug. Do you have some code pointers?
I was taking a look on EditEngine and EditView sources. I think we have to implement this on these classes, right?

No idea (regarding codepointer) Anyone?
Feel free to ask @ libreoffice-dev IRC channel @ freenode

Syntax highlighting and bracket matching will be very useful.

Norbert (nrbrtx) wrote :
Changed in df-libreoffice:
importance: Unknown → Wishlist
status: Unknown → Confirmed
Olivier Tilloy (osomon) wrote :

Removing the libreoffice source package task, as this is an upstream feature request, which when implemented will make its way to the ubuntu packages without any additional work needed on the packaging side.

no longer affects: libreoffice (Ubuntu)

Bug exists in

Version: 5.4.1.2
Build ID: 1:5.4.1~rc2-0ubuntu0.16.04.1~lo0
CPU threads: 4; OS: Linux 4.4; UI render: default; VCL: gtk2;
Locale: en-US (en_US.UTF-8); Calc: group

Ubuntu 16.04 LTS with PPA.

On Ubuntu i

Olivier Tilloy (osomon) on 2018-02-23
no longer affects: libreoffice (Ubuntu)

Would be cool to have highlight of operands/functions in Formula editor

To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.