2 min read
Text Editor (in C)

A Text Editor in C

Following this excellent blog

The blog implementation is complete with these key features.

  • Save as new file / edit existing file
  • Syntax highlighting
  • Search

Next step, to implement all of the suggested features on my own

Features added so far

  • Display line numbers on the left of the line
  • Line breaks at word boundary, prevents horizontal scrolling
  • Line number updates only on the first line

To run this project

git clone https://github.com/OmKharade/C-TextEditor.git

cd C-TextEditor

make

# Open text editor with an empty file
./texty

# Open text editor with an existing file
./texty <filename>

Appendix:

The original blog suggests the following additions

Suggested Features