A lightweight terminal text editor with Gap Buffer and C Syntax Highlighting

# Compile / 编译
gcc -o editor editor.c -Wall -std=c99
# Run / 运行
./editor [filename]| Key / 按键 | Action / 功能 |
|---|---|
| Ctrl + S | Save / 保存 |
| Ctrl + X | Quit / 退出 |
| Arrows | Move Cursor / 移动光标 |
| Backspace | Delete or Join Lines / 删除或合并行 |
- Gap Buffer: High-performance text manipulation core.
- Environment: Developed and tested on WSL (Windows Subsystem for Linux).
- Code Style: Formatted with clang-format --style=Google for professional consistency.
- Alternate Buffer: Switches back to original terminal screen upon exit.
- Zero Dependencies: Developed using only standard POSIX libraries.
MIT