搜尋 Mozilla 技術支援網站

防止技術支援詐騙。我們絕對不會要求您撥打電話或發送簡訊,或是提供個人資訊。請用「回報濫用」功能回報可疑的行為。

了解更多

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.