-
Notifications
You must be signed in to change notification settings - Fork 4.5k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Function List does not recognise PHP function name starting with 'f'... #4208
Comments
@hnmcc What is different about your "formAndControls" function and your "fetchAccountData" or "fetchServiceData", etc functions?--the latter ones also start with "f" but seem to be put in function list correctly... |
Sorry! Missed this email when it arrived. I can detect no difference
between this function and the others whose names start with an F. They are
all formed correctly and have a similar pattern of text after the function
name. I know that isn't going to be much help.
…On 20 February 2018 at 19:22, sasumner ***@***.***> wrote:
@hnmcc <https://github.com/hnmcc> What is different about your
"formAndControls" function and your "fetchAccountData" or
"fetchServiceData", etc functions?--the latter ones also start with "f" but
seem to be put in function list correctly...
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
<#4208 (comment)>,
or mute the thread
<https://github.com/notifications/unsubscribe-auth/ANiqk14sVKAXzCNKMLgOAxaguBtgWCUQks5tWxuHgaJpZM4SMb5g>
.
--
Hamish McCallum
mob. 07838 392 798
home 01353 362 491
30 Chapel Street
Ely
Cambridgeshire
CB6 1AD
|
The problem is caused by the parser incorrectly checking for keywords as function/method names while allowing them to start with a keyword. So it's not related to the "f" alone but to "formAndControls" starting with the keyword "for". |
@SuperUserNameMan no it's not (see my comment at #4845). |
@MAPJe71 : yep, sorry. I opened several issues related to the "Function List" and got confused. |
Sorry for not seeing earlier message. I encountered this problem again in the last few days. It now seems to be limited to function names beginning "format" - farmat, fermat, firmat, and furmat are all OK, as are fold, focus, and font. But formatXXX always appears in the list as ormatXXX. |
This is using Npp 7.6.3 Portable on up-to-date Win 8 64-bit, btw. |
@hnmcc |
Description of the Issue
The built-in function list does not recognise the first character of a PHP function name starting with 'f'. I have substituted numerous other characters for the 'f', and the new name has been picked up correctly by the function list. I have tried every permutation of closing/saving the file, closing NPP, rebooting, etc; the effect remains.
Debug Information
Notepad++ v7.5.4 (32-bit)
Build time : Jan 1 2018 - 01:47:45
Path : F:\PortableApps\Notepad++Portable\App\Notepad++\notepad++.exe
Admin mode : OFF
Local Conf mode : ON
OS : Windows 8.1 (64-bit)
Plugins : NppConverter.dll NppExport.dll ComparePlugin.dll PluginManager.dll NppTextFX.dll ClipboardHelper.dll mimeTools.dll NppColumnSort.dll MultiClipboard.dll DSpellCheck.dll
The text was updated successfully, but these errors were encountered: