Join GitHub today
GitHub is home to over 28 million developers working together to host and review code, manage projects, and build software together.Sign up
toolbar button for "Jump to next syntax checking result" problem #1563
Just clicking on the button works, but the dropdown function lists the results out of order sometimes and seems to consistently go to the wrong result when a result line is clicked on. This is with pylint results.
Steps to Reproduce
Open a python file with pylint checking turned on.
Clicking on a result line in the dropdown should go to the corresponding line in the file.
The cursor is place at the beginning of a different result line.
Komodo Edit, version 10.0.0, build 17209, platform win32-x86.
Yes, it is going to the one after the expected one -- in the real list, though, not necessarily the one after in the dropdown button list. For example, in the screenshot above clicking the first result in the list (line 33) goes to line 78, which is next in line in the correctly sorted list. Click the second (line 1) and it goes to line 33.
Also, and maybe this should be a separate issue, it seems like clicking the button should focus the editor pane, as clicking a line in the syntax checking pane does.
Reproduced, seems the menuitem click does not invoke the right line (it's invoking a different syntax error essentially).
Eg. if I have 2 syntax errors, one on line 5 and one on line 8, clicking on the line 5 one MIGHT give you the line 8 result. I say might because I did not see any consistency in which one it chooses to use.
I also noted that the toplevel buttons function (just clicking the Syntax Checking dybutton) works properly but the popup menu equivalent doesn't (click popup menu arrow > Jump to Next Result) so now I suspect the dynamic button generation code.