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


Hi,

On Mon, Nov 11, 2013 at 9:52 PM, Eike Rathke <erack@redhat.com> wrote:
Hi Jose,

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? :-)

I don't know about EditEngine but the most similar thing to this is
the visual basic editor. I would look at it how the syntax
highlighting is done there.

  Eike

Regards, Tomaž

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.