How to type in script editor window when mouse cursor is elsewhere? I'm very new to blender, using it for robotics, so primarily drawing using python very little hand-drawing.

When I am typing in the script editing window in Blender (2.76b in Ubuntu) and my mouse cursor drifts outside this window (worst is the viewport window), the ability to type into the editor window halts. I have to manually push my mouse cursor back in, even if the text cursor (|) is still in the editor window. Is there a way to change this default behavior?

It is particularly annoying if I accidentally type a hotkey (e.g., Z) that changes some basic behavior in the viewport, and I don't know what I did. This is becoming very frustrating and inefficient. 

I assume this is also a feature, so you can go do some quick hotkey stuff in the viewport while working on scripting, but I would really like to let my mouse cursor and text editing cursor be in different places, while editing text. That is, I want the text cursor to take all my keyboard events, as is the default in all my other applications.

I have searched online for an answer, posted at blender forum and gotten no response yet:
https://blenderartists.org/forum/showthread.php?402785-How-to-type-in-script-editor-window-when-mouse-cursor-elsewhere
Well this is a workaround but if you Toggle Fullscreen Area AltF10, then you can type in the text editor with the mouse cursor outside of blender!



See my answer for other options for maximizing windows in blender.
However full screen area is the only one that works completely, simply maximizing the text editor the header and info bar still get in the way.