The backspace key on the keyboard (deletes the previous character)
Questions tagged [backspace]
354 questions
2
votes
3 answers
How to get deleted text in UITextView?
I want to get deleted text in UITextView.
Because I have to decrease UITextView, when '\n' deleted.
However, shouldChangeTextInRange delegate method is only return last string.
So, For example
UITextView.text = @"ABCD\nEFG";
and user delete text…

kkbpower
- 101
- 6
2
votes
1 answer
Usage of \b in Perl
the \b "bakspace in perl doesn't works when we use it at the last of the string.
Eg: If we see the code, i have written
print "Hello\n";
print "Hello\n";
print "\bHe\bllo\b";
It gives me this output:
Hello Hello Hllo
So should the highlighted…

Viren
- 29
- 1
2
votes
3 answers
How to detect backspace in a keyTypedEvent
I'm using Netbeans' bean form to create my GUI.I've added a keyTyped event to a JTextArea and I want to detect if the typed key is a Backspace.
I'm using keyTyped event for other reasons so I cannot just use the keyPressed event.
This is the…

WVrock
- 1,725
- 3
- 22
- 30
2
votes
0 answers
Cordova backspace cannot remove image in contenteditable div
I'm using Cordova 3.6.4 in Visual Studio 2013 Community Update 4 to build an apps with a "chat" functionality, the main reason that I use this technology is because I want to, hopefully, write once and can use it in all platforms such as Android…

Kenneth Li
- 1,632
- 1
- 14
- 19
2
votes
2 answers
Backspace key deletes following character, not preceding character
first of all, sorry for my poor english..
I have installed emacs on linux mint, and i have set up my own config.
Everything is all right except that the key backward delete the char on the right, (however it is supposed to delete the left one).
how…

Gabson
- 421
- 1
- 4
- 20
2
votes
2 answers
Vim Conque Gdb backspace deletes whole word
When I press a backspace in the ConqueTerm running gdb then it deletes a whole word instead of a single character. How can I make the backspace delete only a single character?

hasan
- 638
- 4
- 14
2
votes
3 answers
C - Remove a newline character that has already been printed
How can I remove a newline character that has already been printed and loaded onto the buffer? As far as I know, the \b character only moves the cursor back in the current line, and doesn't work with newline characters. How can I get around this?
It…

Frank the skank
- 108
- 2
- 10
2
votes
0 answers
Browser differences with pressing BACKSPACE in contenteditable DIV jquery solution?
I have a problem with writing a small CMS with option to add and remove paragraphs by user. In all browsers BACKSPACE button acts a little bit different. What I want to achieve is that user can add paragraph (P) by pressing ENTER and remove P by…

kacpaa
- 95
- 9
2
votes
0 answers
Uncaught TypeError, on 'backspace' in Search
This code ties the searchTextChanged function to the input text field:
this.on('input', {
searchTextSelector: this._searchTextChanged
});
This function gets the value from the _getValueFromEventObject function and…

xxx12123
- 333
- 1
- 4
- 17
2
votes
4 answers
Disable beep when backspace is pressed in an empty JTextField
Beginner here. Does anybody know a quick and easy way to get a JTextField to not beep when backspace is pressed and the field is empty? I've seen a couple things online about changing the DefaultEditorKit, but nothing I was able to make sense of.…
user1282716
2
votes
0 answers
number do not delete backspace button android
I am using an implementation for a backspace button for a calculator, but when I erase two or more numbers and click again another number it gave me the ones I erase with the new ones, for example, I put 2569 and when I push backspace to 25 and push…

user1652922
- 51
- 4
2
votes
1 answer
Wicket - AjaxFormComponentUpdatingBehavior and backspace
I have a TextField where I have added an AjaxFormComponentUpdatingBehavior to get the current value when user write some string.
filterByObject = new TextField("filterByObject", true, new PropertyModel(searchParams,…

MrMime
- 665
- 4
- 10
- 24
2
votes
6 answers
Backspace in HTML
Is there a way to achieve Backspace functionality in HTML? Do we have any special tags for this?
An example showing the need for such a thing can be found in StackOverflow itself. Please refer to Get current stack trace in Java. In the top answer,…

Hashken
- 4,396
- 7
- 35
- 51
1
vote
0 answers
Perl running cmd with backspace
When I run an application (wget.exe) using cmd, the output contains backspace characters that make the output display nicely. But when I run it in perl using open or backstick with 2>&1, it prints out the output in a different way that doesn't use…

Bao Nhan
- 180
- 7
1
vote
0 answers
Python readline delete the printed content line on double clicking backspace
I have a simple python code where i printed a question and i expect input from the user.
I imported readline so that user can access to history of his inputs and use arrow keys.
This is the code :
import readline
print("Welcome to Numgame, please…

John Kennedy. Tech
- 24
- 1