Category Archives: Uncategorized

Deditor 0.4.0

Hey I released a new version of my python-focused text-editor.
you can download it as usual at http://launchpad.net/deditor

(ppa will arive somewhere these days :p)

What is Deditor (for those who don’t know)?
Deditor is aimed to be a text-editor which can be used as a basic text-editor as gedit or with the right plugins become a full-feature ide.
I focus on making it a python specific editor but you can use it to edit other files as well.
It is python specific because the plugin system that is used (DPlug) is written in python and thus all plugins are written in python. Also some of the plugins there is one plugin that comes bundled with deditor that adds some python specific features like code-analyzing, code-inspection, auto-completion etc.

So plugins are the main core of the program you can disable and enable plugins at your will. The plugins that come bundled are made to increase the joy of programming.

NOTICE that this I don’t regard this as a stable product yet. There is no high risk in data loss and there are definitely no privacy concerns but you should still be aware that there are bugs/malfunctions and that you will encounter them.

I hope some of you like it and if you don’t try to give some constructive criticism 🙂

CHANGES

– Large under the hood changes regarding DPlug
– Rewritten Tab-system
– Improved customize plugin
– Various fixes (see CHANGELOG for more details)

Also the docs have been updated! see them at http://kruptein.alwaysdata.net/docs/
(notice that they are still not finished :3)

Advertisements

DBug: Social Developing

No Deditor news this time but some insight in a new project I’m developing called DBug.

DBug is the launchpad/github/… for rather unkown developers.  It is rather difficult to sell your product to people if you are unknown in the developing business and dbug tries to fix this.  The goal is to help these developers with ideas, bug hunting, bug fixing, publicity and other stuff that the developer still needs to make his project huge ;p

The project is still in its early faze but I might release an open/closed alpha somewhere soon.  You can take a sneak peak to the layout here: http://student.kuleuven.be/~r0304677/root/   note: this is rather old and thus not the current design  note2: dbug uses html5


Deditor 0.3.1 Out

Deditor 0.3.1 has been released (ppa still building atm)
So what’s new?
– Network Plugin updated

Bugfixes:
– Save-as bug

What? is that everything?? Yes ..
but the network plugin is not –just– updated it is UPDATED it is totally rewritten and is converted from a rather annoying plugin to a very usefull plugin.

The network plugin works now different as it used too, now a project is defined as a set of files which don’t need to be all open  at the same time.   You can now work at multiple projects at the same time because a project is just opened in a tab instead of using whole the ui.  exporting and importing are now more consistent and working with projects just got fun 🙂

it took a while because
a) I haven’t done a lot of coding because natty scrollbars were bugging me
b) I had to find a way to easily manage the tabs within a project and the global tabs for regular files without weird things happening.

Future of Deditor

– 0.3.2 will focus on the Network Plugin and do the same as the Project Plugin, I will also try to improve the codecompletion plugin.
– a Guide to Deditor for beginners and a Developers Guide for Deditor will be written with youtube/vimeo uploads.

Please spread the word 😉
(and show me how/where you did it!)


SwapIt & SwapInd PPA!

Hey I’m back with a new small app called SwapIt, it’s a simple commandline background switcher for linux.
I also made an application indicator to have a gui frontend for SwapIt

both are available to download from my ppa:

installing:
sudo add-apt-repository ppa:darragh-ssa/swapind
sudo apt-get update
sudo apt-get install swapit swapind

start by running the command ‘swapind’ (a menu item will be added in next version)


Deditor 0.2.5 Released

After some pause in the development of deditor, I’m proud to release a new version of the text-editor 0.2.5

Deditor 0.2.5 has some new graphical changes, like the configuration panel, the project and the network plugin.

As it is a long time ago since version 0.2.4.3 it is possible that I forget some things. but here is a short list of new things.

Changes

*functionality improvements
– commandbar now has an autocomplete system to quickly enter commands
– 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)

*graphical changes
– choice between multiple designs (see below)
– FindBar moved to bottom between notebook and shell
– Made searchbar better by replacing textbuttons with icons
– Configuration Panel totally redesigned
– When You add a new project you get a large notebook page now 😉
– Networking has been rewritten to use a notebook page and better download/upload visualisation

*advanced
– new Emacs Plugin (replaces macro plugin)(see below)

*not so special
– You will be notified when you close a file that has unsaved changes
– added save-as support (from the menu and also when you save a non-existing file)
– Visual sign that file has unsaved changes

Bugfixes

-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.
NOTE 1: I have never used emacs myself so lot’s of features etc are missing, if you want to help contact me 😉
NOTE 2: A vim plugin might come in the future

Designs

Where as the name sounds very exciting is isn’t at all :p you can now choose between two “designs” the minimal design is what you’re used to work with and the extended design adds some buttons for those that aren’t fond of using keybindings that often.

Commands (from deditor, not from plugins)

quit: close deditor
open: show the open dialog
open /home/…/file.py: 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/…/file.py: 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

Search

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

I have to say that some ideas came from someone who helped me a lot with giving feedback and searching for bugs. Thanks Manuel 😉

DOWNLOAD: http://launchpad.net/deditor/+download


Snippyts, Analyzing and Inspecting

I added snippyts to deditor to improve python support  these snippyts are small fixes/improvements to fasten your development.
Current snippyts:
-Hide __x__ elements from inspect    (e.g. __name__, …)
-If you open a .pyc file, close it and open the according .py file
-AutoIndent after a “:” when you typed: class/def/if/elif/else/while/for

And also some rewrite options which give you the power to fast write a basic structure:
( Input > Output   ;   I == cursor )

testdef  >   def test(I

plaindef  >  def I():\n     (4 spaces)

testselfe  >  def test(self, I       (e for extra)

testselfn > def test(self):\n    (4 spaces)      (n for newline)

shebang  > #!/usr/bin/env python

Also the Analyze feature has been recoded (and fixed as it was broken since version 0.2.4)
For Analyzing deditor uses pylint and adds a marker to each line which contains an error

Also The Inspect system has been redone as it was very bad done :p
It now borrowed some features from the CodeCompletion Plugin


Deditor 0.2.4.1

this is an update 0.2.4.1 to the original 0.2.4 version.

There will be a lot of such updates as 0.2.5 will only appear once every plugin in 0.2.4 is finished and stable and once there is the need for new functionality not provided by third-partie plugins.  0.2.4.X will thus be most of the time bugfixes and code enhancements to the original 0.2.4 source code.

New In 0.2.4.1 :

– Customization enhancements:  specify font and size seperate from theme.
– CodeCompletion enhancements:  solved some issues making writing a dot impossible.
– Fixed bug in deditor.py related to keybindings which prevents the raise of a PyDeadObjectError
– Refixed command line file passing.

I’m also going to screencast a new video with sound that will detail everything about deditor, including the last changes.