Hi Jose,

On Monday, 2013-11-11 13:22:03 +0000, Jose Guilherme Vanz wrote:

> I'll start to work in this bug
> <https://bugs.freedesktop.org/show_bug.cgi?id=43089#add_comment>. 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?

While it's true that Math uses EditEngine and EditView I'm not convinced
the actual change should be _inside_ those, EditEngine is already a hard
to handle beast and you'd have to add yet another mode to travel along
lines and paragraphs to highlight matching parentheses. Maybe the
ScInputHandler::UpdateParenthesis() code in
sc/source/ui/app/inputhdl.cxx might help as an inspiration how it could
be done from outside; if you could implement that inside EditEngine
without too much trouble that would be the best, otherwise I'd go for
a similar external solution. Fortunately a single Math edit usually
isn't overly long, otherwise obtaining and travelling the text whenever
the cursor stops moving would be too much overhead.

Or maybe someone has a good idea how to implement that in EditEngine? :-)

  Eike

-- 
LibreOffice Calc developer. Number formatter stricken i18n transpositionizer.
GPG key ID: 0x65632D3A - 2265 D7F3 A7B0 95CC 3918  630B 6A6C D5B7 6563 2D3A
Support the FSFE, care about Free Software! https://fsfe.org/support/?erack

Attachment: pgpXwWvU8MuMk.pgp
Description: PGP signature

_______________________________________________
LibreOffice mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/libreoffice

Reply via email to