* grep -r TODO

* Find & replace dialogs should be resizeable horizontally but
  not vertically.

* Add "Revert with encoding..." menu item.

* Selection of encoding in file dialogs?
  (See also below about file dialog on WIndows.)

* Fill find/replace dialogs entries from the old values and/or selected text.
  Also drop-down lists.

* Should we have a server for several windows/instances to be synchronized?

* Watching upon the file edited if supported by OS.

* Registering text/plain MIME type in /etc/mime-magic

* Gnome UI guidelines say no titles for alert windows.

* Quick switching between proportional/monospace font

* Check for file on disk modification time changed. Something about file locking.

* In pref dlg: set space between paragraphs (when in text wrap mode).

* Regexp find/replace (consider gnome-regex).

* Optionally remember cursor position.

* I've got a rather messy source. Clean it!

* Calculate font height at idle time as it may cause a second delay
  (used for Ctrl+Up/Down keys).

* Inserting current date/time (with dialog to choose format).

* --encoding (-e), --readonly (-r), --wrap (-w)
  cmd line options

* When switching beetween LF/CRLF also should change format in-buffer for
  more correct cut & paste.

* autoconf messages.

* filesize and cursor position in bytes in statusbar

* Preferences for moving cursor when scrolling by Ctrl+Up/Down.

* Autosave every N minutes (optionally) with backing file up somewhere.

* Disable 'Find next' menu and toolbar items (and buttons in dialogs)
  before first search.

* Running text through a command filter (selection or all text)

* Preference whether closing an XML tag to leave cursor before the inserted
  closing tag (vs to move it after the tag).

* A mean to invoke tools (like "make") from the editor.
  Desirable clicking by errors to jump to the line.

* Does it compare differently represented Unicode strings correstly
  (e.g. accented character vs. accent+character)? How to change file
  before saving such stuff?

* XML/HTML syntax highlighting at least.

* Multiple documents like gedit (Well, Gnome interface guidelines don't
recommend this).

* Color preferences. Optionally changing color of the line with cursor.

* Sophisticated tab/spaces handling.

* Remember windows positions.

* Help

* Printing

* Spell checking (including spell checking of XML/HTML).

* Need to be more careful about e.g. "#ifdef G_OS_WIN32" to be sure that apporpriate
  header defining macros is included before "#ifdef" (and not error prone to mess).

* Localization

* "-" at command line to mean stdin.

* Use registry on Windows for config? Gnome-config.

* Make filename in statusbar D&D draggable?

* Macintosh line ends.
  Autodetect Unix/Windows/Macintosh line ends.
  Autodetect encoding (with priority list specified by user),
  also use <?xml version="1.0" encoding="utf-8"?> stuff.

* Undo of several characters typed by user at once.

* Emacs etc. like Transpose (Ctrl+T) of two characters.

* Main text of alerts should be bold, also consider additional
  text. (See Gnome guidelines.) <span weight="bold" size="larger">

* "Set Encoding" should check that text can be encoded in this encoding.

* "Yes" should be at the right of Cancel in confirm saving dialog.
  Also more detailed button names than Yes/No.
  Should be OK (not Close) button for error dialogs.
  Should be warning (not question) icon in confirmation dialogs.
  See details on confirmation dialogs in Gnome HIG.

* "Sa_ve a Copy" and "_Rename" menu items.

* "Insert/Symbol..." item.

* Bookmarks.

* Hidding and customizing toolbar.

* "Do not make Cancel the default button instead. See the section
  called Default Buttons for more information."

* Saving menu key binding set by user.

* Gnome guidelines request Ctrl+G to repeat search, but I
  want also to leave F3 (to be like Windows Notepad).

* Also synchronize preferences of several program instances.

* "XML Close" should also close XML comments.

* Main source should be in a separate src/ subdir.
  Build iniparser as .a library.

* SDI/MDI classes extending/aggregating FileDocument

* Possibility of special characters (such as '\n') in file names (in file menu history)

* Clickable URLs/emails in about box (for Gnome version at least).
  Donation request in about box.

* Configurable length of files history.

* Underline URLs in text and somehow call gnome_url_show(), also on Windows.

* "Revert" should restore line position. (It may set the line number which
  is the same percent of the line count as was before reverting.)

* Set in encoding dialog the current encoding by default.

* Autocompletion based on other words in the same text. Should it popup
  the list of completions or insert the highlighted end?

* Several profiles with different settings.

* "Auto try" all encodings and leave only possible variants
  (these which are not unencodable).

* Cancel of encoding with cmd line opening a file should exit the app.
