Hi,
while adding FiveWin functions to my wordfile.txt, I’m wondering why some terms are highlighted others not.
My terms weren’t in alphabetically order, so I tried, what Otto proposed, but it fails.
After some more tests I found these two rules, which are useful for me:
1 - You can have more than one line for one starting character, e. g.:
- Code: Select all Expand view
L2Hex LbxGetItem
LineTo LoadBitmap
LoadIcon LoadString LoadCursor
2 - Don’t mix terms starting with upper and lower case in one line, that’s obviously the reason for the unproper highlighting, e. g.:
- Code: Select all Expand view
lAnd LbxGetItem lChDir LoadCursor lWRunning
So for the character ‘L’, these two lines are in my wordfile.txt:
- Code: Select all Expand view
lAnd lChDir lIsDir lMkDir lWRunning
L2Hex LbxGetItem LineTo LoadBitmap LoadIcon LoadString LoadCursor LPToDP LZCopyFile
For me it doesn’t depend of sorted terms, it also works with unsorted terms and also no need of a space character at the EOL.