Recent Posts

Pages: 1 ... 8 9 [10]
91
SlickEdit® / Re: Python - wrong argument highlighted in 22.0.1
« Last post by rowbearto on January 05, 2018, 09:05:32 pm »
There may be some cases where I have python and C/C++ files in the same project as well, so you may want to consider that too.
92
SlickEdit® / Re: Python - wrong argument highlighted in 22.0.1
« Last post by rowbearto on January 05, 2018, 09:03:33 pm »
Thanks Dennis!
93
SlickEdit® / Re: Python - wrong argument highlighted in 22.0.1
« Last post by Dennis on January 05, 2018, 08:40:51 pm »
Mixed language workspaces always present new problems.  I will put a fix for this into the next hot fix for 22.0.1.
94
SlickEdit® / Re: Python - wrong argument highlighted in 22.0.1
« Last post by rowbearto on January 05, 2018, 06:12:50 pm »
When I ctrl+. with my sample, it is showing C/C++ files that are in a different project but in the same workspace, see attached screenshot.

Not sure if this is really valid to go to C/C++ symbol from python ???

Note that screenshot shows arg1 and not arg2 because I renamed the __init__.py file.
95
SlickEdit® / Re: Python - wrong argument highlighted in 22.0.1
« Last post by Dennis on January 05, 2018, 05:47:46 pm »
I was not able to reproduce this with your sample.  Technically, the variable doesn't have to be a local, it could also be a global or class member found in the current scope, so maybe arg2 is being picked up from elsewhere.  You can verify that by hitting Ctrl+Dot on arg2 after it is inserted and see where it goes.
96
SlickEdit® / Re: Smart Open/Select Symbol 2nd column width - can col 1 get a max size?
« Last post by Dennis on January 05, 2018, 04:52:38 pm »
With respect to the Open tool window, you can right click, select Options and turn off "Auto-size columns".  Then you can move the column to whatever widths you want them to be, but keep in mind that the file name might be clipped.

In either case, you can hover the mouse over an item to see the full name and path.

With the Select a Symbol dialog, it is dynamically sized to it's contents, and we try desperately not to truncate the symbol name column, since it is usually the most important thing.  It does have a horizontal scrollbar.  With respect to this one, I think this is just the lay of the land, if both columns do not fit, one of them is going to be truncated or hidden, so someone will be unhappy no matter how we try to adjust things.  We tried adding an option to turn off auto-sizing here, but it just turned out to cause the dialog to look ridiculous most of the time.
97
SlickEdit® / Re: List current context is showing the wrong context in python file
« Last post by rowbearto on January 05, 2018, 04:18:53 pm »
Is handling nested contexts going to be fixed in a 22 point release?
98
SlickEdit® / Re: List current context is showing the wrong context in python file
« Last post by rowbearto on January 05, 2018, 04:17:54 pm »
Thanks for taking a look Lee.
99
SlickEdit® / Re: Python - wrong argument highlighted in 22.0.1
« Last post by rowbearto on January 05, 2018, 04:15:45 pm »
Dennis:

Using the test project I sent you, if I have the "Auto-insert matching parameter" enabled, then it adds arg2 into the argument list even though it is not defined as a local variable.

I also tried some cases in other python source where I enabled this option, created a local var with this name and it does not get inserted.

If you can't find simple test cases that reproduce this, I can spend some effort trying to create some.

Thanks,
Rob
100
SlickEdit® / Re: List current context is showing the wrong context in python file
« Last post by Lee on January 05, 2018, 04:13:35 pm »
For the first one is a separator denoting the end of the startSim contest.  It's inserted there because the following context on line 364 is not part of startSim(), and but in an context that isn't currently labeled in Search Results (class/struct/namespace) or global context.  Going to be an issue an until Search Results can handle nested contexts.

I am able to reproduce the second issue.  There is a definitely an issue with generating procedure range, select-proc command is affected and the results definitely do not look right.  Filing a defect on that one, see what we can do with that one.
Pages: 1 ... 8 9 [10]