/Text-editor

Basic text editor

Primary LanguageJavaScript

Text-editor

Basic text editor

TODO

Interface

  • keeping the line number column to one width

Functionality

  • ability to write text
  • ability to delete text
  • create new lines
  • cursor at current position in text
  • ability to navigate up, down, left, right
  • highlight current line
  • copying / pasting text
  • drop text to new line on enter when cursor is between text
  • select line by clicking
  • select text using keyboard
  • set / change file name
  • create new files
  • saving to file
  • syntax highlighting
  • bracket matching
  • wrap brackets around selected text
  • undo changes

Security

  • define a CSP