|Submitted: Apr 11 2013|
Updated: Nov 25 2015
Homepage and download links have changed owing to my website host going tits up and down and up and down ...!
Development version is now available on Github:
git clone https://github.com/KeithDHedger/KKEdit.git
Please see the BUGS-ETC file for instructions on reporting bugs etc.
Bugs reported on these boards or sent as PM's will be ignored.
New Plugin Page ( Available from the 'Help' menu ) :
Current plugins are:
Open URI -- NEW
Edit Remote File ( via SSH )
!!! IMPORTANT !!!
Plugin system has changed, if you have made a plugin see the example that is included, you WILL need to recompile your plugin.
Please see the in built help for details on how to interact with created documentation.
Doxygen support is still being added to, so requests and/or bugs will be appreciated, if you don't have doxygen installed you won't see the menu entry in 'Files'
I recommend installing Graphiz as well as Doxygen ( for the nice fancy graphics )
Also please check the built in help and the preferences after installing as some things may have changed.
!!! IMPORTANT !!!
Why another text editor?
Simple, I didn't like any of the others, anyway having used gedit for years it was getting increasingly difficult to keep it compiling without loads of gnome dependencies, looking around linux text editors seem to be VERY simple (leafpad) stupidly complex (GVim,Bluefish), trying to be all things to all people.
One of the best text editors I have used is BBEdit but that is only available on the mac, so I bit the bullet and decided to write my own with the best bits from BBEdit ( the name KKEdit is a tip of the hat to BBEdit ), gedit and leafpad. A simple uncluttered interface, no major dependencies, with just the features I use all the time, and TA DAH! KKEdit.
Some of the features:
Jump to function declaration.
Find Function declaration.
Find and open include file.
Run external tools.
Run external tool synchronously or asynchronously.
Pass selected text to external tools.
Find API declarations in installed Gtk-Doc's.
Full source code highlighted printing
+ The usual source view options, line wrap, line numbers etc.
!!! NEW !!!
Can now jump to line when opening file by add @LINENUM to end of filename eg:
!!! NEW !!!
Select a tab from the edit menu.
Open file from tab menu opens in adjacent tab.
Can now set max number of characters displayed in menus/bookmarks/popups etc, no more really long tabs!
Replace All now works on just the selected text, or the whole document.
Plugins can now be forced to add their main menus to a single global menu.
Massive speed increase in replace all.
Added colour button to prefs instead of having to use hex number.
Find/Replace now remembers the history ( amount remembered can be set in prefs ).
Find/Replace drop downs/entry boxes now combined into entry combo box.
Added standard command line options.
French translation added to KKEdit and plugins, big thanks to Thanh for that, ( french users send him a thank you email via the about box ).
Added code completion.
Can now turn off syntax highlighting.
Remembers size and position of inbuilt doc viewer
Can turn off checking for updates in prefs.
New add to custom wordlist in right click popup menu.
More accurate find definition search.
Completely redone prefs dialog.
New example plugin.
Boxes at the sides, top and bottom are now available for plugin use to add extra GUI items as well as menus.
Plugins can now use the external tool output pane to display info.
Plugin's can now be enabled and disabled without a restart.
New plugin page available see 'Get Plugins' from the 'Help' menu.
Now supports 'c' plugins.
Example plugin installed to /usr/share/KKEDit/plugins.
See the example plugin for details.
Added 'Highlight All' to find/Replace, highlights all matches until document is edited or you switch tabs.
Added 'Show/Hide Docviewer' to view menu.
Can now set a default graphical su at compile time ( can be over-ridden in prefs ).
'Back' is now global in scope and will switch between tabs.
Added preliminary support for doxygen.
Find definition is now MUCH better at finding a match.
Added status bar.
Added customizable keyboard shortcuts to main window and to external tools.
Can optionally open link to file like normal OR open from the real path.
New tab menu option 'Open' to quickly open other files in the same directory.
Find/Replace history drop downs.
User definable command for getting root privileges.
New 'Run As Root' option for external tools.
Switch to tab rather than open duplicate file (optional).
Silence 'File Changed' warnings (optional).
Added 'Back' button, back is individual to each page and only one level of back is available ( this may change ).
Aded 'Undo All' and 'Redo All' to Edit menu.
Added 'Copy Folder Path' to tab popup.
Added 'Clear tool output window' to external tools, allows for clearing the window before running the tool.
Added the source highlight type to the vars passed to an external script, and a new place holder.
Function list can now be sorted and categorized.
External tool list is now sorted.
New 'View Output' option for external tools to view the output of external tools in a at at the bottom of the editor.
You can now remove ALL bookmarks in one go.
Added a red warning style when running the editor as root ( if no style has been set ), just as a reminder.
Configurable toolbar - Add remove buttons, rearrange button order .
Added 'expander' to toolbar.
New View menu to toggle visibility of bookmark bar and toolbar.
Visibility of toolbar/bookmark bar carried over between sessions.
Comments now allowed in external tools.
Comments in external tools now show as tooltips.
Included new styles and a new external tool.
Bookmarks now toggled rather than added.
Added 'Toggle Bookmark' to context menu.
Can now change bookmark highlight colour.
Added bookmark icon.
Added a bookmark bar.
Added plea for money.
Please note old saved sessions are not compatible with the new version.
Added "Theme" to prefs.
You can now set the theme of the code to any standard gktsourceview style theme.
Added (optional) spell checking via aspell.
Check selected word or check document via tab menu.
configure with ./autogen.sh --enable-aspell
A deb package is available here:
Thanks to Sadi for supplying that, any query's about the package straight to him please.
Here is an ebuild for Gentoo users:
Thanks to Giorgianni giacomo for supplying that, any query's about the package straight to him please.
Replaced simple font name and size entry box in prefs with font select button.
Example tools now use relative paths.
External tools can now use relative paths to command script.
Standard text search OR regex search.
Opening non utf8 files now MUCH better.
Replace unprintable characters with "" allows opening SOME files containing binary data ( see the README file ).
Search and replace now uses simple regex expressions in both the search and replace text box's.
At the moment you can't use regex when finding backwards ( this may change ).
If manpageeditor is installed adds menu entry to launch it.
Added 'Always Show In Popup Menu' to external tools ( no selection needed ).
Redone some installed tools and example tools.
Can now use ./configure instead of autotools.
Added syntax highlighting drop down.
Add install instructions for debian/fedora users including dependencies, these users should read the 'INSTALL' file first.
Added 'New Editor' to file menu.
Added 'New Admin Editor' to file menu.
Gtksu recommended available here:
Now allows use of pipes in external tool commands.
Added command line switch (-m) to start new instance.
Added drag 'n' drop of files onto main text window to insert dropped file.
Added d'n'd selected text from other apps.
Can now hide show the entry boxes on the toolbar.
Added 'Live' search to toolbar just start typing to find, hit enter to jump to next or shift (on it's own) to jump to previous.
Bug reports and suggestions are welcome please see the about box for contact details and email me direct.
Webkit is now an optional dependency.
It is used to show the Gtk Doc API references if installed, else your default webbrowser will be used.
Started on remote control using "kkedit @@Xddd" where X=G - goto line, X=S - search for define, and ddd is data ( line number search string.
Standardized source file copyright/licence headers.
Fixed undo/redo all.
Fixed regex anchors not always working for replace all.
Corrected icon entry in desktop files.
Updated 'Comment Selection' example tool to include commenting - sh, Python, Makefile, .desktop, Perl, C++, C, Objective-C, C/C++/ObjC Header, Java, Pascal, HTML.
Updated open file with line number to scroll to line num immediately.
Added optional switching to line number when opening file using /path/to/file@LINENUM.
Minor doxy documentation fix.
Fixed changed callback definition when closing.
Fixed toolbar button setsensitive on startup.
More tweaks for'Search For Define'.
Added email address to copyright notice in about box.
Updated about box web site link.
Tweaked 'Search For Define' to check for partial name.
Multiple hits now shown in Doxygen documentation.
Find in Doxygen documentation now MUCH faster.
Added seperators into 'View' menu.
Added toggle line nubers to 'View' menu.
Added toggle wrap lines to 'View' menu.
Added toggle higlight current line to 'View' menu.
Added toggle syntax highlight to 'View' menu.
Added toggle auto show completions to 'View' menu.
Fixed regex search missing first search term if it begins at the cursor position.
See Changelog file for complete details.