Gtkedit1 1.0 review

Download
by rbytes.net on

Gtkedit1 is a notepad clone based on GTK+. Gtkedit1 is a simple editor, written using the GTK+ 1.2 toolkit

License: MIT/X Consortium License
File size: 0K
Developer: Daniel Guerrero
0 stars award from rbytes.net

Gtkedit1 is a notepad clone based on GTK+.

Gtkedit1 is a simple editor, written using the GTK+ 1.2 toolkit. It aims to be (in that order) light, useful and simple (source code-wise).

Here are some key features of "Gtkedit1":
Binary weight less that 30 KB.
Takes less than half a second to start in the development machine.
Has nearly all the features of Windows 2000' Notepad (only printing and help are missing).
The C source code is a single file, about 1400 lines long. No need to use a configure script or even a makefile.

What? another editor? Don't we have enough of them already?

Well, yes, indeed. There are quite a lot of different - and not so different - editors one can download from the Internet. Anyway...

1. I wanted a simple project to try GUI programming in Unix.
2. I have an old machine (Pentium 166 MHz, 32 MB RAM) with Slackware Linux 9.0. 3. This machine runs Xfce 3.8, based on GTK+ 1.2.

There's no decent GUI editor for this machine. All are too slow, too bloated or too ugly.

OK, In fact I did found an editor that works fine. It's called gnotepad+, but it too takes too long to load (about 2 seconds) in this old machine. There's plenty of room for improvements here, I thought.

And so gtkedit begun. I only wanted the most basic editing features: cut, copy, paste, basic undo/redo... nothing fancy. The obvious model to copy was, of course, Notepad.

Usage:

gtkedit is very simple to use. It understands the basic common shortcut keys, like < Ctrl >C for copy. You will find them listed next to each menu item.

Very basic undo/redo capabilities are provided, because the editor can only undo the very last text insertion or removal.

You can find and replace text, and there is a menu option that will allow you to quickly go to any particular line, which is handy if one is writting a program and wants locate an error line.

Finally, you can change the font used for text display, or toggle the wrapping of long lines. These settings are lost when the program closes, though.

Requirements:
GTK+ version 1.2.x.

What's New in This Release:
The code has been internationalized with GNU gettext.
A buffer overflow in the URI parsing code has been fixed.

Gtkedit1 1.0 search tags