Community
    • Login

    Auto-Completion Is this Legal?

    Scheduled Pinned Locked Moved Help wanted · · · – – – · · ·
    35 Posts 3 Posters 9.6k Views
    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.
    • Lycan ThropeL
      Lycan Thrope @Lycan Thrope
      last edited by

      @lycan-thrope
      I’ve spell-checked the code by cutting and pasting into a spellchecking editor. Nothing seemed to stick out.

      I then thought it might be the angle brackets that is in the “text sections” but in the test file, they work also…even if the FunctionList doesn’t show them, I suspect, due to the XML having a reserved word on those (<>).

      Oddly the same for the duplicate words. In my test file, they worked just fine. Then, I thought, hmm…maybe the “desc” are too long violating the limit of 2,043 bytes for the entire Function, which, unless I’m mistaken, though some are verbose, none seems to exceed the limit The max I have is 816 characters for an overload of 3 large options like this:

      	   <KeyWord name="KEYMATCH" func="yes">
      			<Overload retVal="{lVal}" descr="Xbase - 
      		Indicates if a specified expression is found in an index. Using <var exp> only">
      				<Param name="<var exp>"/>
      			</Overload>
      			<Overload retVal="{lVal}" descr="Xbase - 
      		Indicates if a specified expression is found in an index. Using <index position expN>">
      				<Param name="<var exp>"/>
      				<Param name="[<index position expN>]"/>
      				<Param name="<tag expN>"/>
      				<Param name="[<alias>]]"/>
      			</Overload>
      			<Overload retVal="{lVal}" descr="Xbase - 
      		Indicates if a specified expression is found in an index. Using [<.mdx filename expC>] ">
      				<Param name="var exp"/>
      				<Param name="[<.mdx filename expC>]"/>
      				<Param name="<tag expN>"/>
      				<Param name="[<alias>]]"/>
      			</Overload>
      		</KeyWord>
      
      • as I understand that the spaces count towards the byte count at 1 char per byte, and even with CR/LF character counts that should be well below the 2,043 limit.

      So I’m still searching for the reason it’s not working. I will continue to look at the consolidation of the keyword/function duplicates, but I don’t think that’s the culprit either. Just for giggles, here is the test file I have so far that works, followed by the one that doesn’t, and it’s quite large, something like 1200 lines, with most of them further down, just the skeletons with the function names in the “name=” spot for it.

      I had tried posting the code for the working and non-working files but found out what the posting limit is. :(

      Lee

      Lycan ThropeL 1 Reply Last reply Reply Quote 0
      • Lycan ThropeL
        Lycan Thrope @Lycan Thrope
        last edited by

        @lycan-thrope
        Incidentally, I tried the XML Tools plugin, ran a check and it was choking on the, aforementioned “<” and “>” characters saying they weren’t legal. They also, apparently, keep the FunctionList from seeing the parameters inside them as this screenshot shows:
        FLLTGTSIGNISSUES.PNG
        The opening bracket shows on the left, but nothing is after it, as the function parameters on the right shows the < and >.

        However, in the following screenshot, the testfile that has the same text shows the same function hint on screen, including the < and >:

        AutoAcopyShow.PNG

        So, that shouldn’t be an issue, even if the XML Tools stopped at the first < insisting it’s not legal, even though the parser for the test file, obviously sees it, interprets it properly, and displays it.

        The angle brackets are being used since it is how the dBASE syntax shows “required” parameters and I’m trying to stay consistent with the currently known way of presenting the syntax in the hints. So that shouldn’t be the reason I can’t get my production file working. I do know, that the file takes a little while to load, but heck, all the autocompletion files take a little while to load unless they’re really short, which is why I was wondering if the size and large text descriptions are hitting some kind of a limit wall I’m not aware of. My largest function hint with 3 overloads and all the white space is 1,013 bytes/characters long, so it shouldn’t be hitting the 2,043 byte limit.

        I’ll still look for what might be a mispelling somewhere, but I’m not seeing, but am just posting the progress in case these are limiting factors that I’m just not aware of.

        Thanks for any help you may think of.

        Lee

        Lycan ThropeL 1 Reply Last reply Reply Quote 0
        • Lycan ThropeL
          Lycan Thrope @Lycan Thrope
          last edited by

          @lycan-thrope
          Let’s see if this survives. This is the plain bones autocompletion file using only keywords and no functions, and it doesn’t work. I’ve sorted it Lexicographically ascending, and it is not case sensitive:

          <?xml version="1.0" encoding="Windows-1252" ?>
          <NotepadPlus>
             <AutoComplete language="dBASEPlus">
                 <Environment ignoreCase="yes" startFunc="(" stopFunc=")" paramSeparator="," terminal="" additionalWordChar = ""/>
          <KeyWord name="#define"/>
          <KeyWord name="#else"/>
          <KeyWord name="#endif"/>
          <KeyWord name="#if"/>
          <KeyWord name="#ifdef"/>
          <KeyWord name="#ifndef"/>
          <KeyWord name="#include"/>
          <KeyWord name="#pragma"/>
          <KeyWord name="#undef"/>
          <KeyWord name="ABS"/>
          <KeyWord name="ACCESS"/>
          <KeyWord name="ACOPY"/>
          <KeyWord name="ACOS"/>
          <KeyWord name="ADEL"/>
          <KeyWord name="ADIR"/>
          <KeyWord name="ADIREXT"/>
          <KeyWord name="AELEMENT"/>
          <KeyWord name="AFIELDS"/>
          <KeyWord name="AFILL"/>
          <KeyWord name="AGROW"/>
          <KeyWord name="AINS"/>
          <KeyWord name="ALEN"/>
          <KeyWord name="ALIAS"/>
          <KeyWord name="ALTER&#xa0;TABLE"/>
          <KeyWord name="ANSI"/>
          <KeyWord name="APPEND"/>
          <KeyWord name="APPEND&#xa0;AUTOMEM"/>
          <KeyWord name="APPEND&#xa0;FROM"/>
          <KeyWord name="APPEND&#xa0;FROM&#xa0;ARRAY"/>
          <KeyWord name="APPEND&#xa0;MEMO"/>
          <KeyWord name="ARESIZE"/>
          <KeyWord name="ARGCOUNT"/>
          <KeyWord name="ARGVECTOR"/>
          <KeyWord name="ASC"/>
          <KeyWord name="ASCAN"/>
          <KeyWord name="ASIN"/>
          <KeyWord name="ASORT"/>
          <KeyWord name="ASUBSCRIPT"/>
          <KeyWord name="AT"/>
          <KeyWord name="ATAN"/>
          <KeyWord name="ATN2"/>
          <KeyWord name="AVERAGE"/>
          <KeyWord name="AVG"/>
          <KeyWord name="BEGINTRANS"/>
          <KeyWord name="BINTYPE"/>
          <KeyWord name="BITAND"/>
          <KeyWord name="BITLSHIFT"/>
          <KeyWord name="BITNOT"/>
          <KeyWord name="BITOR"/>
          <KeyWord name="BITRSHIFT"/>
          <KeyWord name="BITSET"/>
          <KeyWord name="BITXOR"/>
          <KeyWord name="BITZRSHIFT"/>
          <KeyWord name="BLANK"/>
          <KeyWord name="BOF"/>
          <KeyWord name="BOOKMARK"/>
          <KeyWord name="BROWSE"/>
          <KeyWord name="CALCULATE"/>
          <KeyWord name="CALLBACK"/>
          <KeyWord name="CANCEL"/>
          <KeyWord name="CATCH"/>
          <KeyWord name="CD"/>
          <KeyWord name="CDOW"/>
          <KeyWord name="CEILING"/>
          <KeyWord name="CENTER"/>
          <KeyWord name="CERROR"/>
          <KeyWord name="CHANGE"/>
          <KeyWord name="CHARSET"/>
          <KeyWord name="CHOOSEPRINTER"/>
          <KeyWord name="CHR"/>
          <KeyWord name="CLASS"/>
          <KeyWord name="CLEAR"/>
          <KeyWord name="CLEAR&#xa0;ALL"/>
          <KeyWord name="CLEAR&#xa0;AUTOMEM"/>
          <KeyWord name="CLEAR&#xa0;FIELDS"/>
          <KeyWord name="CLEAR&#xa0;MEMORY"/>
          <KeyWord name="CLEAR&#xa0;PROGRAM"/>
          <KeyWord name="CLOSE&#xa0;ALTERNATE"/>
          <KeyWord name="CLOSE&#xa0;DATABASES"/>
          <KeyWord name="CLOSE&#xa0;INDEXES"/>
          <KeyWord name="CLOSE&#xa0;PRINTER"/>
          <KeyWord name="CLOSE&#xa0;TABLES"/>
          <KeyWord name="CMONTH"/>
          <KeyWord name="COMMIT"/>
          <KeyWord name="CONTINUE"/>
          <KeyWord name="COPY"/>
          <KeyWord name="COPY&#xa0;BINARY"/>
          <KeyWord name="COPY&#xa0;FILE"/>
          <KeyWord name="COPY&#xa0;MEMO"/>
          <KeyWord name="COPY&#xa0;STRUCTURE"/>
          <KeyWord name="COPY&#xa0;STRUCTURE&#xa0;EXTENDED"/>
          <KeyWord name="COPY&#xa0;TABLE"/>
          <KeyWord name="COPY&#xa0;TO&#xa0;ARRAY"/>
          <KeyWord name="COS"/>
          <KeyWord name="COUNT"/>
          <KeyWord name="COUNT"/>
          <KeyWord name="CREATE&#xa0;INDEX"/>
          <KeyWord name="CREATE&#xa0;SESSION"/>
          <KeyWord name="CREATE&#xa0;TABLE"/>
          <KeyWord name="CREATE...FROM"/>
          <KeyWord name="CREATE...STRUCTURE&#xa0;EXTENDED"/>
          <KeyWord name="CTOD"/>
          <KeyWord name="CTODT"/>
          <KeyWord name="CTOT"/>
          <KeyWord name="DATABASE"/>
          <KeyWord name="DATE"/>
          <KeyWord name="DATETIME"/>
          <KeyWord name="DAY"/>
          <KeyWord name="DBASE_SUPPRESS_STARTUP_DIALOGS"/>
          <KeyWord name="DBERROR"/>
          <KeyWord name="DBF"/>
          <KeyWord name="DBMESSAGE"/>
          <KeyWord name="DECLARE"/>
          <KeyWord name="DEFINE"/>
          <KeyWord name="DELETE"/>
          <KeyWord name="DELETE&#xa0;FILE"/>
          <KeyWord name="DELETE&#xa0;TABLE"/>
          <KeyWord name="DELETE&#xa0;TAG"/>
          <KeyWord name="DELETED"/>
          <KeyWord name="DESCENDING"/>
          <KeyWord name="DIFFERENCE"/>
          <KeyWord name="DIR "/>
          <KeyWord name="DISKSPACE"/>
          <KeyWord name="DISPLAY"/>
          <KeyWord name="DISPLAY&#xa0;FILES"/>
          <KeyWord name="DMY"/>
          <KeyWord name="DO"/>
          <KeyWord name="DO&#xa0;CASE"/>
          <KeyWord name="DO&#xa0;WHILE"/>
          <KeyWord name="DO...UNTIL"/>
          <KeyWord name="DOS "/>
          <KeyWord name="DOW"/>
          <KeyWord name="DROP&#xa0;INDEX"/>
          <KeyWord name="DROP&#xa0;TABLE"/>
          <KeyWord name="DTOC"/>
          <KeyWord name="DTODT"/>
          <KeyWord name="DTOR"/>
          <KeyWord name="DTOS"/>
          <KeyWord name="DTTOC"/>
          <KeyWord name="DTTOD"/>
          <KeyWord name="DTTOT"/>
          <KeyWord name="EDIT"/>
          <KeyWord name="EJECT"/>
          <KeyWord name="EJECTPAGE"/>
          <KeyWord name="ELAPSED"/>
          <KeyWord name="ELSE"/>
          <KeyWord name="ELSEIF"/>
          <KeyWord name="EMPTY"/>
          <KeyWord name="ENDFOR"/>
          <KeyWord name="ENDIF"/>
          <KeyWord name="ENDPRINTJOB"/>
          <KeyWord name="ENDTRY"/>
          <KeyWord name="ENUMERATE"/>
          <KeyWord name="EOF"/>
          <KeyWord name="ERASE"/>
          <KeyWord name="ERROR"/>
          <KeyWord name="EXIT"/>
          <KeyWord name="EXP"/>
          <KeyWord name="EXTERN"/>
          <KeyWord name="EXTRACT"/>
          <KeyWord name="FDECIMAL"/>
          <KeyWord name="FIELD"/>
          <KeyWord name="FILE"/>
          <KeyWord name="FINALLY"/>
          <KeyWord name="FINDINSTANCE"/>
          <KeyWord name="FLDCOUNT"/>
          <KeyWord name="FLDLIST"/>
          <KeyWord name="FLENGTH"/>
          <KeyWord name="FLOCK"/>
          <KeyWord name="FLOOR"/>
          <KeyWord name="FLUSH"/>
          <KeyWord name="FNAMEMAX"/>
          <KeyWord name="FOR"/>
          <KeyWord name="FOR"/>
          <KeyWord name="FOUND"/>
          <KeyWord name="FROM"/>
          <KeyWord name="FUNCTION"/>
          <KeyWord name="FUNIQUE"/>
          <KeyWord name="FV"/>
          <KeyWord name="GENERATE"/>
          <KeyWord name="GETCALLADDRESS"/>
          <KeyWord name="GETDIRECTORY"/>
          <KeyWord name="GETENV"/>
          <KeyWord name="GETFILE"/>
          <KeyWord name="GO"/>
          <KeyWord name="GROUP&#xa0;BY"/>
          <KeyWord name="HAVING"/>
          <KeyWord name="HOME"/>
          <KeyWord name="HTOI"/>
          <KeyWord name="ID"/>
          <KeyWord name="IF"/>
          <KeyWord name="IIF"/>
          <KeyWord name="INDEX"/>
          <KeyWord name="INSERT"/>
          <KeyWord name="INT"/>
          <KeyWord name="ISALPHA"/>
          <KeyWord name="ISBLANK"/>
          <KeyWord name="ISLOWER"/>
          <KeyWord name="ISTABLE"/>
          <KeyWord name="ISUPPER"/>
          <KeyWord name="ITOH"/>
          <KeyWord name="KEY"/>
          <KeyWord name="KEYMATCH"/>
          <KeyWord name="LDRIVER"/>
          <KeyWord name="LEFT"/>
          <KeyWord name="LEN"/>
          <KeyWord name="LENNUM"/>
          <KeyWord name="LIKE"/>
          <KeyWord name="LINENO"/>
          <KeyWord name="LIST"/>
          <KeyWord name="LIST&#xa0;FILES"/>
          <KeyWord name="LKSYS"/>
          <KeyWord name="LOAD&#xa0;DLL"/>
          <KeyWord name="LOCAL"/>
          <KeyWord name="LOCATE"/>
          <KeyWord name="LOCK"/>
          <KeyWord name="LOG"/>
          <KeyWord name="LOG10"/>
          <KeyWord name="LOGOUT"/>
          <KeyWord name="LOOKUP"/>
          <KeyWord name="LOOP"/>
          <KeyWord name="LOWER"/>
          <KeyWord name="LTRIM"/>
          <KeyWord name="LUPDATE"/>
          <KeyWord name="MAX"/>
          <KeyWord name="MAX"/>
          <KeyWord name="MD"/>
          <KeyWord name="MDX"/>
          <KeyWord name="MDY"/>
          <KeyWord name="MEMLINES"/>
          <KeyWord name="MEMORY"/>
          <KeyWord name="MESSAGE"/>
          <KeyWord name="MIN"/>
          <KeyWord name="MIN"/>
          <KeyWord name="MKDIR"/>
          <KeyWord name="MLINE"/>
          <KeyWord name="MOD"/>
          <KeyWord name="MONTH"/>
          <KeyWord name="NDX"/>
          <KeyWord name="NETWORK"/>
          <KeyWord name="OEM"/>
          <KeyWord name="ON&#xa0;ERROR"/>
          <KeyWord name="ON&#xa0;NETERROR"/>
          <KeyWord name="ON&#xa0;PAGE"/>
          <KeyWord name="OPEN&#xa0;DATABASE"/>
          <KeyWord name="ORDER"/>
          <KeyWord name="ORDER&#xa0;BY"/>
          <KeyWord name="OS"/>
          <KeyWord name="OTHERWISE"/>
          <KeyWord name="PACK"/>
          <KeyWord name="PARAMETERS"/>
          <KeyWord name="PAYMENT"/>
          <KeyWord name="PCOL"/>
          <KeyWord name="PCOUNT"/>
          <KeyWord name="PI"/>
          <KeyWord name="PLAY&#xa0;SOUND"/>
          <KeyWord name="PRINTJOB"/>
          <KeyWord name="PRINTSTATUS"/>
          <KeyWord name="PRIVATE"/>
          <KeyWord name="PROCEDURE"/>
          <KeyWord name="PROCREFCOUNT"/>
          <KeyWord name="PROGRAM"/>
          <KeyWord name="PROPER"/>
          <KeyWord name="PROTECT"/>
          <KeyWord name="PROW"/>
          <KeyWord name="PUBLIC"/>
          <KeyWord name="PUTFILE"/>
          <KeyWord name="PV"/>
          <KeyWord name="QUIT"/>
          <KeyWord name="RANDOM"/>
          <KeyWord name="RAT"/>
          <KeyWord name="RECALL"/>
          <KeyWord name="RECCOUNT"/>
          <KeyWord name="RECNO"/>
          <KeyWord name="RECSIZE"/>
          <KeyWord name="REDEFINE"/>
          <KeyWord name="REFCOUNT"/>
          <KeyWord name="REFRESH"/>
          <KeyWord name="REINDEX"/>
          <KeyWord name="RELATION"/>
          <KeyWord name="RELEASE"/>
          <KeyWord name="RELEASE&#xa0;AUTOMEM"/>
          <KeyWord name="RELEASE&#xa0;CALLBACK"/>
          <KeyWord name="RELEASE&#xa0;DLL"/>
          <KeyWord name="RELEASE&#xa0;OBJECT"/>
          <KeyWord name="RENAME"/>
          <KeyWord name="RENAME&#xa0;TABLE"/>
          <KeyWord name="REPLACE"/>
          <KeyWord name="REPLACE&#xa0;AUTOMEM"/>
          <KeyWord name="REPLACE&#xa0;BINARY"/>
          <KeyWord name="REPLACE&#xa0;FROM&#xa0;ARRAY"/>
          <KeyWord name="REPLACE&#xa0;MEMO"/>
          <KeyWord name="REPLACE&#xa0;OLE"/>
          <KeyWord name="REPLICATE"/>
          <KeyWord name="RESOURCE"/>
          <KeyWord name="RESTORE"/>
          <KeyWord name="RESTORE&#xa0;IMAGE"/>
          <KeyWord name="RESUME"/>
          <KeyWord name="RETRY"/>
          <KeyWord name="RETURN"/>
          <KeyWord name="RIGHT"/>
          <KeyWord name="RLOCK"/>
          <KeyWord name="RMDIR"/>
          <KeyWord name="ROLLBACK"/>
          <KeyWord name="ROUND"/>
          <KeyWord name="RTOD"/>
          <KeyWord name="RTRIM"/>
          <KeyWord name="RUN"/>
          <KeyWord name="RUN"/>
          <KeyWord name="SAVE"/>
          <KeyWord name="SAVE&#xa0;TO"/>
          <KeyWord name="SCAN"/>
          <KeyWord name="SECONDS"/>
          <KeyWord name="SEEK"/>
          <KeyWord name="SEEK"/>
          <KeyWord name="SELECT"/>
          <KeyWord name="SELECT"/>
          <KeyWord name="SET"/>
          <KeyWord name="SET&#xa0;ALTERNATE"/>
          <KeyWord name="SET&#xa0;AUTOSAVE"/>
          <KeyWord name="SET&#xa0;CENTURY"/>
          <KeyWord name="SET&#xa0;CONSOLE"/>
          <KeyWord name="SET&#xa0;CURRENCY"/>
          <KeyWord name="SET&#xa0;DATABASE"/>
          <KeyWord name="SET&#xa0;DATE"/>
          <KeyWord name="SET&#xa0;DATE&#xa0;TO"/>
          <KeyWord name="SET&#xa0;DBTYPE"/>
          <KeyWord name="SET&#xa0;DECIMALS"/>
          <KeyWord name="SET&#xa0;DELETED"/>
          <KeyWord name="SET&#xa0;DIRECTORY"/>
          <KeyWord name="SET&#xa0;ENCRYPTION"/>
          <KeyWord name="SET&#xa0;EPOCH"/>
          <KeyWord name="SET&#xa0;ERROR"/>
          <KeyWord name="SET&#xa0;EXACT"/>
          <KeyWord name="SET&#xa0;EXCLUSIVE"/>
          <KeyWord name="SET&#xa0;FIELDS"/>
          <KeyWord name="SET&#xa0;FILTER"/>
          <KeyWord name="SET&#xa0;FULLPATH"/>
          <KeyWord name="SET&#xa0;HEADINGS"/>
          <KeyWord name="SET&#xa0;HELP"/>
          <KeyWord name="SET&#xa0;HIGHPRECISION"/>
          <KeyWord name="SET&#xa0;HOURS"/>
          <KeyWord name="SET&#xa0;INDEX"/>
          <KeyWord name="SET&#xa0;KEY&#xa0;TO"/>
          <KeyWord name="SET&#xa0;LDCHECK"/>
          <KeyWord name="SET&#xa0;LDCONVERT"/>
          <KeyWord name="SET&#xa0;LOCK"/>
          <KeyWord name="SET&#xa0;MARGIN"/>
          <KeyWord name="SET&#xa0;MARK"/>
          <KeyWord name="SET&#xa0;MEMOWIDTH"/>
          <KeyWord name="SET&#xa0;NEAR"/>
          <KeyWord name="SET&#xa0;ODOMETER"/>
          <KeyWord name="SET&#xa0;ORDER"/>
          <KeyWord name="SET&#xa0;PATH"/>
          <KeyWord name="SET&#xa0;PCOL"/>
          <KeyWord name="SET&#xa0;POINT"/>
          <KeyWord name="SET&#xa0;PRECISION"/>
          <KeyWord name="SET&#xa0;PRINTER"/>
          <KeyWord name="SET&#xa0;PROW"/>
          <KeyWord name="SET&#xa0;REFRESH"/>
          <KeyWord name="SET&#xa0;RELATION"/>
          <KeyWord name="SET&#xa0;REPROCESS"/>
          <KeyWord name="SET&#xa0;SAFETY"/>
          <KeyWord name="SET&#xa0;SEPARATOR"/>
          <KeyWord name="SET&#xa0;SKIP"/>
          <KeyWord name="SET&#xa0;SPACE"/>
          <KeyWord name="SET&#xa0;TIME"/>
          <KeyWord name="SET&#xa0;UNIQUE"/>
          <KeyWord name="SET&#xa0;VIEW"/>
          <KeyWord name="SETTO"/>
          <KeyWord name="SIGN"/>
          <KeyWord name="SIN"/>
          <KeyWord name="SKIP"/>
          <KeyWord name="SORT"/>
          <KeyWord name="SOUNDEX"/>
          <KeyWord name="SPACE"/>
          <KeyWord name="SQLERROR"/>
          <KeyWord name="SQLEXEC"/>
          <KeyWord name="SQLMESSAGE"/>
          <KeyWord name="SQRT"/>
          <KeyWord name="STATIC"/>
          <KeyWord name="STORE"/>
          <KeyWord name="STORE&#xa0;AUTOMEM"/>
          <KeyWord name="STR"/>
          <KeyWord name="STUFF"/>
          <KeyWord name="SUBSTR"/>
          <KeyWord name="SUBSTRING"/>
          <KeyWord name="SUM"/>
          <KeyWord name="SUM"/>
          <KeyWord name="SUSPEND"/>
          <KeyWord name="TAG"/>
          <KeyWord name="TAGCOUNT"/>
          <KeyWord name="TAGNO"/>
          <KeyWord name="TAN"/>
          <KeyWord name="TARGET"/>
          <KeyWord name="THROW"/>
          <KeyWord name="TOTAL"/>
          <KeyWord name="TRANSFORM"/>
          <KeyWord name="TRIM"/>
          <KeyWord name="TRIP"/>
          <KeyWord name="TRY"/>
          <KeyWord name="TTIME"/>
          <KeyWord name="TTOC"/>
          <KeyWord name="TYPE"/>
          <KeyWord name="TYPE"/>
          <KeyWord name="UNION"/>
          <KeyWord name="UNIQUE"/>
          <KeyWord name="UNLOCK"/>
          <KeyWord name="UPDATE"/>
          <KeyWord name="UPDATE&#xa0;ON"/>
          <KeyWord name="UPPER"/>
          <KeyWord name="USE"/>
          <KeyWord name="USER"/>
          <KeyWord name="UTC"/>
          <KeyWord name="VAL"/>
          <KeyWord name="VALIDDRIVE"/>
          <KeyWord name="VERSION"/>
          <KeyWord name="WHERE"/>
          <KeyWord name="WITH"/>
          <KeyWord name="WORKAREA"/>
          <KeyWord name="YEAR"/>
          <KeyWord name="ZAP"/>
          <KeyWord name="__dbasewin__"/>
          <KeyWord name="__vdb__"/>
          <KeyWord name="__version__"/>
          	</AutoComplete>
          </NotepadPlus>
          

          Anybody see an issue here with just these keywords, sorting, characters?

          Lee

          Lycan ThropeL 1 Reply Last reply Reply Quote 0
          • Lycan ThropeL
            Lycan Thrope @Lycan Thrope
            last edited by

            @lycan-thrope
            I thought I had found the problem after looking at this again, and found “…” and replaced them with the string " " but it didn’t matter, it still didn’t work. :( Here’s the modified fixed one:

            <?xml version="1.0" encoding="Windows-1252" ?>
            <NotepadPlus>
               <AutoComplete language="dBASEPlus">
                   <Environment ignoreCase="yes" startFunc="(" stopFunc=")" paramSeparator="," terminal="" additionalWordChar = ""/>
            <KeyWord name="#define"/>
            <KeyWord name="#else"/>
            <KeyWord name="#endif"/>
            <KeyWord name="#if"/>
            <KeyWord name="#ifdef"/>
            <KeyWord name="#ifndef"/>
            <KeyWord name="#include"/>
            <KeyWord name="#pragma"/>
            <KeyWord name="#undef"/>
            <KeyWord name="ABS"/>
            <KeyWord name="ACCESS"/>
            <KeyWord name="ACOPY"/>
            <KeyWord name="ACOS"/>
            <KeyWord name="ADEL"/>
            <KeyWord name="ADIR"/>
            <KeyWord name="ADIREXT"/>
            <KeyWord name="AELEMENT"/>
            <KeyWord name="AFIELDS"/>
            <KeyWord name="AFILL"/>
            <KeyWord name="AGROW"/>
            <KeyWord name="AINS"/>
            <KeyWord name="ALEN"/>
            <KeyWord name="ALIAS"/>
            <KeyWord name="ALTER&#xa0;TABLE"/>
            <KeyWord name="ANSI"/>
            <KeyWord name="APPEND"/>
            <KeyWord name="APPEND&#xa0;AUTOMEM"/>
            <KeyWord name="APPEND&#xa0;FROM"/>
            <KeyWord name="APPEND&#xa0;FROM&#xa0;ARRAY"/>
            <KeyWord name="APPEND&#xa0;MEMO"/>
            <KeyWord name="ARESIZE"/>
            <KeyWord name="ARGCOUNT"/>
            <KeyWord name="ARGVECTOR"/>
            <KeyWord name="ASC"/>
            <KeyWord name="ASCAN"/>
            <KeyWord name="ASIN"/>
            <KeyWord name="ASORT"/>
            <KeyWord name="ASUBSCRIPT"/>
            <KeyWord name="AT"/>
            <KeyWord name="ATAN"/>
            <KeyWord name="ATN2"/>
            <KeyWord name="AVERAGE"/>
            <KeyWord name="AVG"/>
            <KeyWord name="BEGINTRANS"/>
            <KeyWord name="BINTYPE"/>
            <KeyWord name="BITAND"/>
            <KeyWord name="BITLSHIFT"/>
            <KeyWord name="BITNOT"/>
            <KeyWord name="BITOR"/>
            <KeyWord name="BITRSHIFT"/>
            <KeyWord name="BITSET"/>
            <KeyWord name="BITXOR"/>
            <KeyWord name="BITZRSHIFT"/>
            <KeyWord name="BLANK"/>
            <KeyWord name="BOF"/>
            <KeyWord name="BOOKMARK"/>
            <KeyWord name="BROWSE"/>
            <KeyWord name="CALCULATE"/>
            <KeyWord name="CALLBACK"/>
            <KeyWord name="CANCEL"/>
            <KeyWord name="CATCH"/>
            <KeyWord name="CD"/>
            <KeyWord name="CDOW"/>
            <KeyWord name="CEILING"/>
            <KeyWord name="CENTER"/>
            <KeyWord name="CERROR"/>
            <KeyWord name="CHANGE"/>
            <KeyWord name="CHARSET"/>
            <KeyWord name="CHOOSEPRINTER"/>
            <KeyWord name="CHR"/>
            <KeyWord name="CLASS"/>
            <KeyWord name="CLEAR"/>
            <KeyWord name="CLEAR&#xa0;ALL"/>
            <KeyWord name="CLEAR&#xa0;AUTOMEM"/>
            <KeyWord name="CLEAR&#xa0;FIELDS"/>
            <KeyWord name="CLEAR&#xa0;MEMORY"/>
            <KeyWord name="CLEAR&#xa0;PROGRAM"/>
            <KeyWord name="CLOSE&#xa0;ALTERNATE"/>
            <KeyWord name="CLOSE&#xa0;DATABASES"/>
            <KeyWord name="CLOSE&#xa0;INDEXES"/>
            <KeyWord name="CLOSE&#xa0;PRINTER"/>
            <KeyWord name="CLOSE&#xa0;TABLES"/>
            <KeyWord name="CMONTH"/>
            <KeyWord name="COMMIT"/>
            <KeyWord name="CONTINUE"/>
            <KeyWord name="COPY"/>
            <KeyWord name="COPY&#xa0;BINARY"/>
            <KeyWord name="COPY&#xa0;FILE"/>
            <KeyWord name="COPY&#xa0;MEMO"/>
            <KeyWord name="COPY&#xa0;STRUCTURE"/>
            <KeyWord name="COPY&#xa0;STRUCTURE&#xa0;EXTENDED"/>
            <KeyWord name="COPY&#xa0;TABLE"/>
            <KeyWord name="COPY&#xa0;TO&#xa0;ARRAY"/>
            <KeyWord name="COS"/>
            <KeyWord name="COUNT"/>
            <KeyWord name="CREATE&#xa0;INDEX"/>
            <KeyWord name="CREATE&#xa0;SESSION"/>
            <KeyWord name="CREATE&#xa0;TABLE"/>
            <KeyWord name="CREATE&#xa0;FROM"/>
            <KeyWord name="CREATE&#xa0;STRUCTURE&#xa0;EXTENDED"/>
            <KeyWord name="CTOD"/>
            <KeyWord name="CTODT"/>
            <KeyWord name="CTOT"/>
            <KeyWord name="DATABASE"/>
            <KeyWord name="DATE"/>
            <KeyWord name="DATETIME"/>
            <KeyWord name="DAY"/>
            <KeyWord name="DBASE_SUPPRESS_STARTUP_DIALOGS"/>
            <KeyWord name="DBERROR"/>
            <KeyWord name="DBF"/>
            <KeyWord name="DBMESSAGE"/>
            <KeyWord name="DECLARE"/>
            <KeyWord name="DEFINE"/>
            <KeyWord name="DELETE"/>
            <KeyWord name="DELETE&#xa0;FILE"/>
            <KeyWord name="DELETE&#xa0;TABLE"/>
            <KeyWord name="DELETE&#xa0;TAG"/>
            <KeyWord name="DELETED"/>
            <KeyWord name="DESCENDING"/>
            <KeyWord name="DIFFERENCE"/>
            <KeyWord name="DIR "/>
            <KeyWord name="DISKSPACE"/>
            <KeyWord name="DISPLAY"/>
            <KeyWord name="DISPLAY&#xa0;FILES"/>
            <KeyWord name="DMY"/>
            <KeyWord name="DO"/>
            <KeyWord name="DO&#xa0;CASE"/>
            <KeyWord name="DO&#xa0;WHILE"/>
            <KeyWord name="DO&#xa0;UNTIL"/>
            <KeyWord name="DOS "/>
            <KeyWord name="DOW"/>
            <KeyWord name="DROP&#xa0;INDEX"/>
            <KeyWord name="DROP&#xa0;TABLE"/>
            <KeyWord name="DTOC"/>
            <KeyWord name="DTODT"/>
            <KeyWord name="DTOR"/>
            <KeyWord name="DTOS"/>
            <KeyWord name="DTTOC"/>
            <KeyWord name="DTTOD"/>
            <KeyWord name="DTTOT"/>
            <KeyWord name="EDIT"/>
            <KeyWord name="EJECT"/>
            <KeyWord name="EJECTPAGE"/>
            <KeyWord name="ELAPSED"/>
            <KeyWord name="ELSE"/>
            <KeyWord name="ELSEIF"/>
            <KeyWord name="EMPTY"/>
            <KeyWord name="ENDFOR"/>
            <KeyWord name="ENDIF"/>
            <KeyWord name="ENDPRINTJOB"/>
            <KeyWord name="ENDTRY"/>
            <KeyWord name="ENUMERATE"/>
            <KeyWord name="EOF"/>
            <KeyWord name="ERASE"/>
            <KeyWord name="ERROR"/>
            <KeyWord name="EXIT"/>
            <KeyWord name="EXP"/>
            <KeyWord name="EXTERN"/>
            <KeyWord name="EXTRACT"/>
            <KeyWord name="FDECIMAL"/>
            <KeyWord name="FIELD"/>
            <KeyWord name="FILE"/>
            <KeyWord name="FINALLY"/>
            <KeyWord name="FINDINSTANCE"/>
            <KeyWord name="FLDCOUNT"/>
            <KeyWord name="FLDLIST"/>
            <KeyWord name="FLENGTH"/>
            <KeyWord name="FLOCK"/>
            <KeyWord name="FLOOR"/>
            <KeyWord name="FLUSH"/>
            <KeyWord name="FNAMEMAX"/>
            <KeyWord name="FOR"/>
            <KeyWord name="FOR"/>
            <KeyWord name="FOUND"/>
            <KeyWord name="FROM"/>
            <KeyWord name="FUNCTION"/>
            <KeyWord name="FUNIQUE"/>
            <KeyWord name="FV"/>
            <KeyWord name="GENERATE"/>
            <KeyWord name="GETCALLADDRESS"/>
            <KeyWord name="GETDIRECTORY"/>
            <KeyWord name="GETENV"/>
            <KeyWord name="GETFILE"/>
            <KeyWord name="GO"/>
            <KeyWord name="GROUP&#xa0;BY"/>
            <KeyWord name="HAVING"/>
            <KeyWord name="HOME"/>
            <KeyWord name="HTOI"/>
            <KeyWord name="ID"/>
            <KeyWord name="IF"/>
            <KeyWord name="IIF"/>
            <KeyWord name="INDEX"/>
            <KeyWord name="INSERT"/>
            <KeyWord name="INT"/>
            <KeyWord name="ISALPHA"/>
            <KeyWord name="ISBLANK"/>
            <KeyWord name="ISLOWER"/>
            <KeyWord name="ISTABLE"/>
            <KeyWord name="ISUPPER"/>
            <KeyWord name="ITOH"/>
            <KeyWord name="KEY"/>
            <KeyWord name="KEYMATCH"/>
            <KeyWord name="LDRIVER"/>
            <KeyWord name="LEFT"/>
            <KeyWord name="LEN"/>
            <KeyWord name="LENNUM"/>
            <KeyWord name="LIKE"/>
            <KeyWord name="LINENO"/>
            <KeyWord name="LIST"/>
            <KeyWord name="LIST&#xa0;FILES"/>
            <KeyWord name="LKSYS"/>
            <KeyWord name="LOAD&#xa0;DLL"/>
            <KeyWord name="LOCAL"/>
            <KeyWord name="LOCATE"/>
            <KeyWord name="LOCK"/>
            <KeyWord name="LOG"/>
            <KeyWord name="LOG10"/>
            <KeyWord name="LOGOUT"/>
            <KeyWord name="LOOKUP"/>
            <KeyWord name="LOOP"/>
            <KeyWord name="LOWER"/>
            <KeyWord name="LTRIM"/>
            <KeyWord name="LUPDATE"/>
            <KeyWord name="MAX"/>
            <KeyWord name="MAX"/>
            <KeyWord name="MD"/>
            <KeyWord name="MDX"/>
            <KeyWord name="MDY"/>
            <KeyWord name="MEMLINES"/>
            <KeyWord name="MEMORY"/>
            <KeyWord name="MESSAGE"/>
            <KeyWord name="MIN"/>
            <KeyWord name="MIN"/>
            <KeyWord name="MKDIR"/>
            <KeyWord name="MLINE"/>
            <KeyWord name="MOD"/>
            <KeyWord name="MONTH"/>
            <KeyWord name="NDX"/>
            <KeyWord name="NETWORK"/>
            <KeyWord name="OEM"/>
            <KeyWord name="ON&#xa0;ERROR"/>
            <KeyWord name="ON&#xa0;NETERROR"/>
            <KeyWord name="ON&#xa0;PAGE"/>
            <KeyWord name="OPEN&#xa0;DATABASE"/>
            <KeyWord name="ORDER"/>
            <KeyWord name="ORDER&#xa0;BY"/>
            <KeyWord name="OS"/>
            <KeyWord name="OTHERWISE"/>
            <KeyWord name="PACK"/>
            <KeyWord name="PARAMETERS"/>
            <KeyWord name="PAYMENT"/>
            <KeyWord name="PCOL"/>
            <KeyWord name="PCOUNT"/>
            <KeyWord name="PI"/>
            <KeyWord name="PLAY&#xa0;SOUND"/>
            <KeyWord name="PRINTJOB"/>
            <KeyWord name="PRINTSTATUS"/>
            <KeyWord name="PRIVATE"/>
            <KeyWord name="PROCEDURE"/>
            <KeyWord name="PROCREFCOUNT"/>
            <KeyWord name="PROGRAM"/>
            <KeyWord name="PROPER"/>
            <KeyWord name="PROTECT"/>
            <KeyWord name="PROW"/>
            <KeyWord name="PUBLIC"/>
            <KeyWord name="PUTFILE"/>
            <KeyWord name="PV"/>
            <KeyWord name="QUIT"/>
            <KeyWord name="RANDOM"/>
            <KeyWord name="RAT"/>
            <KeyWord name="RECALL"/>
            <KeyWord name="RECCOUNT"/>
            <KeyWord name="RECNO"/>
            <KeyWord name="RECSIZE"/>
            <KeyWord name="REDEFINE"/>
            <KeyWord name="REFCOUNT"/>
            <KeyWord name="REFRESH"/>
            <KeyWord name="REINDEX"/>
            <KeyWord name="RELATION"/>
            <KeyWord name="RELEASE"/>
            <KeyWord name="RELEASE&#xa0;AUTOMEM"/>
            <KeyWord name="RELEASE&#xa0;CALLBACK"/>
            <KeyWord name="RELEASE&#xa0;DLL"/>
            <KeyWord name="RELEASE&#xa0;OBJECT"/>
            <KeyWord name="RENAME"/>
            <KeyWord name="RENAME&#xa0;TABLE"/>
            <KeyWord name="REPLACE"/>
            <KeyWord name="REPLACE&#xa0;AUTOMEM"/>
            <KeyWord name="REPLACE&#xa0;BINARY"/>
            <KeyWord name="REPLACE&#xa0;FROM&#xa0;ARRAY"/>
            <KeyWord name="REPLACE&#xa0;MEMO"/>
            <KeyWord name="REPLACE&#xa0;OLE"/>
            <KeyWord name="REPLICATE"/>
            <KeyWord name="RESOURCE"/>
            <KeyWord name="RESTORE"/>
            <KeyWord name="RESTORE&#xa0;IMAGE"/>
            <KeyWord name="RESUME"/>
            <KeyWord name="RETRY"/>
            <KeyWord name="RETURN"/>
            <KeyWord name="RIGHT"/>
            <KeyWord name="RLOCK"/>
            <KeyWord name="RMDIR"/>
            <KeyWord name="ROLLBACK"/>
            <KeyWord name="ROUND"/>
            <KeyWord name="RTOD"/>
            <KeyWord name="RTRIM"/>
            <KeyWord name="RUN"/>
            <KeyWord name="RUN"/>
            <KeyWord name="SAVE"/>
            <KeyWord name="SAVE&#xa0;TO"/>
            <KeyWord name="SCAN"/>
            <KeyWord name="SECONDS"/>
            <KeyWord name="SEEK"/>
            <KeyWord name="SEEK"/>
            <KeyWord name="SELECT"/>
            <KeyWord name="SELECT"/>
            <KeyWord name="SET"/>
            <KeyWord name="SET&#xa0;ALTERNATE"/>
            <KeyWord name="SET&#xa0;AUTOSAVE"/>
            <KeyWord name="SET&#xa0;CENTURY"/>
            <KeyWord name="SET&#xa0;CONSOLE"/>
            <KeyWord name="SET&#xa0;CURRENCY"/>
            <KeyWord name="SET&#xa0;DATABASE"/>
            <KeyWord name="SET&#xa0;DATE"/>
            <KeyWord name="SET&#xa0;DATE&#xa0;TO"/>
            <KeyWord name="SET&#xa0;DBTYPE"/>
            <KeyWord name="SET&#xa0;DECIMALS"/>
            <KeyWord name="SET&#xa0;DELETED"/>
            <KeyWord name="SET&#xa0;DIRECTORY"/>
            <KeyWord name="SET&#xa0;ENCRYPTION"/>
            <KeyWord name="SET&#xa0;EPOCH"/>
            <KeyWord name="SET&#xa0;ERROR"/>
            <KeyWord name="SET&#xa0;EXACT"/>
            <KeyWord name="SET&#xa0;EXCLUSIVE"/>
            <KeyWord name="SET&#xa0;FIELDS"/>
            <KeyWord name="SET&#xa0;FILTER"/>
            <KeyWord name="SET&#xa0;FULLPATH"/>
            <KeyWord name="SET&#xa0;HEADINGS"/>
            <KeyWord name="SET&#xa0;HELP"/>
            <KeyWord name="SET&#xa0;HIGHPRECISION"/>
            <KeyWord name="SET&#xa0;HOURS"/>
            <KeyWord name="SET&#xa0;INDEX"/>
            <KeyWord name="SET&#xa0;KEY&#xa0;TO"/>
            <KeyWord name="SET&#xa0;LDCHECK"/>
            <KeyWord name="SET&#xa0;LDCONVERT"/>
            <KeyWord name="SET&#xa0;LOCK"/>
            <KeyWord name="SET&#xa0;MARGIN"/>
            <KeyWord name="SET&#xa0;MARK"/>
            <KeyWord name="SET&#xa0;MEMOWIDTH"/>
            <KeyWord name="SET&#xa0;NEAR"/>
            <KeyWord name="SET&#xa0;ODOMETER"/>
            <KeyWord name="SET&#xa0;ORDER"/>
            <KeyWord name="SET&#xa0;PATH"/>
            <KeyWord name="SET&#xa0;PCOL"/>
            <KeyWord name="SET&#xa0;POINT"/>
            <KeyWord name="SET&#xa0;PRECISION"/>
            <KeyWord name="SET&#xa0;PRINTER"/>
            <KeyWord name="SET&#xa0;PROW"/>
            <KeyWord name="SET&#xa0;REFRESH"/>
            <KeyWord name="SET&#xa0;RELATION"/>
            <KeyWord name="SET&#xa0;REPROCESS"/>
            <KeyWord name="SET&#xa0;SAFETY"/>
            <KeyWord name="SET&#xa0;SEPARATOR"/>
            <KeyWord name="SET&#xa0;SKIP"/>
            <KeyWord name="SET&#xa0;SPACE"/>
            <KeyWord name="SET&#xa0;TIME"/>
            <KeyWord name="SET&#xa0;UNIQUE"/>
            <KeyWord name="SET&#xa0;VIEW"/>
            <KeyWord name="SETTO"/>
            <KeyWord name="SIGN"/>
            <KeyWord name="SIN"/>
            <KeyWord name="SKIP"/>
            <KeyWord name="SORT"/>
            <KeyWord name="SOUNDEX"/>
            <KeyWord name="SPACE"/>
            <KeyWord name="SQLERROR"/>
            <KeyWord name="SQLEXEC"/>
            <KeyWord name="SQLMESSAGE"/>
            <KeyWord name="SQRT"/>
            <KeyWord name="STATIC"/>
            <KeyWord name="STORE"/>
            <KeyWord name="STORE&#xa0;AUTOMEM"/>
            <KeyWord name="STR"/>
            <KeyWord name="STUFF"/>
            <KeyWord name="SUBSTR"/>
            <KeyWord name="SUBSTRING"/>
            <KeyWord name="SUM"/>
            <KeyWord name="SUM"/>
            <KeyWord name="SUSPEND"/>
            <KeyWord name="TAG"/>
            <KeyWord name="TAGCOUNT"/>
            <KeyWord name="TAGNO"/>
            <KeyWord name="TAN"/>
            <KeyWord name="TARGET"/>
            <KeyWord name="THROW"/>
            <KeyWord name="TOTAL"/>
            <KeyWord name="TRANSFORM"/>
            <KeyWord name="TRIM"/>
            <KeyWord name="TRIP"/>
            <KeyWord name="TRY"/>
            <KeyWord name="TTIME"/>
            <KeyWord name="TTOC"/>
            <KeyWord name="TYPE"/>
            <KeyWord name="TYPE"/>
            <KeyWord name="UNION"/>
            <KeyWord name="UNIQUE"/>
            <KeyWord name="UNLOCK"/>
            <KeyWord name="UPDATE"/>
            <KeyWord name="UPDATE&#xa0;ON"/>
            <KeyWord name="UPPER"/>
            <KeyWord name="USE"/>
            <KeyWord name="USER"/>
            <KeyWord name="UTC"/>
            <KeyWord name="VAL"/>
            <KeyWord name="VALIDDRIVE"/>
            <KeyWord name="VERSION"/>
            <KeyWord name="WHERE"/>
            <KeyWord name="WITH"/>
            <KeyWord name="WORKAREA"/>
            <KeyWord name="YEAR"/>
            <KeyWord name="ZAP"/>
            <KeyWord name="__dbasewin__"/>
            <KeyWord name="__vdb__"/>
            <KeyWord name="__version__"/>
            	</AutoComplete>
            </NotepadPlus>
            

            Lee

            Lycan ThropeL 1 Reply Last reply Reply Quote 0
            • Lycan ThropeL
              Lycan Thrope @Lycan Thrope
              last edited by

              @lycan-thrope
              Love it when stuff doesn’t show, replaced it with this string &#xa0;, to replace the spacing.

              Lee

              Lycan ThropeL 1 Reply Last reply Reply Quote 0
              • Lycan ThropeL
                Lycan Thrope @Lycan Thrope
                last edited by

                @lycan-thrope
                Wow…now to compound problems, after trying removing all the duplicates and special characters, I decided to reload my test file…and guess what. It doesn’t work now. Sheesh…this is just not my day. Taking a few off…I’m done for now.

                Thanks for any suggestions in my absence…unless I get another epiphany about what’s wrong. :(

                Lee

                Lycan ThropeL 1 Reply Last reply Reply Quote 0
                • Lycan ThropeL
                  Lycan Thrope @Lycan Thrope
                  last edited by

                  @lycan-thrope
                  AARGGGHHHH
                  Beating self about the face and head furiously, again. :(

                  I had my epiphany, as soon as I gave up and took the pressure off…something clicked. It was a typo.

                  Apparently, my mass formatting that I assumed was done on the bulk list of keywords and functions was woefully SHORT of the last keyword, so it had no "/> at the end of the very last keyword in my lists that I was cutting and pasting. Don’t ask me why the example above shows it, but in exhaustion I looked at the file one more time and saw it.

                  Now, my large function file still is not showing up properly, ( and I did check the last keyword), at least my stripped out keyword only list, which is quite large also, works now.

                  Now to find out why the function hints of the large file aren’t working.

                  Thanks for the eyes even if they were averted. :)

                  Lee

                  1 Reply Last reply Reply Quote 1
                  • guy038G
                    guy038
                    last edited by guy038

                    Hello, @lycan-thrope,

                    May be, I’m totally off-topic but :

                    • I used your second AutoComplete version, defined here

                    • In Notepad++, I entered, near the bottom of the Language menu, User Defined language > Define your language..., and, with the Create New... command, I defined a new language called DBasePlus

                    • I did not add anything else and just closed the window User Defined Language v.2.1.0.12

                    • I opened a classical new tab

                    • And I selected the DBasePlus language, at the bottom of the Language menu, under User Defined Language


                    Now, note that, in your DBasePlus.xml file, I preferred to change the ignoreCase attribute to no ( instead of yes )

                    Indeed, it’s the only way to distinguish, for instance, between the commands #define and DEFINE !


                    I, then, tried a lot of keywords, like ABS, CLEAR&#xa0;ALL, ZAP and even __version__ and all of them got displayed for validation, without any problem !

                    In case of keywords with the \xA0 character, once the correct expression is validated, the search of \xA0 do give 1 match !


                    So, I’m rather confused about all your troubles that you described and also about your very last keyword which should be wrong ?

                    Best Regards,

                    guy038

                    Lycan ThropeL 1 Reply Last reply Reply Quote 1
                    • Lycan ThropeL
                      Lycan Thrope @guy038
                      last edited by

                      @guy038 ,

                      Thanks for the check. In the code you asked about, I mentioned I can’t explain how the text I uploaded here had the last keyword properly closed, but in the one I had been using live, it was unclosed.
                      Like this:

                      <KeyWord name="__version__
                      	</AutoComplete>
                      </NotepadPlus>
                      

                      Notice that __version__ is missing "/>

                      That was the problem I posted above having found. Apparently, I must have fixed it when uploading, thinking I had just then cut it short, but it was indeed missing those closing characters, because I was pasting in between the start of the keywords below the Environment section and the closing AutoComplete tag.

                      The Function list is working now…as I found a second typo, probably due, again, to cutting and pasting. Apparently I had a double << set on an opening tag for a keyword/function set of tags.

                      It’s all good. I’m human, I’m humble and can admit my shortcomings. :-)

                      If was just weird that I thought I had done everything correctly in the production file I had cut and pasted into the autocompletion file, when I hadn’t and found the errors late into the night/morning while I was in the midst of preparing to commit Hari Kari, when I decided to take one last look at the errant code and found it. (Whew…) :-)

                      I should have know, that I was meticulous on my test file, that’s why it worked, but my production file where I was mass formatting and then cutting and pasting function skeletons in to fill with the information that I must have screwed up something. I knew it probably was my fault, but I had to ask if I had hit some kind of wall I wasn’t aware of because of the large sizes of my auto completion function hint sections as compared to the other autocompetion files…because I thought I had done everything right. :(

                      Lee

                      Lycan ThropeL 1 Reply Last reply Reply Quote 2
                      • Lycan ThropeL
                        Lycan Thrope @Lycan Thrope
                        last edited by

                        @lycan-thrope
                        Folks,

                        There is one thing that puzzled me while I was trying to troubleshoot the problems I was having, and that is that I turned off the both keywords and functions completion option in the autocompletion dialog, and selected only the Word Completion as the screenshot shows:
                        autodialogwordserror.PNG

                        But apparently, selecting that option, stopped anything from working as one of the reasons that my keywords didn’t show was that I had changed the settings for the dialog to words only. When in desperation, I selected again, the Words and Functions, the keywords again were able to be completed. This screenshot shows that after typing many letters I still did not have a selection dialog:
                        autodialogwordserror2.PNG

                        Mind you, this is with my current working list, but with only the Words selected in the Dialog. ::puzzled::.

                        Lee

                        PeterJonesP 1 Reply Last reply Reply Quote 0
                        • PeterJonesP
                          PeterJones @Lycan Thrope
                          last edited by

                          @lycan-thrope said in Auto-Completion Is this Legal?:

                          puzzled

                          Why puzzled? Word-only completion is completion hints based on other words in your active file. Function-only completion is completion based on FunctionList. Function+Word gives you both. Your experiment agrees with that, unless I have misread something

                          Lycan ThropeL 1 Reply Last reply Reply Quote 0
                          • Lycan ThropeL
                            Lycan Thrope @PeterJones
                            last edited by

                            @peterjones ,

                            Maybe I’m misreading something again? The words, in this partiular example, that I was typing was “ALTER TABLE”, one of the keywords in my autocompletion file.

                               <KeyWord name="ALTER&#xa0;TABLE"/>
                            

                            So unless the dialog box means “Words” that are present in the document you are typing, then, yes, I have obviously misread it. If it means words, that are keywords in the autocompletion file (not the functions that still worked once the open parens was typed), then I’m not misreading. If it means Words, as in keywords in the UDL ‘keywords’ dialog, then there is a gross misunderstanding on my part about the Autocompletion files purpose and the Preferences Autocompletion settings purpose.

                            Is my interpretation a misreading? I figured the Autocompletion dialog was allowing Keywords only, in the Autocompletion file, to be autocompleted, rather than the Keyword Functions in that same file.

                            As an aside, I don’t remember if I asked this question before about the UDL and keywords (because I could try and put it here instead) in the below code file, the Main Class declaration I want stylized, not the function property.

                            class PlainObjectListForm of FORM
                               with (this)
                                  onOpen = class::FORM_ONOPEN
                                  onClose = class::FORM_ONCLOSE
                                  doubleBuffered = true
                                  metric = 6	// Pixels
                                  colorNormal = "Gray"
                                  height = 529.0
                                  left = 110.0
                                  top = 29.0
                                  width = 1092.0
                                  sizeable = false
                                  pageno = 0
                                  refreshAlways = false
                               endwith
                            

                            I tried putting class in the folding code 2 styler that required their to be spaces around the word for it to be recognized as a proper to highlight word, which the object resolution operator :: (double colon) would disqualify it from being highlighted. I’ve tried a bunch of different places for it to be in the different UDL dialogs and couldn’t get it to not highlight the function property word.

                            Thanks for any guidance on these subjects in advance,

                            Lee

                            Lycan ThropeL 1 Reply Last reply Reply Quote 0
                            • Lycan ThropeL
                              Lycan Thrope @Lycan Thrope
                              last edited by

                              @lycan-thrope
                              I figured out, how to stop that behavior with the scope resolution operator. I had to pull the singular : colon out of the operators 1 dialog.
                              ::smacking head::

                              Of course, now I just need to be set straight on my understanding of the dialog’s choice purposes. :-)

                              Lee

                              Lycan ThropeL 1 Reply Last reply Reply Quote 1
                              • Lycan ThropeL
                                Lycan Thrope @Lycan Thrope
                                last edited by

                                @lycan-thrope
                                Peter, please disregard my misunderstanding. Based on your explanation, I went back and clicked only the Functions option in the Autocompletion dialog and found that indeed, that setting allowed by keywords and keyword Functions to list properly. I guess having US English as my native language is a detriment for me in understanding how some of the documentation is written. :) Thanks for the explanation that brought enlightenent.

                                Lee

                                PeterJonesP 2 Replies Last reply Reply Quote 1
                                • PeterJonesP
                                  PeterJones @Lycan Thrope
                                  last edited by

                                  @lycan-thrope said in Auto-Completion Is this Legal?:

                                  I guess having US English as my native language is a detriment for me in understanding how some of the documentation is written.

                                  0189cfd0-07e9-4fdb-adc9-6a90ff22cd4b-image.png
                                  – from Settings > Preferences > Auto-Completion

                                  That seems pretty standard US English to [me](“Admittedly, my interpretation is biased”). But there is some ambiguity… probably because at the time that I wrote that about three years ago, I hadn’t ever actually done any of the customization of auto-completion, and I hadn’t experimented as fully with what those settings do.

                                  Let’s compare what the three settings show when Perl is the active language, where checkbox and checkbox_group are defined as keyword names in the auto-completion file perl.xml, and I have the word check already typed in my document.

                                  radio box completion popup
                                  ⦿ Function completion c875626f-e986-44fe-aac0-d3f06ee91cc7-image.png
                                  ⦿ Word completion 6cc29660-ad25-4f4f-a1ec-095b38455f7a-image.png
                                  ⦿ Function and word completion c53cbec7-9eb3-40e8-8ef1-48195d81a6b8-image.png

                                  I will add it to my TODO list to clarify the description in the usermanual to make it more clear what “word” vs “function” is.

                                  PeterJonesP 1 Reply Last reply Reply Quote 3
                                  • PeterJonesP
                                    PeterJones @Lycan Thrope
                                    last edited by

                                    @lycan-thrope

                                    https://npp-user-manual.org/docs/auto-completion/

                                    The first paragraphs of the “Function completion” and “Word completion” sections of the main Auto-Completion page does clarify the differences…

                                    4e879dc2-4c42-4f5f-aae3-8b4788a8fab1-image.png

                                    54a47228-5f93-4de5-8a74-7f7cd2423103-image.png

                                    However, I’ll still clarify that in the Auto-Completion Preferences description as well.

                                    PeterJonesP 1 Reply Last reply Reply Quote 3
                                    • PeterJonesP
                                      PeterJones @PeterJones
                                      last edited by

                                      @Lycan-Thrope ,

                                      Does this make more sense in the Auto-Completion Preferences section?

                                      c4624a5d-3d30-4a1b-9076-db3c1b203e79-image.png

                                      Lycan ThropeL 1 Reply Last reply Reply Quote 3
                                      • Lycan ThropeL
                                        Lycan Thrope @PeterJones
                                        last edited by

                                        @peterjones ,

                                        Thanks, that is much clearer.

                                        I apologize if you took my joke about English as a chide, it was actually an attempt at self-deprication.

                                        I think the problem I was having is that the entire section of AutoCompletion explanation is encompassing many areas. The modifications, the dialog, the syntax, and it kind of got confusing for me, as I tend to be a meticulous reader having copy editing as a past practice. You wouldn’t know it from my typos, but that has more to do with fat fingers and little keys. :)

                                        My assumption, was that the Autocomletion section was devoted to the modification aspect, and that misinterpretation is on me. I appreciate your time and patience with my learning your systems. One of the reasons you may see so many questions has to do with my communication background in that the only stupid question is the one not asked. Of that, I’m guilty as hell as I always try to strive to understand exactly what is said or written, versus what I thought was said or written. Now, if only I could get my wife to understand that, we’d have less disagreements. :-)

                                        Thanks again, and I’m glad that with your help, I’m finding my way through this stuff to be able to get something useful out of the efforts for the my community as well as yours, those that know and use dBASE are fans of the editor, so it stands to reason someone should have taken the time to get this together.

                                        I do have one question, on the tip of my to-ask list, and that is:

                                        Are the languages listed in the Preferences dialog box compiled into the program, .dll files, or are UDL’s able to get listed in and used in the Preferences for setting the options of the Languages? It would be safer than letting the users modify the language via the “Define your language” dialog, so as not to mess things up. :-)

                                        Lee

                                        PeterJonesP 1 Reply Last reply Reply Quote 0
                                        • PeterJonesP
                                          PeterJones @Lycan Thrope
                                          last edited by PeterJones

                                          @lycan-thrope said in Auto-Completion Is this Legal?:

                                          that is much clearer.

                                          Thanks. Then I will submit my PR, and those changes will be in the next release of the usermanual, whenever that ends up being.

                                          Are the languages listed in the Preferences dialog box compiled into the program, .dll files, or are UDL’s able to get listed in and used in the Preferences for setting the options of the Languages?

                                          Only the compiled-in languages show up in the Preferences > Style Configurator box, with the UDL kept as separate as possible while still being usable. That was a design decision made a decade or more ago, and is part-and-parcel of the name “Notepad++” at this point.

                                          It would be safer than letting the users modify the language via the “Define your language” dialog, so as not to mess things up. :-)

                                          I disagree. The point of UDL is so that the User can Define things – it’s two thirds of the name of the feature, after all. That’s what Notepad++ prides itself on: being able to be configured and customized by the user.

                                          Lycan ThropeL 1 Reply Last reply Reply Quote 3
                                          • Lycan ThropeL
                                            Lycan Thrope @PeterJones
                                            last edited by

                                            @peterjones ,

                                            Thanks for the change.

                                            Thanks for the clarification of the Preferences inclusion. I suspected as much, but thought I better verify that.

                                            I agree with most of your point about the User defining, the problem is that if it was so easy for them to make one, they wouldn’t have been asking if there was one, and would have made it. After what you and I have been going through, I’d like to bullet-proof it so I’m not being asked “How do I undo what I did?” questions. :-)

                                            Thanks again, and Merry Christmas and Happy New Year if I don’t get back in here as I’m trying to madly finish the grunt work on the functions to get it done for the Holidays. :-)

                                            Lee

                                            1 Reply Last reply Reply Quote 2
                                            • First post
                                              Last post
                                            The Community of users of the Notepad++ text editor.
                                            Powered by NodeBB | Contributors