>
> dabo Commit
> Revision 6156
> Date: 2010-10-24 14:28:37 -0700 (Sun, 24 Oct 2010)
> Author: Ed
> Trac: http://trac.dabodev.com/changeset/6156
>
> Changed:
> U   trunk/dabo/ui/uiwx/dShell.py
>
> Log:
> Fraser Burns pointed out that activating the Code Editing page of dShell 
> doesn't set focus in the editor. This change corrects that behavior.
>
>
> Diff:
> Modified: trunk/dabo/ui/uiwx/dShell.py
> ===================================================================
> --- trunk/dabo/ui/uiwx/dShell.py      2010-10-24 21:00:02 UTC (rev 6155)
> +++ trunk/dabo/ui/uiwx/dShell.py      2010-10-24 21:28:37 UTC (rev 6156)
> @@ -430,6 +430,8 @@
>               self.bindKey("Ctrl+R", self.onHistoryPop)
>               # Show/hide the code editing pane
>               self.bindKey("Ctrl+E", self.onToggleCodePane)
> +             # Force the focus to the editor when the code page is activated.
> +             self.pgCode.bindEvent(dEvents.PageEnter, lambda evt: 
> self.edtCode.setFocus())
>  
>               # create the output control
>               outControl = dabo.ui.dEditBox(op, RegID="edtOut",
>
>   
Still need to click on the window before pressing Ctrl+Up
-- Fraser Burns

_______________________________________________
Post Messages to: [email protected]
Subscription Maintenance: http://leafe.com/mailman/listinfo/dabo-dev
Searchable Archives: http://leafe.com/archives/search/dabo-dev
This message: http://leafe.com/archives/byMID/[email protected]

Reply via email to