Monthly Archives: February 2011

Announcing Deditor 0.2.5

Deditor 0.2.5 will be the next big release, it will take some time before it is finished and there will be added a lot after this post,  this is just an overview of what already has been accomplished


– You will be notified when you close a file that has unsaved changes
– Macro plugin gone and replaced by new Emacs Plugin (see below)
– choice between multiple designs (see below)
– commandbar now has an autocomplete system to quickly enter commands
– added save-as support  (from the menu and also when you save a non-existing file)
– Visual sign that file has unsaved changes
– FindBar moved to bottom between notebook and shell
– when saving a python file,  pyflakes will be ran in the background on the file and every line in your code that has an error will be marked in the sideline
– Added 10 commands (see below)
– Improved search system (see below)
– Made searchbar better by replacing textbuttons with icons


-customize font/size save now works
-fixed IndexError when closing the only file
-autoindentation for all files by default  (previously it was python-only O_o)
-ctrl+f now also hides findbar if already open
-removed unused imports
-saving to unexisting dir, will create the dir first
-removed not-used variables and print statements
-opening a non-existing file results in creating the file and open it


Emacs Plugin

Once activated this plugin overrides every assigned keybinding with the typical emacs keybindings,  both commandline as keybinding are supported.


You now have the option to choose between two design themes: minimal or extended.  minimal is the way you’re used to work,  extended currently only adds some buttons next to the commandbar to quickly open/save files.   More changes and design options might come.

Commands  (from deditor, not from plugins)

quit: close deditor
open:  show the open dialog
open /home/…/   open the file on the path specified
close: close the current tab
close 3: close tab number 3  Warning: tab numbers internally are different as the way they are ordered in the gui
new:  create a new file
new /home/…/  create the file at the specified path and open it
config:   show the configuration panel
config show:  show the configuration panel
config hide:  hide the configuration panel
shell: show the python shell
shell show: show the python shell
shell hide:  hide the python shell
version:  shows a dialog with the version of deditor
update:   tries to update deditor if possible
find:  show/hide the findbar
find this:  show the findbar and look for “this”
syntax python:  changes the syntax of the current file to “python”
size 500×600: sizes deditor to 500 width and 600 height,  this is saved to the configuration and will be used on startup


Now backwards search actually works :p,  you can also specify which kind of search you want:  normal,  matchcase, startword, wholeword or regex!   The searchbar also moved down to sit between the notebook and the shell,  this is much nicer (thanks to Manuel) also the searchbar got a new look,  no more textbuttons,  but a large searchfield and 3 icons,  an up arrow, down arrow and close icon


Also all the 0.2.4.x bugfix releases are included, these covered also some very important new additions being the most important

– CodeCompletion working much better and always showing the dot
– Update system should work
-AttributeError: ‘KeyEvent’ has no ‘Veto’ attribute fixed!
-Made CodeCompletion only work on python_file() == True
-Fixed projectslist empty after closing project
-Fixed CSDialog, call CSDialog.GetValue() (or GetReturnCode()) to alternate between True/False