V
V
Void592021-10-27 12:02:53
C++ / C#
Void59, 2021-10-27 12:02:53

Where and how to look for information about writing a text editor from scratch?

Hey!
Somehow, while I was sitting at the computer, I got the idea of ​​creating a text editor from scratch in one of the C languages. "From scratch" means that I don't want to use any graphical interfaces or frameworks, just pure language, maximum library. But I could not find the necessary information on the Internet. Can you please tell me where and how can I find the information I need? Or point to a specific resource. Of the languages ​​in priority C++.

Answer the question

In order to leave comments, you need to log in

5 answer(s)
R
Ronald McDonald, 2021-10-27
@Zoominger

I don't want to use any GUIs or frameworks

My condolences.
Of the languages ​​in priority C++.

When you poke back and forth and even with WinForms nothing will work, then pay attention to the Qt Framework.

S
Sergey Gornostaev, 2021-10-27
@sergey-gornostaev

The existence of resources for writing text editors is as unlikely as the existence of a textbook on turning the steering wheel to the right for drivers. Just learn the language, learn how to work with files, and if you don't want to use GUI libraries, then learn WinAPI for Windows, Xlib library for Linux, etc.

S
Saboteur, 2021-10-27
@saboteur_kiev

Somehow, while I was sitting at the computer, I got the idea of ​​​​creating a text editor from scratch in one of the languages ​​\u200b\u200bof the "C" family

Do you already have experience writing simpler programs in one of the languages ​​of the C family?
Or from scratch and immediately the editor?
"From scratch" means that I don't want to use any graphical interfaces or frameworks, just pure language, maximum library.

You should still learn a little basic computer skills from the developer's point of view on something simpler. For example, distinguish between the terms "graphical interface" and "framework".
Or write then an editor that will work in the console, an analogue of some ed or vi thread
But I could not find the necessary information on the Internet.

This is also a very important skill - to be able to write the right question in Google.
For example, I got about ninety thousand results for "source codes of a simple text editor with ++".
Or point to a specific resource. Of the languages ​​in priority C++.

C++ documentation. First, write some simpler programs. Then a text editor, when you master the terminology, and when asking a question you will be able to predict about half of the answer.

J
Jacen11, 2021-10-27
@Jacen11

on sharpe, it is easiest to write under Windows, and in general, it was originally intended for such

V
Vladimir Korotenko, 2021-10-27
@firedragon

And what is this text editor supposed to do?
just make a list of requirements, a list of killer features, and a matrix of differences with the current ones.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question