View Full Version : Ped 2.0RC1 - Text editor [Python]



--{N_P}--
13th October 2007, 09:21
Ped is another text editor written in Python for S60.
It may be used to edit any text file but was created mainly to
write/edit Python scripts on the phone so it has some tools
that make this task a bit easier.
Develop by Arkadiusz Wahlig

Ok, I know I've been very quiet lately but I'm happy to
announce that new Ped release is comming.

It will be a straight jump to 2.00 version. This is
because most of the code was redesigned and reimplemented.
Almost all features known from 1.xx will be implemented.
There will be some new ones too:

* the philosophy of the app was changed a bit, now it features
only one interactive console which acts as a central place to
dump the output of executed scripts to and to debug them -
very much like with IDLE (the IDE included with Python for computers),
* the new console is called a 'Python Shell' now and tries to mimic
the way the shell in IDLE works; this means for example that it nicely
supports multiline statements, so if you enter a whole 'if' or 'while' block
in the console, it will store it in the history and let you easily recall it,
change it and execute it again,
* the namespace of an executed script is available in the shell after
the execution allowing to do some debugging stuff,
* the autocomplete feature is no longer based on a static text file; instead,
it is dynamic and works almost the same way as autocomplete in IDLE,
* the user interface features a shortcut function; pressing (and releasing)
the green key (EKeyYes) enters the shortcut mode for 1,5 seconds;
if another key is pressed during this time, a special function assigned
to this key will be called; for example, switching between opened
documents is done by pressing the green key twice (green+green);
other shortcuts include the autocomplete feature (green+select key),
code browser (green+0), and many more,
* pressing green key + 5 while entering function arguments, causes
a so called 'call tip' to pop up; call tip gives some information about
the format of arguments accepted by the function and its docstring
(if available); the call tip is generated dynamicaly
(this feature is also based on IDLE),
* 'find all'-function which displays a list of all occurences of a given
string in the document; the list includes line number, column number
and the beginning of the line contents,
* autosave feature (automaticaly saves opened files every x
seconds where x can be set),
* session feature (files are reopened after a crash).

Main features:

multi document interface,
file browser to open files at any location,
easy editing of plain text files and Python scripts,
smart auto indentation in Python scripts
(press joystick to insert a new line character, apropriate
indentation will be added automaticaly),
module level auto complete feature
(press joystick after you enter module name and "." character,
a list of module functions/variables/constants will be displayed),
class "self." auto complete feature (methods only)
(press joystick after you enter "self." in your class's method,
a list of methods will be displayed),
popup with frequently used symbols in Python
(prexx "0" key three times),
easy execution of Python scripts,
catches errors and moves to apropriate place in source,
Python functions/methods browser,
built-in interactive Python console (more than one at once possible),
find text functionality,
selectable font and color (PyS60 1.3.23+ required).

himandrake
13th October 2007, 10:00
thanks naughtypope cool app nice share ;)

mrmotinjo
13th October 2007, 12:25
i'll actually start learning python now :)
thanx for this useful app !

IOJI
13th October 2007, 23:16
Usefull share NPope, thanx !