PyCrust working thread

Hi Adi,

thank you for your patches.
hopefully, I didn't made to much mistakes in merging.
Anyway, I was careful, and my head is spinning now :wink:

I'm glad that our collaboration is going on.

Last updates:

http://mitglied.lycos.de/drpython/pycrust-2005-07-31.zip
http://mitglied.lycos.de/drpython/pycrusttodo-2005-07-31.txt

- interesting: if no config file is present, the default file is saved.
    so if you update this pycrust version, the config file maybe is not consistent.
    please verify it (double entries could be).
    anyway there is the option: edit settings file now.
  * current sample pycrust_conf:
    [Window]
    PosX=98
    PosY=42
    Width=800
    Height=600
    [Sash]
    CrustPos=185
    FillingPos=202
    [Options]
    AutoSaveSettings=0
    AutoComplete=1
    AutoCompleteIncludeMagic=1
    AutoCompleteIncludeSingle=1
    AutoCompleteIncludeDouble=1
    AutoCallTip=1
    UseAntiAliasing=1
    SilentStartup=0
    ExecStartupScript=1
    [View]
    ShowLineNumbers=1
    WrapMode=0
- added option: show linenumbers.
    (reason: for me linenumbers are not important in pyrust)
- splitted LoadSettings to: LoadSettings, RunStartupFile, LoadHistory.
    (reason: 1.separate this more; 2. if you revert the settings, startup script was launched again)
- moved (show maximize, wrap lines and show linenumbers to the new "View" menu.
- grouped startup options into new SubMenu: Options => ('Startup')
- added option: silent execution of startup script.
    (reason: this could be annoying to view every time you start pycrust; the window is not so cluttered at startup)
- new startup option: execute startup script.
    (reason: if you don't want to execute the startup script and you don't want to delete the startup script file,
       this is convenient)
- renamed loadStartupFile to runStartupFile
- moved Settings stuff into own options submenu ('Settings')

Here are my next (not so big) plans (taken from pycrusttodo):

- Startup options: Show PyCrust Intro
  - show intro (with wxpython version)
- add hotkeys to remaining menu entries
- execute startup file now (menu startup)
- Calltips (submenu also automatic insert into command line: on/off; if '(' is typed in
- hotkeys f眉r new menu entries
- edit settings file (as in scite; simply open the settings file as the startup file)
- if no dirty flag (don't ask on close window, whether you want to save or not (startup and settings file))
- put 'Save history' into 'Settings'?
- examinate: is it really so good to eliminate shift-up/down. why was it removed?

Cheers,

路路路

On Sun, 31 Jul 2005 13:11:56 +0200, "Adi J. Sieker" <ml@adsworth.info> wrote:

Hi,

new updated PyCrust.
Changes are based of
http://mitglied.lycos.de/drpython/pycrust-2005-07-29.zip.
[...]

--
Franz Steinhaeusler

Hi,

new updated PyCrust.
Changes are based of
http://mitglied.lycos.de/drpython/pycrust-2005-07-29.zip.
[...]

Hi Adi,

thank you for your patches.
hopefully, I didn't made to much mistakes in merging.
Anyway, I was careful, and my head is spinning now :wink:

:slight_smile:

Maybe we should setup a little subversion server while Robin doesn't merge our changes into

I'm glad that our collaboration is going on.

:slight_smile:

- interesting: if no config file is present, the default file is saved.
    so if you update this pycrust version, the config file maybe is not consistent.
    please verify it (double entries could be).
    anyway there is the option: edit settings file now.
  * current sample pycrust_conf:
    [Window]
    PosX=98
    PosY=42
    Width=800
    Height=600
    [Sash]
    CrustPos=185
    FillingPos=202
    [Options]
    AutoSaveSettings=0
    AutoComplete=1
    AutoCompleteIncludeMagic=1
    AutoCompleteIncludeSingle=1
    AutoCompleteIncludeDouble=1
    AutoCallTip=1
    UseAntiAliasing=1
    SilentStartup=0
    ExecStartupScript=1
    [View]
    ShowLineNumbers=1
    WrapMode=0

In you config the AutoSavesettingsis set to 0 so the config isn'T saved.
You have to explicitly call Settings/Save Config
I had this problem aswell. :slight_smile:

- added option: show linenumbers.
    (reason: for me linenumbers are not important in pyrust)
- splitted LoadSettings to: LoadSettings, RunStartupFile, LoadHistory.
    (reason: 1.separate this more; 2. if you revert the settings, startup script was launched again)
- moved (show maximize, wrap lines and show linenumbers to the new "View" menu.
- grouped startup options into new SubMenu: Options => ('Startup')
- added option: silent execution of startup script.
    (reason: this could be annoying to view every time you start pycrust; the window is not so cluttered at startup)
- new startup option: execute startup script.
    (reason: if you don't want to execute the startup script and you don't want to delete the startup script file,
       this is convenient)
- renamed loadStartupFile to runStartupFile
- moved Settings stuff into own options submenu ('Settings')

Nice changes. Cleaning up is always a good idea. :slight_smile:

Here are my next (not so big) plans (taken from pycrusttodo):

- Startup options: Show PyCrust Intro
  - show intro (with wxpython version)
- add hotkeys to remaining menu entries
- execute startup file now (menu startup)
- Calltips (submenu also automatic insert into command line: on/off; if '(' is typed in
- hotkeys f眉r new menu entries
- edit settings file (as in scite; simply open the settings file as the startup file)
- if no dirty flag (don't ask on close window, whether you want to save or not (startup and settings file))
- put 'Save history' into 'Settings'?
- examinate: is it really so good to eliminate shift-up/down. why was it removed?

Shift+UP/DOWN would show the last/previous history item an select the whole text.
I don't think that that is used to often and if you do need it CTRL+UP/DOWN plus a Shift+POS1
will do the same.

adi

路路路

Am Sun, 31 Jul 2005 20:40:11 +0200 schrieb Franz Steinh盲usler <franz.steinhaeusler@gmx.at>:

On Sun, 31 Jul 2005 13:11:56 +0200, "Adi J. Sieker" <ml@adsworth.info> > wrote: