Skip to content
/ C-edit Public
forked from velorek1/c-edit

A text editor in C with drop down menus from scratch. No ncurses.

Notifications You must be signed in to change notification settings

rchappa/C-edit

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

173 Commits
 
 
 
 
 
 

Repository files navigation

C-EDIT Project in C language

C-EDIT for linux - IN PROGRESS - A linux text editor in the style of the MSDOS EDIT - NO NCURSES

  • WARNING: DO NOT EDIT YOUR PRECIOUS FILES WITH THIS EDITOR!!

:WEB: C-Edit Project Website

TO INSTALL:

* Download or clone repository.
* Type "cd src", "make" and "./cedit" to execute.

So far I have implemented:

  • A very simple Double Screen Buffer with a simple linked list in memory for greater display control.
  • Rudimentary Text User Interface with Windows, Textbox, Keyboard handling, Color schemes, etc.
  • Automatic display resizing.
  • Open file dialog with a Listbox and SCROLL capabilities to navigate and find the file to open.
  • Rudimentary Edit buffer with vertical scroll.

Files in /src/:

  • c_cool.c -> code for the library that handles output with Ansi Functions and kbhit() in linux console (with its header file)
  • list_choice.c -> code for the circular linked list responsible for handling menus
  • screen_buffer.c -> code for controlling display with a double screen buffer (with its header file)
  • keyboard.c -> module to control keyboard input.
  • opfile_dialog.c -> module that list files with scroll capabilities to select the file to open.
  • user_inter.c -> module with user interface widgets: alert windows, confirmation windows, textbox, etc.
  • cedit.c -> Editor in C in the style of MSDOS EDIT (In progress).

As a screen buffer I have implemented a dynamic structure in memory that allows to save the current screen so that you can display new things on top and then go back to the previous (saved) screen. (simple linked list)

Alt text Alt text

About

A text editor in C with drop down menus from scratch. No ncurses.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • C 99.7%
  • Makefile 0.3%