keyboard issue

5 replies [Last post]
Offline
Last seen: 7 weeks 6 days ago
Joined: 11/24/2010
Posts:

Pressing the tab key in the editor sends the focus to the address bar. Is this possible to fix.

What about adding other keeping shortcuts? I keep trying to ctrl+s out of habit.

piwh1000's picture
Offline
Last seen: 7 hours 25 min ago
Joined: 02/15/2008
Posts:
What browser are you using?

What browser are you using? Tab on my browser just adds 4 blank spaces.

CTRL+S should be working...? What other shortcuts would you like? There should be CTRL+Z to undo. CTRL+F to find. CTRL+G to goto line.

Developer - Compilr.com

Offline
Last seen: 7 weeks 6 days ago
Joined: 11/24/2010
Posts:
Tab does add the space but

Tab does add the space but also sets the focus on the address bar.

Ctrl+S doesnt work for me but Ctrl+Z, Ctrl+F and Ctrl+G do.

This is on explorer 8.

piwh1000's picture
Offline
Last seen: 7 hours 25 min ago
Joined: 02/15/2008
Posts:
Ah ok, our developer who

Ah ok, our developer who built the CTRL + S said there is an issue with Internet Explorer. We'll definitely look into this and resolve it.

Developer - Compilr.com

magius96's picture
Offline
Last seen: 14 weeks 1 day ago
Joined: 04/13/2009
Posts:
Controls

The CTRL+Z, CTRL+G work because the browser does not already have shortcuts defined for them, so the browser drops the event down to the page for processing.

CTRL+S doesn't work because the Browser does provide functionality to save the "webpage". When you press the combination, the browser is interpreting it first, and since it has functionality to match, it doesn't drop it down to be processed by the page.

Although CTRL+F appears to be working, it may not be the result of the page processing, but rather the browser processing it, since the browser does provide functionality for it.

This also explains why Tab is adding the space and resetting the focus. The browser is coded to handle tab itself, and drop the tab event to the page. This is one of the few events in which the browser is specially coded to process and drop.

What this all means, is that you may have to override the browsers built-in functionality to force it to allow processing at the page level before the browser level. Unfortunately, I doubt this is possible due to internet security restrictions built into the browsers.

----------------------------------------------------------------------------------------------------
"Coding your life, Compiling your dreams, and crashing your future."
Compilr - C# and VB.NET Advisor

tim.speed's picture
Offline
Last seen: 17 hours 38 min ago
Joined: 02/24/2010
Posts:
We handle ctrl-s in most web

We handle ctrl-s in most web browsers, it can't be handled in IE easily because of the Iframes in our text editor, will come eventually just requires a bit more work to implement than the other browsers, but if you click outside of the Text Editor and onto another component of the IDE you can use ctrl-s to save your currently opened file.

We make ctrl-s work by trapping the event in javascript before it goes to the browser.

-----------------
Tim Speed
Compilr Developer and CTO