Text input: Ctrl+Backspace deletes the previous word (and Ctrl+Delete the next word) #583
Labels
No labels
amd
avatars
bug
builder
cannot-reproduce
crash
epic
feature
from-viewer
gl-removal
known-limitation
monitoring
parity
perf
platform
priority
critical
priority
high
priority
low
priority
medium
provenance
rendering
rt
status
in-progress
status
testing
status
up-next
triage
ui
upstream
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
sky_line/Slipstream#583
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Ctrl+Backspace should delete the whole word before the cursor, and Ctrl+Delete the word after it, as in browsers, editors and other viewers. Today both keys delete a single character.
Where
LLLineEditor::handleSpecialKey(indra/llui/lllineeditor.cpp,KEY_BACKSPACE~1432,KEY_DELETE) covers single-line fields: chat bar, IM input, search fields, names/descriptions.LLTextEditor(indra/llui/lltexteditor.cpp,KEY_BACKSPACE~1899) covers multi-line text: notecards, LSL editor, profile text.prevWordPos()/nextWordPos(), which Ctrl+Left/Right uses, so word boundaries match cursor movement.Behaviour
prevWordPos(cursor)to the cursor.nextWordPos(cursor).llkeyconflict/ key bindings XML) for a viewer action that should take priority while a text field has focus.Done when
Done:
bd95a92a26(Ctrl+Backspace / Ctrl+Delete delete the previous / next word in line and text editors). Verified by the owner. Lands in 1.2.0 Beta 8.