Menu

Suggestions for auto compl for user def lang

2007-06-13
2012-11-13
  • Nobody/Anonymous

    Hello, and thank you for providing me with such a great tool, for free.

    I have some questions though about the auto completion and how it relates to the .api-file for my user defined language. I am currently using N++ for coding proc code for Uniface (http://www.compuware.com/products/uniface/ for the interested ones out there), and while the syntax highlight works like a charm, the auto completion doesn't work equally as charmy. I have an api-file that looks like this (I only show a little pice of it, there ar more <>-words, $-words and so on..):

    <false>
    <true>
    $acterror
    $applname
    $batch
    $char
    $check
    $clock
    $componentname
    activate
    addmonths
    apexit
    apstart
    askmess

    The problem I get is that the only words that work properly for auto completion is the ones withought <- or $-signs. Fore exmple if I write $, andt then hit ctrl+space I get the first $-word in the auto completion, but if I then write and "a" so the text read $a, the auto completions "forgets" the $-sign, and directly shows suggested word "activate" instead. Is this a bug, or is there any changes I can do to my .api-file to get it to work?

    /Sven Hedqvist

     
    • redspecs

      redspecs - 2007-08-15

      Could you solve problems with <>-words and $-words?
      Notepad++ is my favorite editor.
      Since short time I work in the development of uniface 7.2.
      I would be pleased, if you could send to me your syntax file and the API file to my email address.
      Thank you