Date: prev next · Thread: first prev next last
2013 Archives by date, by thread · List index


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: pgpfDJB662pFm.pgp
Description: PGP signature


Context


Privacy Policy | Impressum (Legal Info) | Copyright information: Unless otherwise specified, all text and images on this website are licensed under the Creative Commons Attribution-Share Alike 3.0 License. This does not include the source code of LibreOffice, which is licensed under the Mozilla Public License (MPLv2). "LibreOffice" and "The Document Foundation" are registered trademarks of their corresponding registered owners or are in actual use as trademarks in one or more countries. Their respective logos and icons are also subject to international copyright laws. Use thereof is explained in our trademark policy.