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


Hi Joel,

On Wed, 2012-05-30 at 08:46 -0700, Joel Madero wrote:
I'll look into that second src file, I wonder how I missed it.

        I imagine it is the ~ which tags an accelerator (rendering the next
character with an underline).

 What grep command did you use and in what version of LO ?

        I use git grep, but Noel prolly uses something better.

        Incidentally, this reminds me of an easy-hack that would be wonderful
if someone could do it.

        I'd love to have a small web service that goes from UI string to source
code file. That of course would need to deal with the accelerator
annoyances.

        It would need to find the UI resource name - and (with that) could
easily backend that onto http://opengrok.libreoffice.org/

        I guess building an index of string -> 'FOO_MAGIC_ID_NAME' is what is
needed - should be a small python script or somesuch. Kohei wrote a nice
python .src file parser in the past which is here:

http://cgit.freedesktop.org/libreoffice/build/tree/scratch/layout-src2xml/source/srcparser.py?h=libreoffice-3-4

        If no-one wants to take it, I'll create an easy-hack I guess :-)

        Great to have you around Joel - thanks for jumping in and helping out !

        Regards,

                Michael.

-- 
michael.meeks@suse.com  <><, Pseudo Engineer, itinerant idiot


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.