MrSpock:
--------------------------------------------------------------------------------
Bialix, unrelated somehow: Could you upload some good examples of useful python
scripts to the [url=http://www.pspad.com/en/pspad-extensions.php]extension
section[/url] when you're done?
This way, others can learn too.
--------------------------------------------------------------------------------


Sorry. I just ran into serious bug with Python script support
(http://forum.pspad.com/read.php?4,43403), and I don't think I want to continue
my scripting of PSPad until this bug will be fixed. 

Actually I looking for some editor with ability to write plugins in Python. And
PSPad seems promising at first look.

Unfortunately, PSPad does not support writing plugins in Python -- only writing
scripts. And this is not the same thing. Scripts have very limiting capability,
and available API actually provide the way to duplicate PSPad user interface
(actions, editor commands etc.) -- but this all is about interactive user
interface.

The real scripting should allow code to perform actions on editor internals
without user intervention (e.g. for selecting filename to open/save file or
project). I'm sorry to say it, but PSPad script support is too small to write
something useful. (I'm thinking about adding support for Bazaar VCS, or editing
files via SFTP -- one of the feature people want too much).

I rate very highly all efforts Jan Fiala puts into this editors and keep it
freeware, but in the current state it's just does not match my expectation for
writing python plugins. And I wish good luck to this project. I'll try to keep
my eye on the future evolution of it.

-- 
<http://forum.pspad.com/read.php?2,43366,43404>
PSPad freeware editor http://www.pspad.com

Odpovedet emailem