The backspace key on the keyboard (deletes the previous character)
Questions tagged [backspace]
354 questions
4
votes
1 answer
Ctrl+Backspace/Option+Delete fails to delete previous word in MATLAB IDE
I've noticed that Ctrl+Backspace/Option+Delete doesn't delete the word to the left of cursor in the MATLAB editor, as it does in many (most?) other editors and programs. This is intensely annoying, as I often will want to change a function name or…

Bill Cheatham
- 11,396
- 17
- 69
- 104
4
votes
2 answers
Backspace key not working Ubuntu gnome 16.04
I recently realized the backspace key has stopped working. I was messing around in the keyboard shortcuts the other day and wondered if I changed it inadvertently, but looking back I couldn't see where I might have made the mistake.
Any suggestions…

Chris
- 1,150
- 3
- 13
- 29
4
votes
2 answers
Hold on backspace doesn't clear text one by one
I have an EditText implements TextWatcher but have a problem with Backspace key.
The first 5 characters are clear one by one when hold on backspace, but the last 5 characters that convert to image cannot clear one by one when hold on backspace.
Look…

Holi Boom
- 1,346
- 1
- 12
- 29
4
votes
2 answers
Using \b in Python 3
I saw in another question that ("\b") could be used to delete a character. However, when I tried \b it only put a space in between the character I was intending on deleting and the one after. Is there another way I could do backspace?
(I'm trying to…

Jack
- 43
- 1
- 3
4
votes
1 answer
Backspace deletes whole span element
Is it possible to prevent span deletion with backspace?
The correct answer is (A) 1 to 2.

R-J
- 928
- 1
- 7
- 24
4
votes
2 answers
"\b" in Java - Windows implemented
Working on Java in a Windows-run computer lab.
System.out.print ("Hello!");
System.out.print ("\b");
Prints
Hello![]
Where [] is a box, so as to signify a character the font doesn't support, or has an invalid ASCII value or something.
This is…

Angad
- 2,803
- 3
- 32
- 45
4
votes
1 answer
tinymce removes empty element on hitting backspace in editor
TinyMCE removes empty element element on hitting backspace in editor. The element is used for styling purposes. The problem does occur in Firefox and not when using Chrome.
Steps to reproduce:
1. go to http://fiddle.tinymce.com/P0eaab (config…

danielles
- 41
- 2
4
votes
0 answers
Android. Text spans disappear on backspace press and act weird overall
I need to implement a wysiwyg EditText and I faced a problem at the very beginning. So I added the following code to onTextChanged:
int textLen = textWord.getText().length();
if (s.length() > textWordBefore.length()) {
if (boldToggle == true) {
…

Alexander
- 631
- 1
- 8
- 19
4
votes
1 answer
Simulate the Backspace on a button press in WPF\C#
I've written a WPF touchscreen application. Within this application I've written a user control which is a touch screen keyboard.
I have all the keys working apart from the backspace. Obviously all the keys are buttons and on the backspace button…

Sun
- 4,458
- 14
- 66
- 108
3
votes
2 answers
Trigger backspace key in jQuery
How can I trigger the backspace key event in jQuery?
The following example isn't working:
var e = jQuery.Event("backspace", { keyCode: 8 });
$("#myarea").trigger( e );

Diogo Cardoso
- 21,637
- 26
- 100
- 138
3
votes
4 answers
How is \b implemented?
I have the following program in which I'm trying to understand the functioning of \b escape sequence.
#include
#include
#include
int disp(char *a)
{
return printf("%s", a);
}
int main(void)
{
char *s =…

Sangeeth Saravanaraj
- 16,027
- 21
- 69
- 98
3
votes
2 answers
Back Space is redirect to previous page on chrome in date picker
I am using date picker to select date for 2 dates....while clicking the backspace i am clearing the text box value....In firefox it working fine but in chrome it redirect to my previous page.
$().ready(function() {
var dates =…

user1086355
- 1,223
- 2
- 8
- 9
3
votes
0 answers
How to listen specific key that's pressed in a TextField in Flutter?
I need to detect backspace key in a TextField.
I found RawKeyboardListener widget but it only works for physical keyboards. When I press backspace using the phone keyboard, is does not trigger.
I need something like RawKeyboardListener, but that's…

Luis Utrera
- 942
- 6
- 15
3
votes
1 answer
Can't map Control-Backspace to a KeyStroke
I am having trouble mapping the Control-Backspace key to a KeyStroke. The following makes no sense to me.
import java.awt.event.KeyEvent;
import javax.swing.KeyStroke;
public class TestControlBackspace {
public static void main(String[] args)…

Steve Cohen
- 4,679
- 9
- 51
- 89
3
votes
1 answer
Backspace doesn't work properly when TextWatcher is used
I needed to format money values entered into an EditText so I used a TextWatcher but now I have issues with backspace in soft keyboard.
Normally if you hold the backspace key in the keyboard, it keeps removing characters in EditText until there is…

Vahid Amiri
- 10,769
- 13
- 68
- 113