为提升您的使用体验,本站正在维护,部分功能暂时无法使用。如果本站文章无法解决您的问题,您想要向社区提问的话,请到 Twitter 上的 @FirefoxSupport 或 Reddit 上的 /r/firefox 提问,我们的支持社区将会很快回复您的疑问。

搜索 | 用户支持

防范以用户支持为名的诈骗。我们绝对不会要求您拨打电话或发送短信,及提供任何个人信息。请使用“举报滥用”选项报告涉及违规的行为。

详细了解

Ctrl + right arrow doesn't work in developer console to move to next word

  • 6 个回答
  • 1 人有此问题
  • 1 次查看
  • 最后回复者为 bairgon

more options

With a recent update, when working in the developer console, ctrl + right arrow does not move forward one word. Ctrl + left arrow still works.

I reviewed https://developer.mozilla.org/en-US/docs/Tools/Keyboard_shortcuts but couldn't find any reference.

I use this automatically and am really missing it. Why would jumping left by one word still work - but not right?

To reproduce:

1. In the developer tools console, enter "one two three". 2. Now use ctrl+left arrow. The cursor jumps to the start of each word going back to the start of the line. 3. Now use ctrl+right arrow. The cursor doesn't move. 4. Try the same in Notepad. The cursor moves forward one word with ctrl+right arrow.

Using 66.05

With a recent update, when working in the developer console, ctrl + right arrow does not move forward one word. Ctrl + left arrow still works. I reviewed https://developer.mozilla.org/en-US/docs/Tools/Keyboard_shortcuts but couldn't find any reference. I use this automatically and am really missing it. Why would jumping left by one word still work - but not right? To reproduce: 1. In the developer tools console, enter "one two three". 2. Now use ctrl+left arrow. The cursor jumps to the start of each word going back to the start of the line. 3. Now use ctrl+right arrow. The cursor doesn't move. 4. Try the same in Notepad. The cursor moves forward one word with ctrl+right arrow. Using 66.05

所有回复 (6)

more options

This does appear to be a bug in Firefox. I've filed a bug report on your behalf (see bug #1552935) so that the developers can fix the issue.

more options

For what it is worth, this does work for me in Firefox 67.0 when tested. I think that Firefox 67 is ready to be released, so you can try to update tomorrow to see whether this helps.

more options

cor-el said

For what it is worth, this does work for me in Firefox 67.0 when tested.

Doesn't work for me in Firefox 68.

more options

I'm on Linux, so maybe this is a Windows issue.

Does this also happen in the Scratchpad or on the search bar or the filter bar?

more options

Start Firefox in Safe Mode to check if one of the extensions ("3-bar" menu button or Tools -> Add-ons -> Extensions) or if hardware acceleration is is causing the problem.

  • switch to the DEFAULT theme: "3-bar" menu button or Tools -> Add-ons -> Themes
  • do NOT click the "Refresh Firefox" button on the Safe Mode start window
more options

OP here.

I'm using Windows 10.

Problem still evident in Safe Mode with build 66; then did an update to 67 and the problem is still there.

The search box in developer tools, as well as CSS filter box all operate correctly - ctrl+right arrow moves forward one word. Assuming that Scratchpad is when "Edit as HTML" is chosen - this works OK as well.