The UNIX and Linux Forums  

Go Back   The UNIX and Linux Forums > Top Forums > High Level Programming
Google UNIX.COM


High Level Programming Post questions about C, C++, Java, SQL, and other programming languages here.

More UNIX and Linux Forum Topics You Might Find Helpful
Thread Thread Starter Forum Replies Last Post
Developing Smart Web UIs with Ajax, JSF, and ADF Faces iBot Oracle Updates (RSS) 0 04-06-2008 02:10 AM
Paylocity saves money developing on Linux iBot UNIX and Linux RSS News 0 03-03-2008 02:30 PM
Can you help me regarding developing script? vishalpatel03 Shell Programming and Scripting 2 12-09-2007 04:08 PM
Developing Open Source tools ennstate High Level Programming 3 03-29-2007 12:41 PM
Developing a new command line interface redirect UNIX for Advanced & Expert Users 2 08-27-2006 04:41 AM

Reply
 
Submit Tools LinkBack Thread Tools Search this Thread Display Modes
  #1  
Old 03-20-2008
Registered User
 

Join Date: Dec 2007
Location: TamilNadu,INDIA
Posts: 48
Help required in developing an Editor.

Hi,

I wish to develop a editor of my own. My idea is using
  • 100% C programming
  • Linked list as the Data structure
  • GNU/Linux as the compiling environment
  • ncurses utility for screen

Many of might have wrote a editor in your college itself as a project. But I am from non IT background. But anyways, I wish to develop an editor of my own now.

Please give your valuable inputs and ideas for me in developing editor.
Also f you have any online link/material which helps me developing, please suggest that.

Thanks,
Ramkrix
Reply With Quote
Forum Sponsor
  #2  
Old 03-25-2008
Registered User
 

Join Date: Feb 2005
Posts: 53
I would suggest starting with simplified code/data for
keeping text in memory. Maybe fixed array (requiring plenty of copying when inserting/deleting characters) or linked list
of buffers with pointers to previous and next lines.

Think of proper interface to this, suitable for further changing
to more efficient method.

Fortunately, with curses and fixed font width this is major
part of the program.
In my opinion the text editor can be a challenging project.
Situation gets even more complicated with X11 and proportional font handling.

If you like to see some code, I can suggest reading
sources of 'text' widget from Tcl/Tk library. This is quite clean code so maybe it could be useful.

Good luck.
Reply With Quote
  #3  
Old 03-25-2008
era era is offline
Herder of Useless Cats
 

Join Date: Mar 2008
Location: /there/is/only/bin/sh
Posts: 3,650
The Craft of Text Editing
Reply With Quote
  #4  
Old 03-25-2008
Registered User
 

Join Date: Dec 2007
Location: TamilNadu,INDIA
Posts: 48
Smile

Thanks guys for your Reply and the link

Regards,
Ramkrix
Reply With Quote
Google The UNIX and Linux Forums
Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes




All times are GMT -7. The time now is 12:31 PM.


Powered by: vBulletin, Copyright ©2000 - 2006, Jelsoft Enterprises Limited.
The UNIX and Linux Forums Content Copyright ©1993-2008. All Rights Reserved.Ad Management by RedTyger Visit The Complex Event Processing Blog

Content Relevant URLs by vBSEO 3.2.0