A method for editing text, comprising: receiving a first input of a user on target text ; displaying a preset text deletion control on a first preset side of the target text in response to the first input ; receiving a second input of the user on the preset text deletion control ; and deleting, in response to the second input, target sub-text selected by the second input , wherein the target text comprises the target sub-text; characterized in that , the preset text deletion control is a joystick control, and the second input is a touch operation of the user on the joystick control, the deleting, in response to the second input, the target sub-text selected by the second input comprises: displaying a positioning control on a second preset side of the target text in response to the second input; acquiring a target position of the positioning control in the target text, wherein the acquiring the target position of the positioning control in the target text comprises: acquiring a touch operation direction of the touch operation; and controlling the positioning control to move to a target position according to the touch operation direction, wherein the touch operation is a tilted press operation, the controlling the positioning control to move to the target position according to the touch operation direction comprises: controlling the positioning control to move in a direction of the tilted press operation. receiving a first input of a user on target text ; displaying a preset text deletion control on a first preset side of the target text in response to the first input ; receiving a second input of the user on the preset text deletion control ; and deleting, in response to the second input, target sub-text selected by the second input , wherein the target text comprises the target sub-text; characterized in that , the preset text deletion control is a joystick control, and the second input is a touch operation of the user on the joystick control, the deleting, in response to the second input, the target sub-text selected by the second input comprises: displaying a positioning control on a second preset side of the target text in response to the second input; acquiring a target position of the positioning control in the target text, wherein the acquiring the target position of the positioning control in the target text comprises: acquiring a touch operation direction of the touch operation; and controlling the positioning control to move to a target position according to the touch operation direction, wherein the touch operation is a tilted press operation, the controlling the positioning control to move to the target position according to the touch operation direction comprises: controlling the positioning control to move in a direction of the tilted press operation. displaying a positioning control on a second preset side of the target text in response to the second input; acquiring a target position of the positioning control in the target text, wherein the acquiring the target position of the positioning control in the target text comprises: acquiring a touch operation direction of the touch operation; and controlling the positioning control to move to a target position according to the touch operation direction, wherein the touch operation is a tilted press operation, the controlling the positioning control to move to the target position according to the touch operation direction comprises: controlling the positioning control to move in a direction of the tilted press operation. acquiring a touch operation direction of the touch operation; and controlling the positioning control to move to a target position according to the touch operation direction, wherein the touch operation is a tilted press operation, the controlling the positioning control to move to the target position according to the touch operation direction comprises: controlling the positioning control to move in a direction of the tilted press operation. <EOS>