Programming Forums

Programming Forums (http://www.programmingforums.org/forumindex.php)
-   C (http://www.programmingforums.org/forum60.html)
-   -   Text Editor (http://www.programmingforums.org/showthread.php?t=10775)

anant_tickoo Jul 19th, 2006 8:10 AM

Text Editor
 
hey!

i was trying to make a text editor. but the problem is that i am not able to get started on it coz i do't have a clue how to start.

any one here to give me start.
thanks

DaWei Jul 19th, 2006 8:25 AM

Please find some material on how to ask a question the smart way. There's a link in the FAQ/rules. We have no earthly idea what your OS/platform is, whether you're thinking GUI, or how much ability you have scraped together, to date. Search the forum for this topic. Search Google for tutorials. Dropping your question here, as phrased, is about as effective as running out in the yard and kicking your dog. Go read and research.

Narue Jul 19th, 2006 8:38 AM

>i was trying to make a text editor. but the problem is that i am not able to
>get started on it coz i do't have a clue how to start.
I laughed so hard at that statement, my coworkers gave me funny looks.

anant_tickoo Jul 19th, 2006 11:58 AM

okey!! it made you laugh . makes me happy coz some had a gud laugh coz of me :)

okey can i ask for a link or any resource which would make me go in a direction.

hopin 4 a reply

ReggaetonKing Jul 19th, 2006 12:13 PM

why don't you google how to make a text editor? Isn't that easy than waiting a couple minutes to get replies saying google it?

anant_tickoo Jul 19th, 2006 12:14 PM

tell me abt it . i have been search it for a day or so .

:

just a rephrasing of a serch can lead u some results. lesson of the day

ReggaetonKing Jul 19th, 2006 12:19 PM

http://www.devzoo.com//index.php?tooltype=WindowsEditor

here's a link to a bunch of open source text editors. Go through some of the source code and look what you need to learn to make your own.

EDIT: Took me 6 minutes to read your reply and find some resources. And it took you a day...

v0id Jul 19th, 2006 12:29 PM

Start reading some tutorials on the C languages, then find out which api you'll use. Then if you have some problems, come back, describe your problem and we'll help you.

Narue Jul 19th, 2006 12:50 PM

Rather than look for existing stuff, it's instructive to think about the problem yourself and see if you can come up with something workable. Keep it simple at first so you can focus on the key elements of the text editor. In other words, fancy GUIs can come later.

For example, how would you store the contents of a file in memory? How would that decision affect the features such as cut and paste, line splicing, and line editing? What kind of user interface would be the most efficient? What about the most user friendly? Asking yourself questions like that is the first step toward building a design, and anyone with two brain cells to rub together can do it.

A simple command line text editor like ed is pretty straightforward, and a good intermediate project too.

amazon10x Jul 27th, 2006 6:21 PM

http://winprog.org/tutorial/ Here's a tutorial on the win32 api. It walks you through making an extremely simple text editor.


All times are GMT -5. The time now is 12:22 AM.

Powered by vBulletin® Version 3.7.0, Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Copyright ©2007 DaniWeb® LLC