Menu

Function List Help needed

Nov.Ice
2007-10-24
2012-11-14
  • Nov.Ice

    Nov.Ice - 2007-10-24

    hello

    already posted this in function list forum, withou reply surely i will get help here... ;-)

    we use xml to create our program. an we also have functions defined in that xml:

    e.g.:

    <FUNCTIONS>
    <FUNCTION name="load_file">
    ...
    </FUNCTION>

    <FUNCTION name="save_file">
    ...
    </FUNCTION>

    </FUNCTIONS>

    functions "load_file" and "save_file". and FUNCTIONS is the root tag.
    i really tried to teach the function list how to find them... didn't figure it out.

    Can someone help me please?

    kind regards
    nov_ice

     
    • Nov.Ice

      Nov.Ice - 2007-10-27

      man, that worked pretty good. i think i got now... finally...

      big thanks!!
      nov_ice

       
    • Nobody/Anonymous

      Hello,

      Sorry that I didn't see it. What did you tried until now? Can you give me your current rules?
      Which version do you use of FunctionList?

      Best Regards
      Jens

       
    • Nov.Ice

      Nov.Ice - 2007-10-24

      hi,

      I'm using function list 1.2 but switching to 2.0 would be no problem...

      my last try was like this

      Syntax P1.1.1=\&lt;FUNCTION\&gt;
      Syntax P2.1.1=\&lt;/FUNCTION\&gt;
      Syntax P3.1.1=name=\&amp;[a-zA-Z0-9_]+\&amp;

      regards
      nov_ice

       
    • Nobody/Anonymous

      At first you should use perl like regular expressions, but with the restrictions of scintilla. Therefore have a look into the help dialog. There is a link to the scintilla regex documentation.

      Here an example (there is no garantee for work):

      Syntax P1.1.1=<FUNCTION[ \t]+name=\"
      Syntax P2.1.1=\">
      Syntax P3.1.1=[a-zA-Z0-9_]+

      Best Regards
      Jens