I have tried to define the function list version 2.0 alpha ; however only one layer can be displayed in this situation. What's wrong? Would you please tell me how to correct it?
Function list displays as follows:
Group1
==Item1
==Item2
(<--- sub-group doesn't appear)
original contents:
== Item1
++ sub-item1
+++
++ sub-item2
+++
===
== Item2
++ sub-item3
+++
===
The language parsing rule is defined as follows:
Group 1
Function Begin :==[ \t]+
Function List Name :[a-zA-Z0-9_]+ *[a-zA-Z0-9_]+ *[a-zA-Z0-9_]+ *[a-zA-Z0-9_]+
Body End :\<===\>
Sub-group 2
Subgroup of: Group 1
Function Begin :\++[ \t]+
Function List Name :[a-zA-Z0-9_]+ *[a-zA-Z0-9_]+ *[a-zA-Z0-9_]+ *[a-zA-Z0-9_]+
Body End :\+++
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
When I removed the all sub-group from first group, the subgroup tree disappear immediatly. If I close the notepad++, and open again, even if I paste the sub-group back, the subgroup still doesn't appear, till I restart the application. Any fix for this?
i.e. if I removed ++ sub-item1 .. +++ ... ++ sub-item2 ... +++ in the following text, the subgroup tree disappear.
Text contents:
== Item1
++ sub-item1
+++
++ sub-item2
+++
===
== Item2
++ sub-item3
+++
===
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
I have encountered another difficulty. I have tried to filled up "Body End" field with "===", "/<===/>" or "=== [ /t], but nothing in the list. However, when I empty the "Body End", the list appears, but not with full list, just showing alternative items only.
Anyone can help? Thanks in advance.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
After changing Body End to "===", full list still doesn't appear and only alternate item appears just like the follwings:
Item1
Item3
Item5
instead of being like this:
Item1
Item2
Item3
Item4
Item5
2) I have tried to change Sub-group 2 Function Begin to "\+\+[ \t]+" and Body End to "\+\+\+" and restart the notepad ++, but the subgroup still doesn't appear.
Thanks in advance.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
I have tried to define the function list version 2.0 alpha ; however only one layer can be displayed in this situation. What's wrong? Would you please tell me how to correct it?
Function list displays as follows:
Group1
==Item1
==Item2
(<--- sub-group doesn't appear)
original contents:
== Item1
++ sub-item1
+++
++ sub-item2
+++
===
== Item2
++ sub-item3
+++
===
The language parsing rule is defined as follows:
Group 1
Function Begin :==[ \t]+
Function List Name :[a-zA-Z0-9_]+ *[a-zA-Z0-9_]+ *[a-zA-Z0-9_]+ *[a-zA-Z0-9_]+
Body End :\<===\>
Sub-group 2
Subgroup of: Group 1
Function Begin :\++[ \t]+
Function List Name :[a-zA-Z0-9_]+ *[a-zA-Z0-9_]+ *[a-zA-Z0-9_]+ *[a-zA-Z0-9_]+
Body End :\+++
I have found another intereting thing.
When I removed the all sub-group from first group, the subgroup tree disappear immediatly. If I close the notepad++, and open again, even if I paste the sub-group back, the subgroup still doesn't appear, till I restart the application. Any fix for this?
i.e. if I removed ++ sub-item1 .. +++ ... ++ sub-item2 ... +++ in the following text, the subgroup tree disappear.
Text contents:
== Item1
++ sub-item1
+++
++ sub-item2
+++
===
== Item2
++ sub-item3
+++
===
I have encountered another difficulty. I have tried to filled up "Body End" field with "===", "/<===/>" or "=== [ /t], but nothing in the list. However, when I empty the "Body End", the list appears, but not with full list, just showing alternative items only.
Anyone can help? Thanks in advance.
Ok, I have now the solution:
Group 1 change Body End to "==="
Sub-group 2 change Function Begin to "\+\+[ \t]+" and Body End to "\+\+\+"
Now Group 1 should be shown on "Try!". The sub group will be shown after restart Notepad++. This is a bug on my side.
BTW: You can exchange now "a-zA-Z0-9" with "\w" and " \t" with "\s".
Best Regards
Jens
Thanks, but the same problem still occurs.
After changing Body End to "===", full list still doesn't appear and only alternate item appears just like the follwings:
Item1
Item3
Item5
instead of being like this:
Item1
Item2
Item3
Item4
Item5
2) I have tried to change Sub-group 2 Function Begin to "\+\+[ \t]+" and Body End to "\+\+\+" and restart the notepad ++, but the subgroup still doesn't appear.
Thanks in advance.
anyone can help?
thanks
The problem still exists. What can I do to resolve this?
thanks.
eventually I have found the problem.
for certain words like "SQL", "web", it won't appear in the group.
However, the subgroup still can't appear, even though I have restarted the notepad ++. What is the problem?
ok. now. thanks..
however, I don't know how to fix it.. I just close and restart few time, and then ok now.