On this page of the help docs
https://ninjatrader.com/support/help...components.htm
It does not describe the dropdown / pulldown menu items under the toolbar of the editor, so I don't know the proper name of these elements.
I have noticed an odd behavior which may be a bug.
Most times, the position of your text cursor, when on a line which is part of a method (i.e OnBarUpdate), the editor's pulldown menu on the right edge, will show the name of the method where your cursor is located.
Other times, when the cursor is inside a user defined method (i.e. tryDelta() ), the pulldown menu is not synchronized to the name of the method.
I have noticed that, if it cannot determine which method it is inside, the pulldown menu defaults to the first method in the list of the pulldown menu.
I have also noticed, if you have a string of text which matches the name of a method, on a line near and above the cursor position...
for example, if you have a call to a method DivergenceCheck() on a line above and near to the cursor, the pulldown menu which think you are inside the method "DivergenceCheck".
It is usually helpful to use the pulldown menu to show you where you are when working on a long script, but when it is not synchronized, the bug becomes a HULK SMASH feeling.
Comment