行文本编辑器(基本功能要求) 实现一个英文字符的行文本编辑器,该编辑器根据用户输入的命令可以完成以下功能—— I: input characters. D: delete a character. F: move forward a character. B: move backward a character. J: jump to the start. E: jump to the end. WF: move forward a word. WB: move backward a word
1、实现一个英文字符的行文本编辑器,该编辑器根据用户输入的命令可以完成以下功能:
P:scan whole article
I: input characters.
D: delete a character.
F: move forward a character.
B: move backward a character.
J: jump to the start.
E: jump to the end.
WF: move forward a word.
WB: move bac