Notepad++ Function List

Utilities like DBU, Make, IDE written in HMG/ used to create HMG based applications

Moderator: Rathinagiri

Tiger
Posts: 34
Joined: Mon Aug 31, 2015 11:28 am
Location: Taipei

Re: Notepad++ Function List

Post by Tiger » Wed May 25, 2016 2:57 am

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
hmg_xml.jpg (136.47 KiB) Viewed 1874 times
Attachments
function_hmg.rar
(8.38 KiB) Downloaded 201 times

User avatar
TopsMarc
Posts: 80
Joined: Wed Apr 06, 2016 5:57 am
Location: Belgium (Flanders)

Re: Notepad++ Function List

Post by TopsMarc » Wed May 25, 2016 6:18 am

Hi Tiger,

It works ! Thank you very very much :D

Best regards, Marc

User avatar
tonton2
Posts: 254
Joined: Sat Jun 29, 2013 1:26 pm
Location: Algerie
Contact:

Re: Notepad++ Function List

Post by tonton2 » Wed May 25, 2016 10:47 am

TopsMarc wrote:Hi Tiger,

It works ! Thank you very very much :D

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
L'Algerie vous salut
Y.TABET

Tiger
Posts: 34
Joined: Mon Aug 31, 2015 11:28 am
Location: Taipei

Re: Notepad++ Function List

Post by Tiger » Wed May 25, 2016 11:05 am

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.

User avatar
tonton2
Posts: 254
Joined: Sat Jun 29, 2013 1:26 pm
Location: Algerie
Contact:

Re: Notepad++ Function List

Post by tonton2 » Wed May 25, 2016 11:31 am

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
L'Algerie vous salut
Y.TABET

User avatar
tonton2
Posts: 254
Joined: Sat Jun 29, 2013 1:26 pm
Location: Algerie
Contact:

Re: Notepad++ Function List

Post by tonton2 » Wed May 25, 2016 11:37 am

Hi Tigercan you check if you have notepad.exe 6.9.2 version in the folder NOTEPAD ++
thank you
L'Algerie vous salut
Y.TABET

Tiger
Posts: 34
Joined: Mon Aug 31, 2015 11:28 am
Location: Taipei

Re: Notepad++ Function List

Post by Tiger » Wed May 25, 2016 2:27 pm

FYI. I am using the version 6.9.2
2016-05-25_22-18-31.jpg
2016-05-25_22-18-31.jpg (235.62 KiB) Viewed 1825 times

User avatar
tonton2
Posts: 254
Joined: Sat Jun 29, 2013 1:26 pm
Location: Algerie
Contact:

Re: Notepad++ Function List

Post by tonton2 » Wed May 25, 2016 6:37 pm

thanks
L'Algerie vous salut
Y.TABET

jayadevu
Posts: 213
Joined: Tue May 19, 2009 7:10 am

Re: Notepad++ Function List

Post by jayadevu » Thu May 26, 2016 8:24 am

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

Tiger
Posts: 34
Joined: Mon Aug 31, 2015 11:28 am
Location: Taipei

Re: Notepad++ Function List

Post by Tiger » Thu May 26, 2016 11:49 am

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>

Post Reply