Skip to content

Samarth-M123/Simple_Text_Editor

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

31 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Simple_Text_Editor

This is a simple text editor built in Python.

It utilizes a basic custom command-promt with the following commands:

  1. create - This command takes the file name as the parameter (using a hyphon '-') and creates it.
  2. open - This command takes the file name as the parameter (using a hyphon '-') and allows the user to edit it.
  3. kill - This command takes the file name as the parameter (using a hyphon '-') and destroys it.
  4. exit - This command exits the program.

On opening the program, the command-line asks the user for his/her name, and adds it as a prefix to any and all filenames. Following that, the command-line will begin with '$[insert-name]:' The text editor will be somewhat similar to Vim.

IMPORTANT: The only known bug is that the old content of the file doesn't appear when the open command is run. lineNum has been adjusted to add line numbers to previously existing content as well.

About

This is a simple text editor built in Python

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages