TE
TechEcho
Home24h TopNewestBestAskShowJobs
GitHubTwitter
Home

TechEcho

A tech news platform built with Next.js, providing global tech news and discussions.

GitHubTwitter

Home

HomeNewestBestAskShowJobs

Resources

HackerNews APIOriginal HackerNewsNext.js

© 2025 TechEcho. All rights reserved.

Pet Project: Developing your own text editor where to start?

1 pointsby lexx12over 16 years ago
With so many text editors out there packed so many awesome features(textmate,coda,eclipse,komodo,e-text editor, intype) still I have this somewhat ambitious idea- to create my own. I'm into web development particularly and I'd like to stick my goals to it. Right now I'm quiet overwhelmed I have this problem in determining where to start.<p>Any helpful ideas?

5 comments

trickjarrettover 16 years ago
If the purpose of this is to teach yourself a new language or a new functionality that you haven't previously coded, then sure go for it.<p>If it is for pay, or possible pay, then by all means dive in and see what you can do.<p>But a purely for fun project with copious alternatives that handle the vast majority of what you're trying to do and have the ability to be extended, means you'll eventually run out of steam and realize you can just use these other tools. I've been working on a twitter app for months and I've run out of steam. I have plenty of ideas and improvements, and as none of the ones out there really allow extensions, I'm still plugging away at my one, but I've taken absurdly long to get a lightly functional app.<p>Be warned, that way lies madness.
评论 #480489 未加载
yanover 16 years ago
Before you start, think long and hard if your problem hasn't already been solved. I'd be doubtful if I can create a text editor on par with even the average. If you thought about it, long and hard and realized that you really do want to write one, I'd start by downloading the source to one of the open ones (pick one: <a href="http://en.wikipedia.org/wiki/List_of_text_editors#Free_software_.28free.2Flibre.2Fopen-source.29" rel="nofollow">http://en.wikipedia.org/wiki/List_of_text_editors#Free_softw...</a>, but avoid emacs it will be too complex for you) and study how they solved the usual text editor problems, and where it went wrong. This should also be able to teach you about the common way to construct the architecture of a text editor.<p>Pick a set of features you want to start with and how you will interact with it. Pick what language/API/platform/etc you want it to work under and start reading docs and thinking how to go about writing your own.<p>Not to discourage you, but you probably won't be able to match most editors having never written one before. If you just want a hobby project, it be useful to start it for the experience. It might teach you a lot about software, or however, it might just frustrate you.<p>edit: What is your experience in? What kind of code do you write now?
评论 #480612 未加载
评论 #480473 未加载
Tangurenaover 16 years ago
I'd start with Scite.<p><a href="http://www.scintilla.org/SciTE.html" rel="nofollow">http://www.scintilla.org/SciTE.html</a><p><a href="http://en.wikipedia.org/wiki/SciTE" rel="nofollow">http://en.wikipedia.org/wiki/SciTE</a>
lexx12over 16 years ago
I have to admit I'm into Ruby and PHP mainly, but I have this idea of extending it too.
timfover 16 years ago
What language do you want to work with?