Bad cursor position when doing search & replace in WebIDE's project editor

RESOLVED WORKSFORME

Status

DevTools
WebIDE
RESOLVED WORKSFORME
4 years ago
9 days ago

People

(Reporter: janx, Unassigned)

Tracking

Trunk
All
Mac OS X

Firefox Tracking Flags

(Not tracked)

Details

(Reporter)

Description

4 years ago
From Brian in bug 1011032 comment 6:

"It seems like there may also be a bug with the cursor position when doing replace (it seems to put the cursor at the front of the input box, at least on OSX).  I know for 'jump to line' we had a fix for something similar in the editor component - `inp.selectionStart = inp.selectionEnd = inp.value.length` - http://dxr.mozilla.org/mozilla-central/source/browser/devtools/sourceeditor/editor.js#819."

I wasn't able to reproduce on Ubuntu.
And for whatever reason, this cursor position issue doesn't seem to happen in the style editor (which is using the same find/replace plugin)
I don't think I see this issue on OS X, but maybe I don't understand it...

Brian, is this still happening for you?
Flags: needinfo?(bgrinstead)
I'm not seeing it anymore - cool!
Status: NEW → RESOLVED
Last Resolved: 4 years ago
Flags: needinfo?(bgrinstead)
Resolution: --- → WORKSFORME

Updated

9 days ago
Product: Firefox → DevTools
You need to log in before you can comment on or make changes to this bug.