Community

    • Login
    • Search
    • Recent
    • Tags
    • Popular
    • Users
    • Groups
    • Search

    Function list with track of location

    Help wanted · · · – – – · · ·
    2
    4
    2573
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • Erik van den Berg
      Erik van den Berg last edited by

      I can create a new parser to understand my Dynamics NAV C/AL code. So far so good.

      So now I can see all my objects with code in the function list.
      Object A
      Object B
      Object C
      etc.

      But when I scroll (on the left) thru my file I would like the location “where I am” to be seen into the function list (on the right) too. Is this possible?

      Claudia Frank 1 Reply Last reply Reply Quote 0
      • Claudia Frank
        Claudia Frank @Erik van den Berg last edited by

        Hello Erik-van-den-Berg,

        afaik no, but would be a nice feature, indeed.

        Cheers
        Claudia

        1 Reply Last reply Reply Quote 0
        • Erik van den Berg
          Erik van den Berg last edited by

          is it possible to create a shortcut, for example ctrl-r which starts a plugin. The plugin refreshes the list and selects the current position in the list.

          will such a plugin be easy to create?

          Claudia Frank 1 Reply Last reply Reply Quote 0
          • Claudia Frank
            Claudia Frank @Erik van den Berg last edited by

            Hello Erik-van-den-Berg,

            no, I don’t think so, as the function list isn’t part of the plugin interface provided by npp.
            It is a plugin itself.

            I thought about a python script solution using some of the window api functions
            like findwindow, enumwindows etc. provided by windows os, but this would mean
            some need to install the win32 modules as well and messing around with these
            window handles might make npp unstable.

            So, no, sorry, I don’t see any easy solution yet.

            Cheers
            Claudia

            1 Reply Last reply Reply Quote 0
            • First post
              Last post
            Copyright © 2014 NodeBB Forums | Contributors