Another one of my requests for enhancement:).
I really like the code completion and call tips, but they also often get
in the way and can slow things down quit a bit.
Any chance of having an option of doing it on request only. I.e. when I
press "ctrl-space" only then do the background stuff and the same for
"ctrl-9" - or is there such as thing already and I just don't see/find it?
Werner
P.S.
The selections/drop downs on the "Launch" shelf are way too small on
Ubuntu and a little bit to small on Windows 7, this is with SVN ref
70015 on both systems.
On Fri, Dec 16, 2011 at 7:45 AM, werner <wbr...@free.fr> wrote:
> Hi Cody,
>
> Another one of my requests for enhancement:).
>
> I really like the code completion and call tips, but they also often get in
> the way and can slow things down quit a bit.
>
> Any chance of having an option of doing it on request only. I.e. when I
> press "ctrl-space" only then do the background stuff and the same for
> "ctrl-9" - or is there such as thing already and I just don't see/find it?
>
No, currently it can be turned off but it also disables the key
shortcut. Since the key shortcut exists now the setting should
probably only affect the automatic auto-completions based on key
strokes and still let the shortcut work regardless. Please enter a
feature enhancement request in the tracker, may be able to get it in
before next release which I hope to make this weekend possibly.
> Werner
>
> P.S.
> The selections/drop downs on the "Launch" shelf are way too small on Ubuntu
> and a little bit to small on Windows 7, this is with SVN ref 70015 on both
> systems.
>
Which dropdown? The executable/file comboboxes? Which version of
wxPython (or using svn wx as well?)?
Thanks,
Cody
On 12/16/2011 03:09 PM, Cody wrote:
> Hi,
>
> On Fri, Dec 16, 2011 at 7:45 AM, werner<wbr...@free.fr> wrote:
>> Hi Cody,
>>
>> Another one of my requests for enhancement:).
>>
>> I really like the code completion and call tips, but they also often get in
>> the way and can slow things down quit a bit.
>>
>> Any chance of having an option of doing it on request only. I.e. when I
>> press "ctrl-space" only then do the background stuff and the same for
>> "ctrl-9" - or is there such as thing already and I just don't see/find it?
>>
> No, currently it can be turned off but it also disables the key
> shortcut. Since the key shortcut exists now the setting should
> probably only affect the automatic auto-completions based on key
> strokes and still let the shortcut work regardless. Please enter a
> feature enhancement request in the tracker, may be able to get it in
> before next release which I hope to make this weekend possibly.
>
Thanks for considering this, issue 716 created for it
>> Werner
>>
>> P.S.
>> The selections/drop downs on the "Launch" shelf are way too small on Ubuntu
>> and a little bit to small on Windows 7, this is with SVN ref 70015 on both
>> systems.
>>
> Which dropdown? The executable/file comboboxes?
Yes.
> Which version of
> wxPython (or using svn wx as well?)?
On Ubuntu wxPython 2.9 from SVN and on Windows it is 2.9.2.4 (installer)
with wx.lib.agw and wx.lib.pubsub replaced with the SVN versions.
Looking forward to the new version.
Werner
On Dec 16, 8:35 am, werner <wbru...@free.fr> wrote:
> Hi Cody,
>
>
> > Which dropdown? The executable/file comboboxes?
> Yes.
Can you post a screenshot? Not sure I am seeing this.
Thanks,
Cody
Sorry for the delay to get these to you.
The first Win is before I updated, the others are after I updated Editra
from SVN, both with Python 2.7, wxPython 2.9.2.4. On ubuntu built it
myself - and probably not to be taken as a clean build as I see other
issues, I am waiting for 2.9.3 to rebuild, on Win it is 2.9.2.4 with
wx.lib.agw, wx.lib.pubsub and wx.lib.sized_controls from SVN.
On Win it is not that bad as only the bottom of letters like "py" are
cut off a bit but.
The completion works great, but I don't see to get the call tip. Should
I get it having the cursor e.g. at "wx.App.OnInit(" i.e. just after the
"(" and pressing ctrl-9?
If I activate auto I see the call tip on the BaseApp( in the code below.
if __name__ == "__main__":
app = ba.BaseApp(False)
frame = mediaLocker.MediaLocker()
app.MainLoop()
If I turn of "AutoCompletion" and press ctrl-space after ba. it works
but ctrl-9 doesn't and I see the following in the error log.
[10:13:01][pycomp][info] parseassignment: app = ba.BaseApp
[10:13:01][pycomp][info] parseassignment: frame = mediaLocker.MediaLocker
[10:13:02][pycomp][info] Successfully executed source code
[10:13:02][pycomp][info] Successfully executed: import logging
[10:13:02][pycomp][info] Successfully executed: import sys
[10:13:02][pycomp][info] Successfully executed: import os
[10:13:02][pycomp][info] Successfully executed: import mlsrc.base_app as ba
[10:13:02][pycomp][info] Successfully executed: import mlsrc.mediaLocker
as mediaLocker
[10:13:02][pycomp][info] Successfully executed: app = ba.BaseApp
[10:13:02][pycomp][info] Successfully executed: frame =
mediaLocker.MediaLocker
[10:13:02][pycomp][info] Completion eval time: 1.938000
[10:13:02][pycomp][info] get_completions('ba.','')
[10:13:02][pycomp][info] completing: stmt:ba
[10:13:03][codebrowser][info] Syncing tree for position 27
[10:13:04][codebrowser][info] Syncing tree for position 27
[10:13:06][codebrowser][info] Syncing tree for position 27
[10:13:07][codebrowser][info] Syncing tree for position 27
[10:13:08][pycomp][info] parseassignment: app = ba.BaseApp
[10:13:08][pycomp][info] parseassignment: frame = mediaLocker.MediaLocker
[10:13:10][pycomp][info] Successfully executed source code
[10:13:10][pycomp][info] Successfully executed: import logging
[10:13:10][pycomp][info] Successfully executed: import sys
[10:13:10][pycomp][info] Successfully executed: import os
[10:13:10][pycomp][info] Successfully executed: import mlsrc.base_app as ba
[10:13:10][pycomp][info] Successfully executed: import mlsrc.mediaLocker
as mediaLocker
[10:13:10][pycomp][info] Successfully executed: app = ba.BaseApp
[10:13:10][pycomp][info] Successfully executed: frame =
mediaLocker.MediaLocker
[10:13:10][pycomp][info] Completion eval time: 2.047000
[10:13:10][pycomp][info] get_completions('(','')
[10:13:10][pycomp][err] get_completions: unexpected EOF while parsing
(<string>, line 0) [stmt='(']
[10:13:10][codebrowser][info] Syncing tree for position 27
Thanks for all the work and the upgrade!
Have a nice weekend
Werner
On 12/21/2011 12:44 AM, Cody Precord wrote:
> Hi,
>
> On Dec 18, 3:14 am, werner<wbru...@free.fr> wrote:
>> Hi Cody,
>>
>>
>> On Win it is not that bad as only the bottom of letters like "py" are
>> cut off a bit but.
>>
> Might be fixed in current svn, removed some old workaround code for
> some sizing issues that may have been contributing to this. Since the
> control bar was getting set to an explicit size during init which
> behaves differently in 2.9 than 2.8.
>
Great, thanks for the quick fix.
>> The completion works great, but I don't see to get the call tip. Should
>> I get it having the cursor e.g. at "wx.App.OnInit(" i.e. just after the
>> "(" and pressing ctrl-9?
>>
>> If I activate auto I see the call tip on the BaseApp( in the code below.
>>
>> if __name__ == "__main__":
>> app = ba.BaseApp(False)
>> frame = mediaLocker.MediaLocker()
>> app.MainLoop()
>>
>> If I turn of "AutoCompletion" and press ctrl-space after ba. it works
>> but ctrl-9 doesn't and I see the following in the error log.
>>
> Forgot that there was a shortcut for that. There appears to be a bug
> in how it passes the command string to the python completer as it is
> only passing in the '(' and not including the word to the left of it.
> Will try to look into this sometime soon but go ahead and create a
> ticket for it just in case.
>
Done # 717
Werner