Closed Bug 1053242 Opened 10 years ago Closed 10 years ago

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

Categories

(DevTools Graveyard :: WebIDE, defect)

All
macOS
defect
Not set
normal

Tracking

(Not tracked)

RESOLVED WORKSFORME

People

(Reporter: janx, Unassigned)

Details

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
Closed: 10 years ago
Flags: needinfo?(bgrinstead)
Resolution: --- → WORKSFORME
Product: Firefox → DevTools
Product: DevTools → DevTools Graveyard
You need to log in before you can comment on or make changes to this bug.