Page 4 of 5
Re: Notepad++ Function List
Posted: Wed May 25, 2016 2:57 am
by Tiger
Hi Marc,
I do some modifications on your files, please unpack the attached file to the folder of notepad++. You might need to import the hmg.xml file again. Try to open a .prg file and if the function list is empty then select the "HMG" langauge file again and close the notepad++. Open again the prg file with notepad++ and click the icon of functionlist to "on" "off" this function. It should work. Good luck.
I think the relation between these two "xml" file is as below:
- hmg_xml.jpg (136.47 KiB) Viewed 6766 times
Re: Notepad++ Function List
Posted: Wed May 25, 2016 6:18 am
by TopsMarc
Hi Tiger,
It works ! Thank you very very much
Best regards, Marc
Re: Notepad++ Function List
Posted: Wed May 25, 2016 10:47 am
by tonton2
TopsMarc wrote:Hi Tiger,
It works ! Thank you very very much
Best regards, Marc
Hello
I think the problem lies in the new version (6.9.2) and not in the functionlist.
Check if your notpad ++. Exe is the new or the old?
Thank you
Re: Notepad++ Function List
Posted: Wed May 25, 2016 11:05 am
by Tiger
Hi Y.TABET,
Do you try my suggestion to see if it works?
If you can get this function work on old version such as the 6.8xx, you can download the new version 6.9.2 with "zip" file and then unpack to a temporary folder. You can then copy all the files except the "functionList.xml" and paste them back to the folder of NOTEPAD++. I am using the new version 6.9.2 and I use this way to upgrade the NOTEPAD++ every time.
Re: Notepad++ Function List
Posted: Wed May 25, 2016 11:31 am
by tonton2
Tiger wrote:Hi Y.TABET,
Do you try my suggestion to see if it works?
If you can get this function work on old version such as the 6.8xx, you can download the new version 6.9.2 with "zip" file and then unpack to a temporary folder. You can then copy all the files except the "functionList.xml" and paste them back to the folder of NOTEPAD++. I am using the new version 6.9.2 and I use this way to upgrade the NOTEPAD++ every time.
Hello Tiger
Yes but does not work,it works with old version
thanks
Re: Notepad++ Function List
Posted: Wed May 25, 2016 11:37 am
by tonton2
Hi Tigercan you check if you have notepad.exe 6.9.2 version in the folder NOTEPAD ++
thank you
Re: Notepad++ Function List
Posted: Wed May 25, 2016 2:27 pm
by Tiger
FYI. I am using the version 6.9.2
- 2016-05-25_22-18-31.jpg (235.62 KiB) Viewed 6719 times
Re: Notepad++ Function List
Posted: Wed May 25, 2016 6:37 pm
by tonton2
thanks
Re: Notepad++ Function List
Posted: Thu May 26, 2016 8:24 am
by jayadevu
Hi,
Many thanks for the update.
Following 2 updates also need to be made:
1. If you prefix the function name with "Static": it does not show up in the function list.
2. Harbour Class and Methods also do no show up in the function list.
Hope one of the Gurus will chip in with their expertise.
Warm regards,
Jayadev
Re: Notepad++ Function List
Posted: Thu May 26, 2016 11:49 am
by Tiger
jayadevu wrote:Hi,
Many thanks for the update.
Following 2 updates also need to be made:
1. If you prefix the function name with "Static": it does not show up in the function list.
2. Harbour Class and Methods also do no show up in the function list.
Hope one of the Gurus will chip in with their expertise.
Warm regards,
Jayadev
Hi Jayadev,
Please try this ...
<parser id="HMG" displayName="HMG" commentExpr="">
<function
mainExpr="^[+\h]*(static\h+)?(CLASS|Func|Function|Proc|Procedure)[\t ]+[^\r\n]*$"
displayMode="$functionName">
<functionName>
<nameExpr expr="(?(?=[\t ]*)[\t ]*[\t ]+[^\s]+\w+[^\r\n]*)"/>
</functionName>
</function>
</parser>