Home | Blog | Software | Reviews and Features | Forum | Help | Donate | About us
topbanner_forum
  *

avatar image

Welcome, Guest. Please login or register.
Did you miss your activation email?

Login with username, password and session length
  • July 22, 2017, 09:52:08 PM
  • Proudly celebrating 10 years online.
  • Donate now to become a lifetime supporting member of the site and get a non-expiring license key for all of our programs.
  • donate

Author Topic: 184 steps to Build Your Own Text Editor in C  (Read 432 times)

Edvard

  • Coding Snacks Author
  • Charter Honorary Member
  • Joined in 2005
  • ***
  • Posts: 2,911
    • View Profile
    • Donate to Member
184 steps to Build Your Own Text Editor in C
« on: April 15, 2017, 12:25:21 AM »
Quote
Build Your Own Text Editor
Welcome! This is an instruction booklet that shows you how to build a text editor in C.

The text editor is antirez’s kilo, with some changes. It’s about 1000 lines of C in a single file with no dependencies, and it implements all the basic features you expect in a minimal editor, as well as syntax highlighting and a search feature.

This booklet walks you through building the editor in 184 steps. Each step, you’ll add, change, or remove a few lines of code. Most steps, you’ll be able to observe the changes you made by compiling and running the program immediately afterwards.

I explain each step along the way, sometimes in a lot of detail. Feel free to skim or skip the prose, as the main point of this is that you are going to build a text editor from scratch! Anything you learn along the way is bonus, and there’s plenty to learn just from typing in the changes to the code and observing the results.



from CodeProject News

mouser

  • First Author
  • Administrator
  • Joined in 2005
  • *****
  • Posts: 37,219
    • View Profile
    • Donate to Member
Re: 184 steps to Build Your Own Text Editor in C
« Reply #1 on: April 15, 2017, 06:38:53 AM »
Neat  :Thmbsup: